konnected-io / konnected-esphome

ESPHome firmware configuration and recipes for Konnected devices
Other
49 stars 31 forks source link

Fix protocol not being saved when manually set. #54

Closed h2zero closed 1 month ago

h2zero commented 1 month ago

If the gdolib returns invalid state when setting the protocol manually the value was not being saved to NVS. This updates the state and saves the protocol value to NVS first and if gdolib returns invalid state it will restart.