mirror of
https://github.com/andvikt/mega_hacs.git
synced 2025-12-10 16:44:28 +05:00
18 lines
443 B
Python
18 lines
443 B
Python
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."""
|