mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Template: fix typo (#39861)
This commit is contained in:
parent
765ea62959
commit
ddebbb9931
@ -1055,7 +1055,7 @@ Light entities can only be created from YAML.
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example state-based configuration.yaml entry
|
# Example state-based configuration.yaml entry
|
||||||
light:
|
template:
|
||||||
- light:
|
- light:
|
||||||
- name: "Theater Lights"
|
- name: "Theater Lights"
|
||||||
level: "{{ state_attr('sensor.theater_brightness', 'lux')|int }}"
|
level: "{{ state_attr('sensor.theater_brightness', 'lux')|int }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user