I have two Nanit cameras set up and have found that the night light switches are not working correctly. Camera 1 night light switch would respond to MQTT message, while Camera 2 would not. I root caused it to be a bug in the code, where handler functions didn't receive the baby UID parameter, causing commands to be sent to the wrong camera or not routed properly.
EDIT: PR to fix this issue #33
I have two Nanit cameras set up and have found that the night light switches are not working correctly. Camera 1 night light switch would respond to MQTT message, while Camera 2 would not. I root caused it to be a bug in the code, where handler functions didn't receive the baby UID parameter, causing commands to be sent to the wrong camera or not routed properly.
EDIT: PR to fix this issue #33