13 void dump_config()
override { LOG_SWITCH(
"",
"Micronova switch",
this); }
Base class for all switches.
void set_memory_data_off(uint8_t f)
void set_memory_data_on(uint8_t f)
uint8_t get_memory_data_off()
bool get_stove_state() override
void dump_config() override
void write_state(bool state) override
MicroNovaSwitch(MicroNova *m)
void set_stove_state(bool v) override
uint8_t get_memory_data_on()
This is a workaround until we can figure out a way to get the tflite-micro idf component code availab...
void publish_state(bool state)
Publish a state to the front-end from the back-end.
bool state
The current reported state of the binary sensor.