bool is_connected() const
void publish_state(bool new_state)
Publish a new state to the front-end.
void publish_initial_state(bool new_state)
Publish the initial state, this will not make the callback manager send callbacks and is meant only f...
void dump_config() override
APIServer * global_api_server
MQTTClientComponent * global_mqtt_client
ESPHOME_ALWAYS_INLINE bool is_connected()
Return whether the node is connected to the network (through wifi, eth, ...)
ESPHOME_LOG_TAG(TAG, "status")