Allow specifying icon for a script (#12110)

This commit is contained in:
Paulus Schoutsen 2020-02-17 10:49:26 -08:00 committed by GitHub
parent b778a073b7
commit fb25dbfd28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,10 @@ alias:
description: Friendly name for the script.
required: false
type: string
icon:
description: Icon for the script.
required: false
type: string
description:
description: A description of the script that will be displayed in the Services tab under Developer Tools.
required: false
@ -73,6 +77,7 @@ sequence:
script: 
wakeup:
alias: Wake Up
icon: "mdi:party-popper"
description: 'Turns on the bedroom lights and then the living room lights after a delay'
fields:
minutes: