diff --git a/appdaemon/apps/apps.yaml b/appdaemon/apps/apps.yaml index 4e39c75..ade764f 100644 --- a/appdaemon/apps/apps.yaml +++ b/appdaemon/apps/apps.yaml @@ -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: diff --git a/automations.yaml b/automations.yaml index 4854cd0..fc6530a 100644 --- a/automations.yaml +++ b/automations.yaml @@ -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 diff --git a/packages/security.yaml b/packages/security.yaml index 110792c..44b3998 100644 --- a/packages/security.yaml +++ b/packages/security.yaml @@ -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,