Just a heads up, if anyone is finding that you are going through batteries very rapidly with this switch using Home Assistant, you will need to remove and re-insert the batteries in every Sengled switch after a Home Assistant reboot to make the switches happy again, otherwise they drain their battery completely in less than a day.