Provide user consumable errors when lock operations fail (#31864)
* Provide user consumable errors when lock operations fail This resolves issue #26672 * include from in raise * pylint * Cleanup of mocking.
This commit is contained in:
parent
18dfb02355
commit
00ac7a7d70
9 changed files with 194 additions and 93 deletions
|
@ -56,7 +56,7 @@ async def _async_activity_time_based_state(data, doorbell, activity_types):
|
|||
return None
|
||||
|
||||
|
||||
# Sensor types: Name, device_class, async_state_provider
|
||||
# sensor_type: [name, device_class, async_state_provider]
|
||||
SENSOR_TYPES_DOOR = {"door_open": ["Open", "door", _async_retrieve_door_state]}
|
||||
|
||||
SENSOR_TYPES_DOORBELL = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue