From a86a9d7c25615fe75145bace8d52b02742120c1d Mon Sep 17 00:00:00 2001 From: Yosi Levy Date: Sun, 28 Apr 2019 14:59:50 +0300 Subject: [PATCH 1/2] Tooltip docs --- source/_lovelace/picture-elements.markdown | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/source/_lovelace/picture-elements.markdown b/source/_lovelace/picture-elements.markdown index bcf179527452..5f67cc4a930a 100644 --- a/source/_lovelace/picture-elements.markdown +++ b/source/_lovelace/picture-elements.markdown @@ -56,6 +56,10 @@ style: description: Position and style the element using CSS. type: object default: "position: absolute, transform: translate(-50%, -50%)" +title: + required: false + description: State badge tooltip. Set to null to hide. + type: string {% endconfiguration %} ### {% linkable_title Icon representing an entity state %} @@ -73,6 +77,10 @@ icon: required: false description: Overwrites icon. type: string +title: + required: false + description: Icon tooltip. Set to null to hide. + type: string tap_action: required: false description: Action to take on tap @@ -149,6 +157,10 @@ suffix: required: false description: Text after entity state. type: string +title: + required: false + description: Label tooltip. Set to null to hide. + type: string tap_action: required: false description: Action to take on tap @@ -245,7 +257,7 @@ icon: type: string title: required: false - description: Icon tooltip. + description: Icon tooltip. Set to null to remove. type: string entity: required: false @@ -319,6 +331,10 @@ entity: required: false description: Entity to use for state_image and state_filter and also target for actions. type: string +title: + required: false + description: Image tooltip. Set to null to remove. + type: string tap_action: required: false description: Action to take on tap From 02e882cf154d50b73989eb35c8bffc44e86ae0c6 Mon Sep 17 00:00:00 2001 From: Yosi Levy Date: Sun, 28 Apr 2019 15:04:04 +0300 Subject: [PATCH 2/2] Updated --- source/_lovelace/picture-elements.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_lovelace/picture-elements.markdown b/source/_lovelace/picture-elements.markdown index 5f67cc4a930a..d52ce2a9deb2 100644 --- a/source/_lovelace/picture-elements.markdown +++ b/source/_lovelace/picture-elements.markdown @@ -257,7 +257,7 @@ icon: type: string title: required: false - description: Icon tooltip. Set to null to remove. + description: Icon tooltip. Set to null to hide. type: string entity: required: false @@ -333,7 +333,7 @@ entity: type: string title: required: false - description: Image tooltip. Set to null to remove. + description: Image tooltip. Set to null to hide. type: string tap_action: required: false