diff --git a/.HA_VERSION b/.HA_VERSION index 52b6ce7..617bf7c 100644 --- a/.HA_VERSION +++ b/.HA_VERSION @@ -1 +1 @@ -2023.1.6 \ No newline at end of file +2023.6.2 \ No newline at end of file diff --git a/automations/ground_corridor/door_sensor_keller_changed_to_closed.yaml b/automations/ground_corridor/door_sensor_keller_changed_to_closed.yaml new file mode 100644 index 0000000..f57ff0e --- /dev/null +++ b/automations/ground_corridor/door_sensor_keller_changed_to_closed.yaml @@ -0,0 +1,21 @@ +# https://www.home-assistant.io/docs/automation/trigger/#event-trigger +description: Änderung Türsensor Kellertür zu geschlossen +alias: Änderung Türsensor Kellertür zu geschlossen +id: 95dd0b0b-0deb-470c-a2d7-e6b6dac08891 +trigger: + - platform: state + entity_id: binary_sensor.door_sensor_kellertur_window_door_is_open + to: "off" +action: + - service: notify.dev_telegram + data: + message: > + {% if is_state('binary_sensor.door_sensor_kellertur_window_door_is_open', 'on') %} + Kellertür wurde geöffnet + {% else %} + Kellertür wurde geschlossen + {% endif %} + + - service: light.turn_off + target: + entity_id: switch.double_switch_node12_4 \ No newline at end of file diff --git a/automations/ground_corridor/door_sensor_keller_changed_to_open.yaml b/automations/ground_corridor/door_sensor_keller_changed_to_open.yaml new file mode 100644 index 0000000..24449db --- /dev/null +++ b/automations/ground_corridor/door_sensor_keller_changed_to_open.yaml @@ -0,0 +1,21 @@ +# https://www.home-assistant.io/docs/automation/trigger/#event-trigger +description: Änderung Türsensor Kellertür zu offen +alias: Änderung Türsensor Kellertür zu offen +id: a22bec55-1ad8-438b-97c8-73ee60cf07d0 +trigger: + - platform: state + entity_id: binary_sensor.door_sensor_kellertur_window_door_is_open + to: "on" +action: + - service: notify.dev_telegram + data: + message: > + {% if is_state('binary_sensor.door_sensor_kellertur_window_door_is_open', 'on') %} + Kellertür wurde geöffnet + {% else %} + Kellertür wurde geschlossen + {% endif %} + + - service: light.turn_on + target: + entity_id: switch.double_switch_node12_4 diff --git a/integrations/http.yaml b/integrations/http.yaml index 73e8ffd..60b48e2 100644 --- a/integrations/http.yaml +++ b/integrations/http.yaml @@ -5,7 +5,10 @@ http: ssl_key: /ssl/privkey.pem use_x_forwarded_for: true trusted_proxies: + - 192.168.178.35 - 192.168.178.70 + - 192.168.178.0/24 - 127.0.0.1 - ip_ban_enabled: True - login_attempts_threshold: 5 \ No newline at end of file + - ::1 + ip_ban_enabled: false + login_attempts_threshold: 100 \ No newline at end of file diff --git a/ip_bans.yaml b/ip_bans.yaml index 0c40e1f..e69de29 100644 --- a/ip_bans.yaml +++ b/ip_bans.yaml @@ -1,30 +0,0 @@ - -93.194.117.22: - banned_at: '2022-02-02T09:56:06.742738+00:00' - -80.187.73.7: - banned_at: '2022-12-02T09:03:12.416993+00:00' - -80.187.72.86: - banned_at: '2022-12-12T07:46:01.162540+00:00' - -80.187.75.20: - banned_at: '2022-12-14T07:11:58.798201+00:00' - -192.168.178.67: - banned_at: '2022-12-23T08:19:06.222780+00:00' - -80.187.123.36: - banned_at: '2023-01-02T11:14:14.550075+00:00' - -80.187.74.66: - banned_at: '2023-01-10T16:40:34.274814+00:00' - -80.187.121.89: - banned_at: '2023-01-18T07:05:05.545590+00:00' - -80.187.121.196: - banned_at: '2023-01-19T11:19:51.869965+00:00' - -80.187.121.71: - banned_at: '2023-02-11T16:08:56.992408+00:00'