Do not clear problem state of sync on resync
This commit is contained in:
@@ -78,7 +78,7 @@ public:
|
||||
OnceCallbacks<void(DoorState)> on_door_state_;
|
||||
|
||||
single_observable<bool> synced { false };
|
||||
single_observable<bool> sync_failed { false };
|
||||
single_observable<optional<bool>> sync_failed { nullopt };
|
||||
|
||||
void set_output_gdo_pin(InternalGPIOPin* pin) { this->output_gdo_pin_ = pin; }
|
||||
void set_input_gdo_pin(InternalGPIOPin* pin) { this->input_gdo_pin_ = pin; }
|
||||
|
||||
Reference in New Issue
Block a user