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 # - media_player.living_room_echo_dot
# doors_windows: # doors_windows:
# - binary_sensor.kitchen_big_window # - binary_sensor.kitchen_big_window
# - binary_sensor.front_window_near # - binary_sensor.front_window_1
# - binary_sensor.stairway_window_lower # - binary_sensor.stairway_window_lower
# - binary_sensor.mud_room_window # - binary_sensor.mud_room_window
# announcements: # announcements:

View File

@ -2897,7 +2897,7 @@
alias: Windows are open alias: Windows are open
action: action:
- variables: - 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 }}' else false }}'
message: "{% if porch == true %}\n It is raining and a window by the porch 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 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' unit_of_measurement: 'open'
state: >- state: >-
{% set windows = [ {% set windows = [
states.binary_sensor.front_window_near, states.binary_sensor.front_window_1,
states.binary_sensor.kitchen_big_window, states.binary_sensor.kitchen_big_window,
states.binary_sensor.mud_room_window, states.binary_sensor.mud_room_window,
states.binary_sensor.stairway_window_lower, states.binary_sensor.stairway_window_lower,
@ -142,7 +142,7 @@ template:
{{ windows_open }} {{ windows_open }}
icon: >- icon: >-
{% set windows = [ {% set windows = [
states.binary_sensor.front_window_near, states.binary_sensor.front_window_1,
states.binary_sensor.kitchen_big_window, states.binary_sensor.kitchen_big_window,
states.binary_sensor.mud_room_window, states.binary_sensor.mud_room_window,
states.binary_sensor.stairway_window_lower, states.binary_sensor.stairway_window_lower,