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:
cribbstechnologies 2017-07-05 17:08:56 -04:00 committed by Fabian Affolter
parent 2170d07c04
commit a9279d993b

View File

@ -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 %}
``` ```