16 static const char *
const TAG =
"status";
void publish_initial_state(bool state)
Publish the initial state, this will not make the callback manager send callbacks and is meant only f...
bool is_connected() const
bool is_connected()
Return whether the node is connected to the network (through wifi, eth, ...)
MQTTClientComponent * global_mqtt_client
void publish_state(bool state)
Publish a new state to the front-end.
void dump_config() override
Implementation of SPI Controller mode.
APIServer * global_api_server