15#include "esphome/components/lock/lock.h"
16#include "esphome/core/component.h"
31 void setup()
override;
41 void control(
const lock::LockCall &call)
override;
Mixin holding the hub-device binding shared by all IO-Homecontrol entity platforms.
Lock entity for IO-Homecontrol lock devices.
void setup() override
Initialize the lock entity and register it with the shared hub.
void on_device_update_(const std::string &id, const IoDevice &dev)
Handle inbound device status updates.
float get_setup_priority() const override
Get setup priority (DATA).
void control(const lock::LockCall &call) override
Apply a Home Assistant lock control request.
void dump_config() override
Dump configuration to the log.
Runtime state of a paired IO‑Homecontrol device.