mirror of
https://github.com/home-assistant/core.git
synced 2025-05-17 04:19:16 +00:00

* Allow activity change on start of switch Allow activity to be updated when a switch to a new activity is initiated instead of when it is completed. * Updates based on feedback Some items are not required to be done as YAML is not used anymore. Cleaned-up some code. * Fix for change on how to set callbacks How callbacks are set now one has to set the new_activity and new_activity_starting as well, even just with None. * Added callback update Added so that when it is changed in the UI the callbacks will be changed as well. * Added test cases for notify setting Added test cases for config flow to test new setting for activity notifications.
10 lines
296 B
Python
10 lines
296 B
Python
"""Constants for the Harmony component."""
|
|
DOMAIN = "harmony"
|
|
SERVICE_SYNC = "sync"
|
|
SERVICE_CHANGE_CHANNEL = "change_channel"
|
|
PLATFORMS = ["remote"]
|
|
UNIQUE_ID = "unique_id"
|
|
ACTIVITY_POWER_OFF = "PowerOff"
|
|
HARMONY_OPTIONS_UPDATE = "harmony_options_update"
|
|
ATTR_ACTIVITY_NOTIFY = "activity_notify"
|