mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-05 02:28:56 +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