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