Replace Early Night Mode input boolean with binary sensor

This commit is contained in:
2023-01-16 15:34:32 -05:00
parent 9a43c74b64
commit 18d355cce5
7 changed files with 7 additions and 11 deletions

View File

@ -135,7 +135,7 @@
<p>
{% if is_state('light.living_room_lights','on') %}
{% if is_state('input_boolean.early_night_mode','on') %}
{% if is_state('binary_sensor.early_night_mode','on') %}
"Because it is getting dark, I have turned on some lights for your convenience. "
{% else %}
"Due to less than optimal sunlight, I have turned on some lights for your convenience. "