Do not restore unavailable state for august locks (#44722)
This commit is contained in:
parent
681f76b99d
commit
94825b3e15
4 changed files with 16 additions and 16 deletions
|
@ -6,7 +6,6 @@ from homeassistant.const import (
|
|||
SERVICE_LOCK,
|
||||
SERVICE_UNLOCK,
|
||||
STATE_LOCKED,
|
||||
STATE_UNAVAILABLE,
|
||||
STATE_UNKNOWN,
|
||||
STATE_UNLOCKED,
|
||||
)
|
||||
|
@ -98,7 +97,7 @@ async def test_one_lock_operation(hass):
|
|||
assert lock_operator_sensor
|
||||
assert (
|
||||
hass.states.get("sensor.online_with_doorsense_name_operator").state
|
||||
== STATE_UNAVAILABLE
|
||||
== STATE_UNKNOWN
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue