Update light.template.markdown (#2937)
crappy yaml Config at the top was supposed to be a light-based example. Non-light based example is below
This commit is contained in:
parent
2170d07c04
commit
a9279d993b
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ light:
|
||||||
set_level:
|
set_level:
|
||||||
service: script.theater_lights_level
|
service: script.theater_lights_level
|
||||||
data_template:
|
data_template:
|
||||||
volume_level: "{% raw %}{{brightness}}{% endraw %}"
|
brightness: "{% raw %}{{brightness}}{% endraw %}"
|
||||||
level_template: "{% raw %}{{is_state('sensor.theater_brightness.attributes.lux'}}{% endraw %}"
|
level_template: "{% raw %}{{is_state('sensor.theater_brightness.attributes.lux'}}{% endraw %}"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -103,4 +103,4 @@ light:
|
||||||
0
|
0
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue