Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for Genius Hub."""
2 
3 from datetime import timedelta
4 
5 from homeassistant.const import Platform
6 
7 DOMAIN = "geniushub"
8 
9 SCAN_INTERVAL = timedelta(seconds=60)
10 
11 SENSOR_PREFIX = "Genius"
12 
13 PLATFORMS = (
14  Platform.BINARY_SENSOR,
15  Platform.CLIMATE,
16  Platform.SENSOR,
17  Platform.SWITCH,
18  Platform.WATER_HEATER,
19 )