mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-21 23:04:55 +01:00
16 lines
380 B
Python
16 lines
380 B
Python
"""Device automation exceptions."""
|
|
|
|
from homeassistant.exceptions import HomeAssistantError
|
|
|
|
|
|
class InvalidDeviceAutomationConfig(HomeAssistantError):
|
|
"""When device automation config is invalid."""
|
|
|
|
|
|
class DeviceNotFound(HomeAssistantError):
|
|
"""When referenced device not found."""
|
|
|
|
|
|
class EntityNotFound(HomeAssistantError):
|
|
"""When referenced entity not found."""
|