mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 19:09:32 +00:00
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:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user