2019-09-10 23:56:28 +00:00
|
|
|
"""Device automation exceptions."""
|
2024-03-08 13:15:26 +00:00
|
|
|
|
2019-09-10 23:56:28 +00:00
|
|
|
from homeassistant.exceptions import HomeAssistantError
|
|
|
|
|
|
|
|
|
|
|
|
class InvalidDeviceAutomationConfig(HomeAssistantError):
|
|
|
|
"""When device automation config is invalid."""
|
2020-02-02 15:13:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
class DeviceNotFound(HomeAssistantError):
|
|
|
|
"""When referenced device not found."""
|
2023-06-21 12:51:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
class EntityNotFound(HomeAssistantError):
|
|
|
|
"""When referenced entity not found."""
|