From 618132c67c02c6a8bbf7d00b1c14fd3b85855166 Mon Sep 17 00:00:00 2001 From: Ian Richardson Date: Sun, 11 Nov 2018 07:33:08 -0600 Subject: [PATCH] Some service-row fields are now optional (#7201) * service-data now optional https://github.com/home-assistant/home-assistant-polymer/pull/1894 * additional fields made optional `icon` and `action_name` will be optional as well * :ambulance: Fixes build --- source/_lovelace/entities.markdown | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/source/_lovelace/entities.markdown b/source/_lovelace/entities.markdown index ef9ead7d25f..1e99fbfef61 100644 --- a/source/_lovelace/entities.markdown +++ b/source/_lovelace/entities.markdown @@ -72,20 +72,22 @@ name: required: true description: Main Label. type: string -icon: - required: true - description: "Icon to display (e.g., `mdi:home`)" - type: string -action_name: - required: true - description: Button label. - type: string service: required: true description: "Service like `media_player.media_play_pause`" type: string +icon: + required: false + description: "Icon to display (e.g., `mdi:home`)" + type: string + default: "`mdi:remote`" +action_name: + required: false + description: Button label. + type: string + default: "`Run`" service_data: - required: true + required: false description: The service data to use. type: object {% endconfiguration %}