2020-08-08 12:41:02 +00:00
|
|
|
"""Shared exceptions for the august integration."""
|
2020-02-25 18:18:15 +00:00
|
|
|
|
|
|
|
from homeassistant import exceptions
|
|
|
|
|
|
|
|
|
|
|
|
class RequireValidation(exceptions.HomeAssistantError):
|
|
|
|
"""Error to indicate we require validation (2fa)."""
|
|
|
|
|
|
|
|
|
|
|
|
class CannotConnect(exceptions.HomeAssistantError):
|
|
|
|
"""Error to indicate we cannot connect."""
|
|
|
|
|
|
|
|
|
|
|
|
class InvalidAuth(exceptions.HomeAssistantError):
|
|
|
|
"""Error to indicate there is invalid auth."""
|