20 void setup()
override;
MQTTComponent is the base class for all components that interact with MQTT to expose certain function...
MQTTUpdateComponent(update::UpdateEntity *update)
std::string component_type() const override
"update" component type.
void dump_config() override
void send_discovery(JsonObject root, mqtt::SendDiscoveryConfig &config) override
bool send_initial_state() override
update::UpdateEntity * update_
const EntityBase * get_entity() const override
Providing packet encoding functions for exchanging data with a remote host.
Simple Helper struct used for Home Assistant MQTT send_discovery().