25 void setup()
override;
void dump_config() override
MQTTSelectComponent(select::Select *select)
Construct this MQTTSelectComponent instance with the provided friendly_name and select.
bool send_initial_state() override
Simple Helper struct used for Home Assistant MQTT send_discovery().
void send_discovery(JsonObject root, mqtt::SendDiscoveryConfig &config) override
void setup() override
Override setup.
Base-class for all selects.
Implementation of SPI Controller mode.
const EntityBase * get_entity() const override
std::string component_type() const override
Override for MQTTComponent, returns "select".
bool publish_state(const std::string &value)
MQTTComponent is the base class for all components that interact with MQTT to expose certain function...