Rename front window sensor

This commit is contained in:
2023-11-03 17:03:52 -04:00
parent 4a09d1ee8e
commit 18be9270c6
3 changed files with 4 additions and 4 deletions

View File

@ -39,7 +39,7 @@ media_lights_sync_basement:
# - media_player.living_room_echo_dot
# doors_windows:
# - binary_sensor.kitchen_big_window
# - binary_sensor.front_window_near
# - binary_sensor.front_window_1
# - binary_sensor.stairway_window_lower
# - binary_sensor.mud_room_window
# announcements:

View File

@ -2897,7 +2897,7 @@
alias: Windows are open
action:
- variables:
porch: '{{ true if states(''sensor.windows_open'') == ''1'' and is_state(''binary_sensor.front_window_near'',''on'')
porch: '{{ true if states(''sensor.windows_open'') == ''1'' and is_state(''binary_sensor.front_window_1'',''on'')
else false }}'
message: "{% if porch == true %}\n It is raining and a window by the porch
is open. This is generally acceptable, but please close it if the wind is

View File

@ -133,7 +133,7 @@ template:
unit_of_measurement: 'open'
state: >-
{% set windows = [
states.binary_sensor.front_window_near,
states.binary_sensor.front_window_1,
states.binary_sensor.kitchen_big_window,
states.binary_sensor.mud_room_window,
states.binary_sensor.stairway_window_lower,
@ -142,7 +142,7 @@ template:
{{ windows_open }}
icon: >-
{% set windows = [
states.binary_sensor.front_window_near,
states.binary_sensor.front_window_1,
states.binary_sensor.kitchen_big_window,
states.binary_sensor.mud_room_window,
states.binary_sensor.stairway_window_lower,