File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ script:
124
124
{{ next }}{% endraw %}
125
125
126
126
- service_template: >
127
- {% raw %}{% if states.light.YOUR_LIGHT.attributes.brightness|default(0)|int < states('input_slider .light_maximum')|int %}
127
+ {% raw %}{% if states.light.YOUR_LIGHT.attributes.brightness|default(0)|int < states('input_number .light_maximum')|int %}
128
128
script.turn_on
129
129
{% else %}
130
130
script.turn_off
@@ -155,7 +155,7 @@ script:
155
155
{{ next }}{% endraw %}
156
156
157
157
- service_template: >
158
- {% raw %}{% if states.light.YOUR_LIGHT.attributes.brightness|default(0)|int > states('input_slider .light_minimum')|int %}
158
+ {% raw %}{% if states.light.YOUR_LIGHT.attributes.brightness|default(0)|int > states('input_number .light_minimum')|int %}
159
159
script.turn_on
160
160
{% else %}
161
161
script.turn_off
You can’t perform that action at this time.
0 commit comments