2022-12-28 16:54:28 +00:00
|
|
|
- id: '1672243158980'
|
|
|
|
description: ''
|
|
|
|
trigger:
|
|
|
|
- device_id: 85e0a07a3b952671b37fd008f7b2a299
|
|
|
|
domain: zha
|
|
|
|
platform: device
|
|
|
|
type: remote_button_short_press
|
|
|
|
subtype: turn_on
|
|
|
|
condition: []
|
|
|
|
action: []
|
|
|
|
mode: single
|
2023-07-14 23:04:33 +00:00
|
|
|
- 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
|