updates
This commit is contained in:
4
packages/nursery/babycrydetection.yaml
Normal file
4
packages/nursery/babycrydetection.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
input_boolean:
|
||||
baby_cry_notification:
|
||||
name: Notify @babycry
|
||||
icon: mdi:baby-face-outline
|
106
packages/nursery/nursery.yaml
Normal file
106
packages/nursery/nursery.yaml
Normal file
@ -0,0 +1,106 @@
|
||||
automation:
|
||||
# Nursery heat lamp turn on from bedroom Philipp
|
||||
- alias: nursery_heat_lamp_bedroom_button_philipp_turn_on
|
||||
trigger:
|
||||
- device_id: 1baf5adc6850ac0413ee80d5ce75f1b8
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_short_press
|
||||
subtype: turn_on
|
||||
action:
|
||||
- type: turn_on
|
||||
device_id: f544eb364af0e4c42f36e5479f79e111
|
||||
entity_id: switch.nursery
|
||||
domain: switch
|
||||
- type: turn_on
|
||||
device_id: 8d78194d0cb175221b3b0ffa337a9592
|
||||
entity_id: light.nursery_bulb
|
||||
domain: light
|
||||
- delay:
|
||||
minutes: 15
|
||||
- type: turn_off
|
||||
device_id: f544eb364af0e4c42f36e5479f79e111
|
||||
entity_id: switch.nursery
|
||||
domain: switch
|
||||
|
||||
# Nursery heat lamp turn off from bedroom Philipp
|
||||
- alias: nursery_heat_lamp_bedroom_button_philippturn_off
|
||||
trigger:
|
||||
- device_id: 1baf5adc6850ac0413ee80d5ce75f1b8
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_short_press
|
||||
subtype: turn_off
|
||||
action:
|
||||
- type: turn_off
|
||||
device_id: 8d78194d0cb175221b3b0ffa337a9592
|
||||
entity_id: light.nursery_bulb
|
||||
domain: light
|
||||
- type: turn_off
|
||||
device_id: f544eb364af0e4c42f36e5479f79e111
|
||||
entity_id: switch.nursery
|
||||
domain: switch
|
||||
|
||||
###### Nursery #####
|
||||
|
||||
# Nursery heat lamp turn on button door
|
||||
- alias: nursery_heat_lamp_turn_on_nursery_button_door
|
||||
trigger:
|
||||
- device_id: 990a122b3d7c305259f6033660c23e98
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_short_press
|
||||
subtype: turn_on
|
||||
action:
|
||||
- type: turn_on
|
||||
device_id: f544eb364af0e4c42f36e5479f79e111
|
||||
entity_id: switch.nursery
|
||||
domain: switch
|
||||
- type: turn_on
|
||||
device_id: 8d78194d0cb175221b3b0ffa337a9592
|
||||
entity_id: light.nursery_bulb
|
||||
domain: light
|
||||
- delay:
|
||||
minutes: 15
|
||||
- type: turn_off
|
||||
device_id: f544eb364af0e4c42f36e5479f79e111
|
||||
entity_id: switch.nursery
|
||||
domain: switch
|
||||
|
||||
# Nursery heat lamp + light turn on button door
|
||||
- alias: nursery_heat_lamp_bulb_turn_on_nursery_button_door
|
||||
trigger:
|
||||
- device_id: 990a122b3d7c305259f6033660c23e98
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_long_press
|
||||
subtype: dim_up
|
||||
action:
|
||||
- type: turn_on
|
||||
device_id: f544eb364af0e4c42f36e5479f79e111
|
||||
entity_id: switch.nursery
|
||||
domain: switch
|
||||
- delay:
|
||||
minutes: 15
|
||||
- type: turn_off
|
||||
device_id: f544eb364af0e4c42f36e5479f79e111
|
||||
entity_id: switch.nursery
|
||||
domain: switch
|
||||
|
||||
# Nursery heat lamp turn off button door
|
||||
- alias: nursery_heat_lamp_turn_off_nursery_button_door
|
||||
trigger:
|
||||
- device_id: 990a122b3d7c305259f6033660c23e98
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_short_press
|
||||
subtype: turn_off
|
||||
action:
|
||||
- type: turn_off
|
||||
device_id: f544eb364af0e4c42f36e5479f79e111
|
||||
entity_id: switch.nursery
|
||||
domain: switch
|
||||
- type: turn_off
|
||||
device_id: 8d78194d0cb175221b3b0ffa337a9592
|
||||
entity_id: light.nursery_bulb
|
||||
domain: light
|
Reference in New Issue
Block a user