16 lines
409 B
Python
16 lines
409 B
Python
"""Shared exceptions 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."""
|