20 void setup()
override;
std::string component_type() const override
"lock" component type.
Simple Helper struct used for Home Assistant MQTT send_discovery().
const EntityBase * get_entity() const override
void send_discovery(JsonObject root, mqtt::SendDiscoveryConfig &config) override
MQTTLockComponent(lock::Lock *a_lock)
bool send_initial_state() override
Implementation of SPI Controller mode.
void dump_config() override
Base class for all locks.
MQTTComponent is the base class for all components that interact with MQTT to expose certain function...