Hello.
I have this script configuration in scripts.yaml
file:
lg_tv_alert_template:
alias: LG TV alert template
mode: single
icon: mdi:alert
fields:
message_text:
name: "Text"
description: "Message to be sent"
required: true
example: "abc"
sequence:
- service: webostv.command
data:
entity_id: media_player.lg_webos_smart_tv
command: system.notifications/createAlert
payload:
message: '{{ message_text | string }}'
buttons:
- label: OK
I have specified fields
as it was written in documentation. However, it doesn’t show properly when in Developer Tools → Services tab as you can see on the picture below - it says “Parameters only available in YAML mode”.
Why is so? Why cannot it show a field I can directly type the message into instead of having to type in yaml format, i.e. message_text: "Lorem ipsum ..."
? Restarting HA didn’t help.