Change to differentiate between night lighting and cloudy lighting
This commit is contained in:
@ -126,7 +126,11 @@
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
{% if is_state('light.living_room_lights','on') %}
|
{% if is_state('light.living_room_lights','on') %}
|
||||||
"Because it is getting dark, I have turned on the lights for you in the living room, dining room, and mud room. This makes for a total of {{ states.sensor.current_lights_on.state }} lights on. "
|
{% if is_state('input_boolean.early_night_mode','on') %}
|
||||||
|
"Because it is getting dark, I have turned on the lights for you in the living room, dining room, and mud room. This makes for a total of {{ states.sensor.current_lights_on.state }} lights on. "
|
||||||
|
{% else %}
|
||||||
|
"Due to less than optimal sunlight, I have turned on the lights for you in the living room, dining room, and mud room. This makes for a total of {{ states.sensor.current_lights_on.state }} lights on. "
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user