mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-10 10:56:49 +00:00
add url action (#10413)
This commit is contained in:
parent
40f21c0493
commit
72b8db5b43
@ -57,7 +57,7 @@ tap_action:
|
|||||||
keys:
|
keys:
|
||||||
action:
|
action:
|
||||||
required: true
|
required: true
|
||||||
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `none`)"
|
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `url`, `none`)"
|
||||||
type: string
|
type: string
|
||||||
default: "`toggle`"
|
default: "`toggle`"
|
||||||
navigation_path:
|
navigation_path:
|
||||||
@ -65,6 +65,11 @@ tap_action:
|
|||||||
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
||||||
type: string
|
type: string
|
||||||
default: none
|
default: none
|
||||||
|
url_path:
|
||||||
|
required: false
|
||||||
|
description: "Path to navigate to (e.g. `https://www.home-assistant.io`) when `action` defined as `url`"
|
||||||
|
type: string
|
||||||
|
default: none
|
||||||
service:
|
service:
|
||||||
required: false
|
required: false
|
||||||
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
||||||
@ -82,7 +87,7 @@ hold_action:
|
|||||||
keys:
|
keys:
|
||||||
action:
|
action:
|
||||||
required: true
|
required: true
|
||||||
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `none`)"
|
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `url`, `none`)"
|
||||||
type: string
|
type: string
|
||||||
default: "`more-info`"
|
default: "`more-info`"
|
||||||
navigation_path:
|
navigation_path:
|
||||||
@ -90,6 +95,11 @@ hold_action:
|
|||||||
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
||||||
type: string
|
type: string
|
||||||
default: none
|
default: none
|
||||||
|
url_path:
|
||||||
|
required: false
|
||||||
|
description: "Path to navigate to (e.g. `https://www.home-assistant.io`) when `action` defined as `url`"
|
||||||
|
type: string
|
||||||
|
default: none
|
||||||
service:
|
service:
|
||||||
required: false
|
required: false
|
||||||
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
||||||
|
@ -82,7 +82,7 @@ tap_action:
|
|||||||
keys:
|
keys:
|
||||||
action:
|
action:
|
||||||
required: true
|
required: true
|
||||||
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `none`)"
|
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `url`, `none`)"
|
||||||
type: string
|
type: string
|
||||||
default: "`more-info`"
|
default: "`more-info`"
|
||||||
navigation_path:
|
navigation_path:
|
||||||
@ -90,6 +90,11 @@ tap_action:
|
|||||||
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
||||||
type: string
|
type: string
|
||||||
default: none
|
default: none
|
||||||
|
url_path:
|
||||||
|
required: false
|
||||||
|
description: "Path to navigate to (e.g. `https://www.home-assistant.io`) when `action` defined as `url`"
|
||||||
|
type: string
|
||||||
|
default: none
|
||||||
service:
|
service:
|
||||||
required: false
|
required: false
|
||||||
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
||||||
@ -107,7 +112,7 @@ hold_action:
|
|||||||
keys:
|
keys:
|
||||||
action:
|
action:
|
||||||
required: true
|
required: true
|
||||||
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `none`)"
|
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `url`, `none`)"
|
||||||
type: string
|
type: string
|
||||||
default: "`more-info`"
|
default: "`more-info`"
|
||||||
navigation_path:
|
navigation_path:
|
||||||
@ -115,6 +120,11 @@ hold_action:
|
|||||||
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
||||||
type: string
|
type: string
|
||||||
default: none
|
default: none
|
||||||
|
url_path:
|
||||||
|
required: false
|
||||||
|
description: "Path to navigate to (e.g. `https://www.home-assistant.io`) when `action` defined as `url`"
|
||||||
|
type: string
|
||||||
|
default: none
|
||||||
service:
|
service:
|
||||||
required: false
|
required: false
|
||||||
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
||||||
|
@ -82,7 +82,7 @@ tap_action:
|
|||||||
keys:
|
keys:
|
||||||
action:
|
action:
|
||||||
required: true
|
required: true
|
||||||
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `none`)"
|
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `url`, `none`)"
|
||||||
type: string
|
type: string
|
||||||
default: "`more-info`"
|
default: "`more-info`"
|
||||||
navigation_path:
|
navigation_path:
|
||||||
@ -90,6 +90,11 @@ tap_action:
|
|||||||
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
||||||
type: string
|
type: string
|
||||||
default: none
|
default: none
|
||||||
|
url_path:
|
||||||
|
required: false
|
||||||
|
description: "Path to navigate to (e.g. `https://www.home-assistant.io`) when `action` defined as `url`"
|
||||||
|
type: string
|
||||||
|
default: none
|
||||||
service:
|
service:
|
||||||
required: false
|
required: false
|
||||||
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
||||||
@ -107,7 +112,7 @@ hold_action:
|
|||||||
keys:
|
keys:
|
||||||
action:
|
action:
|
||||||
required: true
|
required: true
|
||||||
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `none`)"
|
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `url`, `none`)"
|
||||||
type: string
|
type: string
|
||||||
default: "`more-info`"
|
default: "`more-info`"
|
||||||
navigation_path:
|
navigation_path:
|
||||||
@ -115,6 +120,11 @@ hold_action:
|
|||||||
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
||||||
type: string
|
type: string
|
||||||
default: none
|
default: none
|
||||||
|
url_path:
|
||||||
|
required: false
|
||||||
|
description: "Path to navigate to (e.g. `https://www.home-assistant.io`) when `action` defined as `url`"
|
||||||
|
type: string
|
||||||
|
default: none
|
||||||
service:
|
service:
|
||||||
required: false
|
required: false
|
||||||
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
||||||
@ -162,7 +172,7 @@ tap_action:
|
|||||||
keys:
|
keys:
|
||||||
action:
|
action:
|
||||||
required: true
|
required: true
|
||||||
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `none`)"
|
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `url`, `none`)"
|
||||||
type: string
|
type: string
|
||||||
default: "`more-info`"
|
default: "`more-info`"
|
||||||
navigation_path:
|
navigation_path:
|
||||||
@ -170,6 +180,11 @@ tap_action:
|
|||||||
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
||||||
type: string
|
type: string
|
||||||
default: none
|
default: none
|
||||||
|
url_path:
|
||||||
|
required: false
|
||||||
|
description: "Path to navigate to (e.g. `https://www.home-assistant.io`) when `action` defined as `url`"
|
||||||
|
type: string
|
||||||
|
default: none
|
||||||
service:
|
service:
|
||||||
required: false
|
required: false
|
||||||
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
||||||
@ -187,7 +202,7 @@ hold_action:
|
|||||||
keys:
|
keys:
|
||||||
action:
|
action:
|
||||||
required: true
|
required: true
|
||||||
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `none`)"
|
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `url`,, `none`)"
|
||||||
type: string
|
type: string
|
||||||
default: "`more-info`"
|
default: "`more-info`"
|
||||||
navigation_path:
|
navigation_path:
|
||||||
@ -195,6 +210,11 @@ hold_action:
|
|||||||
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
||||||
type: string
|
type: string
|
||||||
default: none
|
default: none
|
||||||
|
url_path:
|
||||||
|
required: false
|
||||||
|
description: "Path to navigate to (e.g. `https://www.home-assistant.io`) when `action` defined as `url`"
|
||||||
|
type: string
|
||||||
|
default: none
|
||||||
service:
|
service:
|
||||||
required: false
|
required: false
|
||||||
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
||||||
@ -264,7 +284,7 @@ tap_action:
|
|||||||
keys:
|
keys:
|
||||||
action:
|
action:
|
||||||
required: true
|
required: true
|
||||||
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `none`)"
|
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `url`, `none`)"
|
||||||
type: string
|
type: string
|
||||||
default: "`more-info`"
|
default: "`more-info`"
|
||||||
navigation_path:
|
navigation_path:
|
||||||
@ -272,6 +292,11 @@ tap_action:
|
|||||||
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
||||||
type: string
|
type: string
|
||||||
default: none
|
default: none
|
||||||
|
url_path:
|
||||||
|
required: false
|
||||||
|
description: "Path to navigate to (e.g. `https://www.home-assistant.io`) when `action` defined as `url`"
|
||||||
|
type: string
|
||||||
|
default: none
|
||||||
service:
|
service:
|
||||||
required: false
|
required: false
|
||||||
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
||||||
@ -289,7 +314,7 @@ hold_action:
|
|||||||
keys:
|
keys:
|
||||||
action:
|
action:
|
||||||
required: true
|
required: true
|
||||||
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `none`)"
|
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `url`, `none`)"
|
||||||
type: string
|
type: string
|
||||||
default: "`more-info`"
|
default: "`more-info`"
|
||||||
navigation_path:
|
navigation_path:
|
||||||
@ -297,6 +322,11 @@ hold_action:
|
|||||||
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
||||||
type: string
|
type: string
|
||||||
default: none
|
default: none
|
||||||
|
url_path:
|
||||||
|
required: false
|
||||||
|
description: "Path to navigate to (e.g. `https://www.home-assistant.io`) when `action` defined as `url`"
|
||||||
|
type: string
|
||||||
|
default: none
|
||||||
service:
|
service:
|
||||||
required: false
|
required: false
|
||||||
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
||||||
@ -336,7 +366,7 @@ tap_action:
|
|||||||
keys:
|
keys:
|
||||||
action:
|
action:
|
||||||
required: true
|
required: true
|
||||||
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `none`)"
|
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `url`, `none`)"
|
||||||
type: string
|
type: string
|
||||||
default: "`more-info`"
|
default: "`more-info`"
|
||||||
navigation_path:
|
navigation_path:
|
||||||
@ -344,6 +374,11 @@ tap_action:
|
|||||||
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
||||||
type: string
|
type: string
|
||||||
default: none
|
default: none
|
||||||
|
url_path:
|
||||||
|
required: false
|
||||||
|
description: "Path to navigate to (e.g. `https://www.home-assistant.io`) when `action` defined as `url`"
|
||||||
|
type: string
|
||||||
|
default: none
|
||||||
service:
|
service:
|
||||||
required: false
|
required: false
|
||||||
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
||||||
@ -361,7 +396,7 @@ hold_action:
|
|||||||
keys:
|
keys:
|
||||||
action:
|
action:
|
||||||
required: true
|
required: true
|
||||||
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `none`)"
|
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `url`, `none`)"
|
||||||
type: string
|
type: string
|
||||||
default: "`more-info`"
|
default: "`more-info`"
|
||||||
navigation_path:
|
navigation_path:
|
||||||
@ -369,6 +404,11 @@ hold_action:
|
|||||||
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
||||||
type: string
|
type: string
|
||||||
default: none
|
default: none
|
||||||
|
url_path:
|
||||||
|
required: false
|
||||||
|
description: "Path to navigate to (e.g. `https://www.home-assistant.io`) when `action` defined as `url`"
|
||||||
|
type: string
|
||||||
|
default: none
|
||||||
service:
|
service:
|
||||||
required: false
|
required: false
|
||||||
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
||||||
|
@ -62,7 +62,7 @@ tap_action:
|
|||||||
keys:
|
keys:
|
||||||
action:
|
action:
|
||||||
required: true
|
required: true
|
||||||
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `none`)"
|
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `url`, `none`)"
|
||||||
type: string
|
type: string
|
||||||
default: "`more-info`"
|
default: "`more-info`"
|
||||||
navigation_path:
|
navigation_path:
|
||||||
@ -70,6 +70,11 @@ tap_action:
|
|||||||
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
||||||
type: string
|
type: string
|
||||||
default: none
|
default: none
|
||||||
|
url_path:
|
||||||
|
required: false
|
||||||
|
description: "Path to navigate to (e.g. `https://www.home-assistant.io`) when `action` defined as `url`"
|
||||||
|
type: string
|
||||||
|
default: none
|
||||||
service:
|
service:
|
||||||
required: false
|
required: false
|
||||||
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
||||||
@ -87,7 +92,7 @@ hold_action:
|
|||||||
keys:
|
keys:
|
||||||
action:
|
action:
|
||||||
required: true
|
required: true
|
||||||
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `none`)"
|
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `url`, `none`)"
|
||||||
type: string
|
type: string
|
||||||
default: "`more-info`"
|
default: "`more-info`"
|
||||||
navigation_path:
|
navigation_path:
|
||||||
@ -95,6 +100,11 @@ hold_action:
|
|||||||
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
||||||
type: string
|
type: string
|
||||||
default: none
|
default: none
|
||||||
|
url_path:
|
||||||
|
required: false
|
||||||
|
description: "Path to navigate to (e.g. `https://www.home-assistant.io`) when `action` defined as `url`"
|
||||||
|
type: string
|
||||||
|
default: none
|
||||||
service:
|
service:
|
||||||
required: false
|
required: false
|
||||||
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
||||||
|
@ -61,7 +61,7 @@ tap_action:
|
|||||||
keys:
|
keys:
|
||||||
action:
|
action:
|
||||||
required: true
|
required: true
|
||||||
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `none`)"
|
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `url`, `none`)"
|
||||||
type: string
|
type: string
|
||||||
default: "`more-info`"
|
default: "`more-info`"
|
||||||
navigation_path:
|
navigation_path:
|
||||||
@ -69,6 +69,11 @@ tap_action:
|
|||||||
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
||||||
type: string
|
type: string
|
||||||
default: none
|
default: none
|
||||||
|
url_path:
|
||||||
|
required: false
|
||||||
|
description: "Path to navigate to (e.g. `https://www.home-assistant.io`) when `action` defined as `url`"
|
||||||
|
type: string
|
||||||
|
default: none
|
||||||
service:
|
service:
|
||||||
required: false
|
required: false
|
||||||
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
||||||
@ -86,7 +91,7 @@ hold_action:
|
|||||||
keys:
|
keys:
|
||||||
action:
|
action:
|
||||||
required: true
|
required: true
|
||||||
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `none`)"
|
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `url`, `none`)"
|
||||||
type: string
|
type: string
|
||||||
default: "`more-info`"
|
default: "`more-info`"
|
||||||
navigation_path:
|
navigation_path:
|
||||||
@ -94,6 +99,11 @@ hold_action:
|
|||||||
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
||||||
type: string
|
type: string
|
||||||
default: none
|
default: none
|
||||||
|
url_path:
|
||||||
|
required: false
|
||||||
|
description: "Path to navigate to (e.g. `https://www.home-assistant.io`) when `action` defined as `url`"
|
||||||
|
type: string
|
||||||
|
default: none
|
||||||
service:
|
service:
|
||||||
required: false
|
required: false
|
||||||
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
||||||
|
@ -27,7 +27,7 @@ tap_action:
|
|||||||
keys:
|
keys:
|
||||||
action:
|
action:
|
||||||
required: true
|
required: true
|
||||||
description: "Action to perform (`call-service`, `navigate`, `none`)"
|
description: "Action to perform (`call-service`, `navigate`, `url`, `none`)"
|
||||||
type: string
|
type: string
|
||||||
default: "`none`"
|
default: "`none`"
|
||||||
navigation_path:
|
navigation_path:
|
||||||
@ -35,6 +35,11 @@ tap_action:
|
|||||||
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
||||||
type: string
|
type: string
|
||||||
default: none
|
default: none
|
||||||
|
url_path:
|
||||||
|
required: false
|
||||||
|
description: "Path to navigate to (e.g. `https://www.home-assistant.io`) when `action` defined as `url`"
|
||||||
|
type: string
|
||||||
|
default: none
|
||||||
service:
|
service:
|
||||||
required: false
|
required: false
|
||||||
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
||||||
@ -52,7 +57,7 @@ hold_action:
|
|||||||
keys:
|
keys:
|
||||||
action:
|
action:
|
||||||
required: true
|
required: true
|
||||||
description: "Action to perform (`call-service`, `navigate`, `none`)"
|
description: "Action to perform (`call-service`, `navigate`, `url`, `none`)"
|
||||||
type: string
|
type: string
|
||||||
default: "`none`"
|
default: "`none`"
|
||||||
navigation_path:
|
navigation_path:
|
||||||
@ -60,6 +65,11 @@ hold_action:
|
|||||||
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
||||||
type: string
|
type: string
|
||||||
default: none
|
default: none
|
||||||
|
url_path:
|
||||||
|
required: false
|
||||||
|
description: "Path to navigate to (e.g. `https://www.home-assistant.io`) when `action` defined as `url`"
|
||||||
|
type: string
|
||||||
|
default: none
|
||||||
service:
|
service:
|
||||||
required: false
|
required: false
|
||||||
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
description: "Service to call (e.g. `media_player.media_play_pause`) when `action` defined as `call-service`"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user