diff --git a/source/_integrations/template.markdown b/source/_integrations/template.markdown index 2e2be5425f1..547516ef2ea 100644 --- a/source/_integrations/template.markdown +++ b/source/_integrations/template.markdown @@ -1055,7 +1055,7 @@ Light entities can only be created from YAML. ```yaml # Example state-based configuration.yaml entry -light: +template: - light: - name: "Theater Lights" level: "{{ state_attr('sensor.theater_brightness', 'lux')|int }}"