Catch device not found in device automations (#31401)
This commit is contained in:
parent
55aa341dab
commit
7127310f10
3 changed files with 45 additions and 1 deletions
|
@ -4,3 +4,7 @@ from homeassistant.exceptions import HomeAssistantError
|
|||
|
||||
class InvalidDeviceAutomationConfig(HomeAssistantError):
|
||||
"""When device automation config is invalid."""
|
||||
|
||||
|
||||
class DeviceNotFound(HomeAssistantError):
|
||||
"""When referenced device not found."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue