From 29b8de604267b6572fbcdc1e458a01f0bc5ac158 Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Mon, 30 May 2022 12:58:24 +0200 Subject: [PATCH] Cleanup wording for action config (#22896) --- source/_dashboards/picture-elements.markdown | 35 -------------------- source/dashboards/actions.markdown | 6 ++-- 2 files changed, 3 insertions(+), 38 deletions(-) diff --git a/source/_dashboards/picture-elements.markdown b/source/_dashboards/picture-elements.markdown index c6487822f21..d7808165d9e 100644 --- a/source/_dashboards/picture-elements.markdown +++ b/source/_dashboards/picture-elements.markdown @@ -135,41 +135,6 @@ state_color: description: Set to `true` to have icons colored when entity is active. type: boolean default: true -tap_action: - required: false - description: Action to take on tap. - type: map - keys: - action: - required: true - description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `url`, `none`)." - type: string - default: "`more-info`" - navigation_path: - required: false - description: "Path to navigate to (e.g., `/lovelace/0/`) when `action` defined as `navigate`." - type: string - 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: - required: false - description: "Service to call (e.g., `media_player.media_play_pause`) when `action` defined as `call-service`." - type: string - default: none - service_data: - required: false - description: "Service data to include (e.g., `entity_id: media_player.bedroom`) when `action` defined as `call-service`." - type: string - default: none - confirmation: - required: false - description: "Present a confirmation dialog to confirm the action. See `confirmation` object below." - type: [boolean, map] - default: "false" tap_action: required: false description: Action taken on card tap. See [action documentation](/dashboards/actions/#tap-action). diff --git a/source/dashboards/actions.markdown b/source/dashboards/actions.markdown index 82ed55aa709..8d9b738a26e 100644 --- a/source/dashboards/actions.markdown +++ b/source/dashboards/actions.markdown @@ -28,7 +28,7 @@ tap_action: {% configuration tap-action %} tap_action: required: false - description: Action to take on tap. + description: Action taken on tap. type: map keys: action: @@ -75,7 +75,7 @@ hold_action: {% configuration hold_action %} hold_action: required: false - description: Action to take on tap-and-hold + description: Action taken on tap-and-hold type: map keys: action: @@ -122,7 +122,7 @@ double_tap_action: {% configuration double_tap_action %} double_tap_action: required: false - description: Action to take on double tap + description: Action taken on double tap type: map keys: action: