Home Assistant Unofficial Reference
2024.12.1
exceptions.py
Go to the documentation of this file.
1
"""Device automation exceptions."""
2
3
from
homeassistant.exceptions
import
HomeAssistantError
4
5
6
class
InvalidDeviceAutomationConfig
(
HomeAssistantError
):
7
"""When device automation config is invalid."""
8
9
10
class
DeviceNotFound
(
HomeAssistantError
):
11
"""When referenced device not found."""
12
13
14
class
EntityNotFound
(
HomeAssistantError
):
15
"""When referenced entity not found."""
homeassistant.components.device_automation.exceptions.DeviceNotFound
Definition:
exceptions.py:10
homeassistant.components.device_automation.exceptions.EntityNotFound
Definition:
exceptions.py:14
homeassistant.components.device_automation.exceptions.InvalidDeviceAutomationConfig
Definition:
exceptions.py:6
homeassistant.exceptions.HomeAssistantError
Definition:
exceptions.py:34
homeassistant.exceptions
Definition:
exceptions.py:1
core
homeassistant
components
device_automation
exceptions.py
Generated by
1.9.1