Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the Soundavo WS66i 6-Zone Amplifier Media Player component."""
2 
3 from datetime import timedelta
4 
5 DOMAIN = "ws66i"
6 
7 CONF_SOURCES = "sources"
8 
9 CONF_SOURCE_1 = "source_1"
10 CONF_SOURCE_2 = "source_2"
11 CONF_SOURCE_3 = "source_3"
12 CONF_SOURCE_4 = "source_4"
13 CONF_SOURCE_5 = "source_5"
14 CONF_SOURCE_6 = "source_6"
15 
16 INIT_OPTIONS_DEFAULT = {
17  "1": "Source 1",
18  "2": "Source 2",
19  "3": "Source 3",
20  "4": "Source 4",
21  "5": "Source 5",
22  "6": "Source 6",
23 }
24 
25 POLL_INTERVAL = timedelta(seconds=30)
26 
27 MAX_VOL = 38