Files
mega_hacs/custom_components/mega/exceptions.py
Andrey Viktorov 1270ea2ee2 - add rgbw support
- add ws28 support
- add transitions to pwm
- add units of measurement for all i2c sensors
- remove mqtt support
2021-03-23 15:10:50 +03:00

17 lines
369 B
Python

from homeassistant import exceptions
class CannotConnect(exceptions.HomeAssistantError):
"""Error to indicate we cannot connect."""
class DuplicateId(exceptions.HomeAssistantError):
"""Error to indicate duplicate id"""
class InvalidAuth(exceptions.HomeAssistantError):
"""Error to indicate there is invalid auth."""
class NoPort(Exception):
pass