20 void setup()
override;
This class represents the communication layer between the front-end MQTT layer and the hardware outpu...
light::LightState * get_state() const
void dump_config() override
MQTTJSONLightComponent(light::LightState *state)
Simple Helper struct used for Home Assistant MQTT send_discovery().
light::LightState * state_
bool send_initial_state() override
const EntityBase * get_entity() const override
std::string component_type() const override
Implementation of SPI Controller mode.
void send_discovery(JsonObject root, mqtt::SendDiscoveryConfig &config) override
MQTTComponent is the base class for all components that interact with MQTT to expose certain function...