From 0a77910863208db58a70e43e1e47dd6c4c969d25 Mon Sep 17 00:00:00 2001 From: c727 Date: Sun, 15 Jul 2018 19:04:13 +0200 Subject: [PATCH] Lovelace: Add service icon docs (#5794) * Update picture-elements.markdown * Lint * More lint --- source/_lovelace/picture-elements.markdown | 27 +++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/source/_lovelace/picture-elements.markdown b/source/_lovelace/picture-elements.markdown index 60050ec80cf..32c77331861 100644 --- a/source/_lovelace/picture-elements.markdown +++ b/source/_lovelace/picture-elements.markdown @@ -130,7 +130,32 @@ service: type: string service_data: required: false - description: The service data to use." + description: The service data to use. + type: object +style: + required: true + description: Position and style the element using CSS. + type: object +{% endconfiguration %} + +### {% linkable_title Service Call Icon %} + +{% configuration %} +type: + required: true + description: service-icon + type: string +title: + required: false + description: Icon tooltip. + type: string +service: + required: true + description: "Service like `light.turn_on`." + type: string +service_data: + required: false + description: The service data to use. type: object style: required: true