New Automations
This commit is contained in:
48
packages/door_sensors/door_sensors.yaml
Executable file
48
packages/door_sensors/door_sensors.yaml
Executable file
@ -0,0 +1,48 @@
|
||||
automation:
|
||||
#bathroom window opened for 10 min
|
||||
- alias: bathroom_window_ventilating
|
||||
trigger:
|
||||
- device_id: 85dbfa4e5a7ad4dcc73d74b8f051647b
|
||||
domain: binary_sensor
|
||||
type: opened
|
||||
platform: device
|
||||
entity_id: binary_sensor.bathroom_window_iaszone
|
||||
for:
|
||||
hours: 0
|
||||
minutes: 10
|
||||
seconds: 0
|
||||
action:
|
||||
- service: notify.notify #mobile_app_sm_g998b
|
||||
data:
|
||||
message: reicht auch mit dem lüften!
|
||||
title: Badezimmer
|
||||
#- service: notify.mobile_app_tonis_iphone
|
||||
# data:
|
||||
# message: reicht auch mit dem lüften!
|
||||
# title: Badezimmer
|
||||
- service: persistent_notification.create
|
||||
data:
|
||||
message: "Your message goes here"
|
||||
title: "Custom subject"
|
||||
notification_id: 1
|
||||
#freezer open for 5 min
|
||||
- alias: livingroom_freezer_opened
|
||||
trigger:
|
||||
- device_id: b8119ef2d21afde8394d70373bb9621e
|
||||
domain: binary_sensor
|
||||
type: opened
|
||||
platform: device
|
||||
entity_id: binary_sensor.bathroom_window_iaszone
|
||||
for:
|
||||
hours: 0
|
||||
minutes: 5
|
||||
seconds: 0
|
||||
action:
|
||||
- service: notify.mobile_app_sm_g998b
|
||||
data:
|
||||
message: ist noch offen!
|
||||
title: Freezer
|
||||
- service: notify.mobile_app_tonis_iphone
|
||||
data:
|
||||
message: ist noch offen!
|
||||
title: Freezer
|
7
packages/html5_notifications/html5_notification.yaml
Executable file
7
packages/html5_notifications/html5_notification.yaml
Executable file
@ -0,0 +1,7 @@
|
||||
# Example configuration.yaml entry
|
||||
notify:
|
||||
- platform: html5
|
||||
name: web_notify
|
||||
vapid_pub_key: !secret vapid_pub_key
|
||||
vapid_prv_key: !secret vapid_prv_key
|
||||
vapid_email: !secret vapid_email
|
@ -1,4 +1,4 @@
|
||||
#Guest Room Light
|
||||
#Guest Room Button Light
|
||||
automation:
|
||||
- alias: guestroom_light_button
|
||||
trigger:
|
||||
@ -11,4 +11,30 @@ automation:
|
||||
- type: toggle
|
||||
device_id: 1fcba92f6a53183e10c1dc35a9bb82ce
|
||||
entity_id: light.guestroom_switch_lamp
|
||||
domain: light
|
||||
#Bedroom Button Light
|
||||
- alias: bedroom_light_button
|
||||
trigger:
|
||||
- device_id: 5eaa44bd80bff72ec68727486d1259cd
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_short_press
|
||||
subtype: button
|
||||
action:
|
||||
- type: toggle
|
||||
device_id: e0e71e574631d1fd7ebf960b883d1b6f
|
||||
entity_id: light.bedroom_bulb_light
|
||||
domain: light
|
||||
# Office Button Light
|
||||
- alias: office_light_button
|
||||
trigger:
|
||||
- device_id: ab68a51751fcc28c6576ba467a77581d
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_short_press
|
||||
subtype: button
|
||||
action:
|
||||
- type: toggle
|
||||
device_id: ce016fbf6d9602740bbabe1fe9915c88
|
||||
entity_id: light.office_bulb
|
||||
domain: light
|
14
packages/sockets/socket.yaml
Executable file
14
packages/sockets/socket.yaml
Executable file
@ -0,0 +1,14 @@
|
||||
#Office Steckdosenleiste
|
||||
automation:
|
||||
- alias: office_light_socket
|
||||
trigger:
|
||||
- device_id: ab68a51751fcc28c6576ba467a77581d
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_long_press
|
||||
subtype: button
|
||||
action:
|
||||
- type: toggle
|
||||
device_id: 343b205f3ed48a715e59c5490050150f
|
||||
entity_id: light.office_switch_socket
|
||||
domain: light
|
Reference in New Issue
Block a user