Logo
Explore Help
Sign In
feedc0de/homeassistant-core
1
0
Fork 0
You've already forked homeassistant-core
forked from home-assistant/core
Code Pull Requests Activity
Files
44334ea4da9278947ecb70c482bcc94deac84bd3
homeassistant-core/homeassistant/components/axis/errors.py

23 lines
486 B
Python
Raw Normal View History

Axis config flow (#18543) * Initial draft * Add tests for init Fix hound comments * Add tests for device Change parameter handling to make device easier to test * Remove superfluous functionality per Martins request * Fix hound comments * Embedded platforms * Fix device import * Config flow retry * Options default values will be set automatically to options in config entry before component can be used * Clean up init Add populate options Fix small issues in config flow Add tests covering init * Improve device tests * Add config flow tests * Fix hound comments * Rebase miss * Initial tests for binary sensors * Clean up More binary sensor tests * Hound comments * Add camera tests * Fix initial state of sensors * Bump dependency to v17 * Fix pylint and flake8 * Fix comments
2019-03-24 16:16:50 +01:00
"""Errors for the Axis component."""
from homeassistant.exceptions import HomeAssistantError
class AxisException(HomeAssistantError):
"""Base class for Axis exceptions."""
class AlreadyConfigured(AxisException):
"""Device is already configured."""
class AuthenticationRequired(AxisException):
"""Unknown error occurred."""
class CannotConnect(AxisException):
"""Unable to connect to the device."""
class UserLevel(AxisException):
"""User level too low."""
Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 588ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API