1
mirror of https://github.com/home-assistant/core synced 2024-08-02 23:40:32 +02:00
ha-core/homeassistant/components/homematicip_cloud/errors.py
2018-08-21 21:25:16 +02:00

23 lines
612 B
Python

"""Errors for the HomematicIP Cloud component."""
from homeassistant.exceptions import HomeAssistantError
class HmipcException(HomeAssistantError):
"""Base class for HomematicIP Cloud exceptions."""
class HmipcConnectionError(HmipcException):
"""Unable to connect to the HomematicIP Cloud server."""
class HmipcConnectionWait(HmipcException):
"""Wait for registration to the HomematicIP Cloud server."""
class HmipcRegistrationFailed(HmipcException):
"""Registration on HomematicIP Cloud failed."""
class HmipcPressButton(HmipcException):
"""User needs to press the blue button."""