fixes and updates
This commit is contained in:
@ -103,4 +103,26 @@ automation:
|
||||
- type: turn_off
|
||||
device_id: 8d78194d0cb175221b3b0ffa337a9592
|
||||
entity_id: light.nursery_bulb
|
||||
domain: light
|
||||
domain: light
|
||||
|
||||
- id: '1689371777559'
|
||||
- alias: Baby Notification
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- binary_sensor.baby_cam_noise
|
||||
to: 'on'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_boolean.baby_cry_notification
|
||||
state: 'on'
|
||||
action:
|
||||
- service: notify.mobile_app_pixel_7_pro
|
||||
data:
|
||||
message: Baby schreit
|
||||
data:
|
||||
image: /api/camera_proxy/camera.nursery_baby_cam?token={{state_attr('camera.nursery_baby_cam','access_token')}}
|
||||
url: /dashboard-babycam
|
||||
clickAction: /dashboard-babycam/0
|
||||
mode: single
|
@ -13,8 +13,8 @@ automation:
|
||||
device_id: ce016fbf6d9602740bbabe1fe9915c88
|
||||
domain: light
|
||||
- type: turn_off
|
||||
entity_id: light.guestroom_switch_lamp
|
||||
device_id: 343b205f3ed48a715e59c5490050150f
|
||||
entity_id: light.office_switch_socket
|
||||
device_id: 1fcba92f6a53183e10c1dc35a9bb82ce
|
||||
domain: light
|
||||
|
||||
# Office button turn light on
|
||||
@ -45,8 +45,8 @@ automation:
|
||||
device_id: ce016fbf6d9602740bbabe1fe9915c88
|
||||
domain: light
|
||||
- type: turn_on
|
||||
entity_id: light.guestroom_switch_lamp
|
||||
device_id: 343b205f3ed48a715e59c5490050150f
|
||||
entity_id: light.office_switch_socket
|
||||
device_id: 1fcba92f6a53183e10c1dc35a9bb82ce
|
||||
domain: light
|
||||
|
||||
#### Remote ####
|
||||
@ -77,9 +77,13 @@ automation:
|
||||
entity_id: light.office_bulb
|
||||
device_id: ce016fbf6d9602740bbabe1fe9915c88
|
||||
domain: light
|
||||
- type: turn_off
|
||||
entity_id: light.office_switch_socket
|
||||
device_id: 1fcba92f6a53183e10c1dc35a9bb82ce
|
||||
domain: light
|
||||
|
||||
# Office remote turn pc on
|
||||
- alias: office_light_remote_turn_on_pc
|
||||
- alias: office_remote_turn_on_pc
|
||||
trigger:
|
||||
- device_id: 8cc9ef0e9155403ae478abf46bd884e4
|
||||
domain: zha
|
||||
@ -88,11 +92,12 @@ automation:
|
||||
subtype: left
|
||||
action:
|
||||
- type: turn_on
|
||||
entity_id: switch.tower
|
||||
- type: turn_on
|
||||
entity_id: light.guestroom_switch_lamp
|
||||
device_id: 343b205f3ed48a715e59c5490050150f
|
||||
entity_id: light.office_switch_socket
|
||||
device_id: 1fcba92f6a53183e10c1dc35a9bb82ce
|
||||
domain: light
|
||||
- service: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.tower
|
||||
|
||||
# Office remote turn all off
|
||||
- alias: office_light_remote_turn_off_all
|
||||
|
@ -5,3 +5,7 @@ switch:
|
||||
mac: !secret tower_mac
|
||||
name: tower
|
||||
|
||||
switch:
|
||||
- platform: wake_on_lan
|
||||
mac: !secret nas_mac
|
||||
name: nas
|
Reference in New Issue
Block a user