When the device boots, do not report an "unknown" valve state. Instead, try to figure it out. For normally open and normally closed valves assume it's whatever the normal state of the valve is. For latching valves store the valve state in NVS, and load it on next boot.
When the device boots, do not report an "unknown" valve state. Instead, try to figure it out. For normally open and normally closed valves assume it's whatever the normal state of the valve is. For latching valves store the valve state in NVS, and load it on next boot.
Fixes #61