mirror of
https://github.com/ratgdo/esphome-ratgdo.git
synced 2025-02-09 01:04:30 +00:00
fix
This commit is contained in:
parent
f8262a0cfa
commit
8860cc28aa
@ -15,7 +15,8 @@ namespace ratgdo {
|
||||
|
||||
void RATGDOSwitch::on_lock_state(LockState state)
|
||||
{
|
||||
this->state(state == LockState::LOCK_STATE_LOCKED) this->publish_state();
|
||||
this->state(state == LockState::LOCK_STATE_LOCKED);
|
||||
this->publish_state();
|
||||
}
|
||||
void RATGDOSwitch::write_state(bool state)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user