added automation kellertür
This commit is contained in:
parent
b9f17771dd
commit
a5ea2e6420
|
|
@ -1 +1 @@
|
|||
2023.1.6
|
||||
2023.6.2
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
- ::1
|
||||
ip_ban_enabled: false
|
||||
login_attempts_threshold: 100
|
||||
30
ip_bans.yaml
30
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'
|
||||
Loading…
Reference in New Issue