core/homeassistant/components/device_automation/exceptions.py

11 lines
291 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."""