"""Constants for Sensibo.""" import asyncio import logging from aiohttp.client_exceptions import ClientConnectionError from pysensibo.exceptions import AuthenticationError, SensiboError from homeassistant.const import Platform LOGGER = logging.getLogger(__package__) DEFAULT_SCAN_INTERVAL = 60 DOMAIN = "sensibo" PLATFORMS = [Platform.CLIMATE, Platform.NUMBER] ALL = ["all"] DEFAULT_NAME = "Sensibo" TIMEOUT = 8 SENSIBO_ERRORS = ( ClientConnectionError, asyncio.TimeoutError, AuthenticationError, SensiboError, )