Added documentation for new replace boolean (#28742)

This commit is contained in:
breakthestatic 2023-10-22 15:06:15 -07:00 committed by GitHub
parent 0b8949f2f7
commit 3a81428591
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,11 @@ tap_action:
description: "Path to navigate to (e.g., `/lovelace/0/`) when the `action` is defined as `navigate`"
type: string
default: none
navigation_replace:
required: false
description: "Whether to replace the current page in the the history with the new URL when the `action` is defined as `navigate`"
type: boolean
default: none
url_path:
required: false
description: "Path to navigate to (e.g., `https://www.home-assistant.io`) when the `action` is defined as `url`"
@ -98,6 +103,11 @@ hold_action:
description: "Path to navigate to (e.g., `/lovelace/0/`) when the `action` is defined as `navigate`"
type: string
default: none
navigation_replace:
required: false
description: "Whether to replace the current page in the the history with the new URL when the `action` is defined as `navigate`"
type: boolean
default: none
url_path:
required: false
description: "Path to navigate to (e.g., `https://www.home-assistant.io`) when the `action` is defined as `url`"
@ -155,6 +165,11 @@ double_tap_action:
description: "Path to navigate to (e.g., `/lovelace/0/`) when the `action` is defined as `navigate`"
type: string
default: none
navigation_replace:
required: false
description: "Whether to replace the current page in the the history with the new URL when the `action` is defined as `navigate`"
type: boolean
default: none
url_path:
required: false
description: "Path to navigate to (e.g., `https://www.home-assistant.io`) when the `action` is defined as `url`"