I think that the stopOnDisconnect() function mentioned in the docs might accomplish this?
I ran into this when I ran the command, but the lights didn't turn off or anything. Not sure if this is expected behavior, but it's @ the very least not consistent with what the iOS seems to do.
I think that the
stopOnDisconnect()function mentioned in the docs might accomplish this?I ran into this when I ran the command, but the lights didn't turn off or anything. Not sure if this is expected behavior, but it's @ the very least not consistent with what the iOS seems to do.