This commit is contained in:
Andrey
2020-12-28 22:23:56 +03:00
commit c4b597d019
19 changed files with 1444 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
from homeassistant import exceptions
class CannotConnect(exceptions.HomeAssistantError):
"""Error to indicate we cannot connect."""
class MqttNotConfigured(exceptions.HomeAssistantError):
"""Error to indicate mqtt is not configured"""
class DuplicateId(exceptions.HomeAssistantError):
"""Error to indicate duplicate id"""
class InvalidAuth(exceptions.HomeAssistantError):
"""Error to indicate there is invalid auth."""