* Add ws66i core integration * Remove all ws66i translations * Update ws66i unit tests to meet minimum code coverage * Update ws66i based on @bdraco review * General improvements after 2nd PR review * Disable entities if amp shutoff, set default source names, set 30sec polling * Add _attr_ and change async_on_unload * Improve entity generation * Implement coordinator * Made options fields required, retry connection on failed attempts, use ZoneStatus for attributes * Refactor WS66i entity properties, raise HomeAssistantError on restore service if no snapshot * Update to pyws66i v1.1 * Add quality scale of silver to manifest * Update config_flow test
24 lines
500 B
Python
24 lines
500 B
Python
"""Constants for the Soundavo WS66i 6-Zone Amplifier Media Player component."""
|
|
|
|
DOMAIN = "ws66i"
|
|
|
|
CONF_SOURCES = "sources"
|
|
|
|
CONF_SOURCE_1 = "source_1"
|
|
CONF_SOURCE_2 = "source_2"
|
|
CONF_SOURCE_3 = "source_3"
|
|
CONF_SOURCE_4 = "source_4"
|
|
CONF_SOURCE_5 = "source_5"
|
|
CONF_SOURCE_6 = "source_6"
|
|
|
|
INIT_OPTIONS_DEFAULT = {
|
|
"1": "Source 1",
|
|
"2": "Source 2",
|
|
"3": "Source 3",
|
|
"4": "Source 4",
|
|
"5": "Source 5",
|
|
"6": "Source 6",
|
|
}
|
|
|
|
SERVICE_SNAPSHOT = "snapshot"
|
|
SERVICE_RESTORE = "restore"
|