From 3a8142859107fef616911f17c145c963996ff9ae Mon Sep 17 00:00:00 2001 From: breakthestatic Date: Sun, 22 Oct 2023 15:06:15 -0700 Subject: [PATCH] Added documentation for new replace boolean (#28742) --- source/dashboards/actions.markdown | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/source/dashboards/actions.markdown b/source/dashboards/actions.markdown index 03592c10f88..25bfa59cae0 100644 --- a/source/dashboards/actions.markdown +++ b/source/dashboards/actions.markdown @@ -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`"