18 void setup()
override;
void dump_config() override
MQTTValveComponent(valve::Valve *valve)
MQTT_COMPONENT_CUSTOM_TOPIC(position, command) MQTT_COMPONENT_CUSTOM_TOPIC(position
Simple Helper struct used for Home Assistant MQTT send_discovery().
state bool send_initial_state() override
const EntityBase * get_entity() const override
void send_discovery(JsonObject root, mqtt::SendDiscoveryConfig &config) override
Implementation of SPI Controller mode.
Base class for all valve devices.
std::string component_type() const override
MQTTComponent is the base class for all components that interact with MQTT to expose certain function...