16 lines
409 B
Python
16 lines
409 B
Python
|
"""Shared excecption for the august integration."""
|
||
|
|
||
|
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."""
|