Base class for all automation conditions.
void play(Ts... x) override
LockCondition(Lock *parent, bool state)
bool check(Ts... x) override
Base class for all locks.
void lock()
Turn this lock on.
void add_on_state_callback(std::function< void()> &&callback)
Set callback for state changes.
LockState state
The current reported state of the lock.
void unlock()
Turn this lock off.
void open()
Open (unlatch) this lock.
LockLockTrigger(Lock *a_lock)
LockUnlockTrigger(Lock *a_lock)
void play(Ts... x) override
void play(Ts... x) override
UnlockAction(Lock *a_lock)
Providing packet encoding functions for exchanging data with a remote host.