mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Update iOS configuration adding Action toggles to show in CarPlay and Watch (#108355)
This commit is contained in:
parent
4d85f78b32
commit
31ef034c3f
@ -26,6 +26,8 @@ from .const import (
|
|||||||
CONF_ACTION_LABEL_COLOR,
|
CONF_ACTION_LABEL_COLOR,
|
||||||
CONF_ACTION_LABEL_TEXT,
|
CONF_ACTION_LABEL_TEXT,
|
||||||
CONF_ACTION_NAME,
|
CONF_ACTION_NAME,
|
||||||
|
CONF_ACTION_SHOW_IN_CARPLAY,
|
||||||
|
CONF_ACTION_SHOW_IN_WATCH,
|
||||||
CONF_ACTIONS,
|
CONF_ACTIONS,
|
||||||
DOMAIN,
|
DOMAIN,
|
||||||
)
|
)
|
||||||
@ -147,6 +149,8 @@ ACTION_SCHEMA = vol.Schema(
|
|||||||
vol.Optional(CONF_ACTION_ICON_ICON): cv.string,
|
vol.Optional(CONF_ACTION_ICON_ICON): cv.string,
|
||||||
vol.Optional(CONF_ACTION_ICON_COLOR): cv.string,
|
vol.Optional(CONF_ACTION_ICON_COLOR): cv.string,
|
||||||
},
|
},
|
||||||
|
vol.Optional(CONF_ACTION_SHOW_IN_CARPLAY): cv.boolean,
|
||||||
|
vol.Optional(CONF_ACTION_SHOW_IN_WATCH): cv.boolean,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -11,3 +11,5 @@ CONF_ACTION_ICON = "icon"
|
|||||||
CONF_ACTION_ICON_COLOR = "color"
|
CONF_ACTION_ICON_COLOR = "color"
|
||||||
CONF_ACTION_ICON_ICON = "icon"
|
CONF_ACTION_ICON_ICON = "icon"
|
||||||
CONF_ACTIONS = "actions"
|
CONF_ACTIONS = "actions"
|
||||||
|
CONF_ACTION_SHOW_IN_CARPLAY = "show_in_carplay"
|
||||||
|
CONF_ACTION_SHOW_IN_WATCH = "show_in_watch"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user