Provide user-defined actions to app (#38572)
* Start moving stuff to iOS * Load config on to hass.data * Remove un used logging * Switch to Rest API * Add schema * Return whole config in new view and leave old 100 % the same * Update doc strings * MartinHjelmare feedback * Move register view to async_setup_entry
This commit is contained in:
parent
aa476b392c
commit
151c0d9761
2 changed files with 78 additions and 20 deletions
|
@ -1,3 +1,13 @@
|
|||
"""Const for iOS."""
|
||||
|
||||
DOMAIN = "ios"
|
||||
|
||||
CONF_ACTION_NAME = "name"
|
||||
CONF_ACTION_BACKGROUND_COLOR = "background_color"
|
||||
CONF_ACTION_LABEL = "label"
|
||||
CONF_ACTION_LABEL_COLOR = "color"
|
||||
CONF_ACTION_LABEL_TEXT = "text"
|
||||
CONF_ACTION_ICON = "icon"
|
||||
CONF_ACTION_ICON_COLOR = "color"
|
||||
CONF_ACTION_ICON_ICON = "icon"
|
||||
CONF_ACTIONS = "actions"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue