Do not restore unavailable state for august locks (#44722)

This commit is contained in:
J. Nick Koston 2021-01-01 01:44:53 -10:00 committed by GitHub
parent 681f76b99d
commit 94825b3e15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 16 deletions

View file

@ -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
)