mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-11-13 21:10:54 +00:00
The payload_template example was missing enclosing quotes. Confirmed that this is required.
`payload_template: {{ states('sun.sun') }}` causes the service call to fail, ("value should be string for dictionary value").
`payload_template: "{{ states('sun.sun') }}"` publishes correctly