Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Shark IQ Constants."""
2 
3 from datetime import timedelta
4 import logging
5 
6 from homeassistant.const import Platform
7 
8 LOGGER = logging.getLogger(__package__)
9 
10 API_TIMEOUT = 20
11 PLATFORMS = [Platform.VACUUM]
12 DOMAIN = "sharkiq"
13 SHARK = "Shark"
14 UPDATE_INTERVAL = timedelta(seconds=30)
15 SERVICE_CLEAN_ROOM = "clean_room"
16 
17 SHARKIQ_REGION_EUROPE = "europe"
18 SHARKIQ_REGION_ELSEWHERE = "elsewhere"
19 SHARKIQ_REGION_DEFAULT = SHARKIQ_REGION_ELSEWHERE
20 SHARKIQ_REGION_OPTIONS = [SHARKIQ_REGION_EUROPE, SHARKIQ_REGION_ELSEWHERE]