This updates the constants and supports a new button type meant for issuing the reset command inside of pywattbox.
I dusted off a wattbox and found that it was easier to control the reset case than it was the on/off case. If you couple this with some of the OutletModeSet commands you can ensure you have a reliable system. This does add a lot more entities as a result, I included a master reset as well. Since you can control the timing with OutletPowerOnDelaySet, I figured there was no point in modifying pywattbox yet.
Only noted errors were detected blocking call to import_module inside scrapli and the open in ctypes which are both fixable downstream in pywattbox. I fixed the others home assistant issues with this change.
This updates the constants and supports a new button type meant for issuing the reset command inside of pywattbox.
I dusted off a wattbox and found that it was easier to control the reset case than it was the on/off case. If you couple this with some of the OutletModeSet commands you can ensure you have a reliable system. This does add a lot more entities as a result, I included a master reset as well. Since you can control the timing with OutletPowerOnDelaySet, I figured there was no point in modifying pywattbox yet.
Only noted errors were
detected blocking call to import_module inside
scrapli and theopen
in ctypes which are both fixable downstream in pywattbox. I fixed the others home assistant issues with this change.