Add notification after weighing
This commit is contained in:
parent
ac77d6ebf3
commit
7e9c877c88
19
configuration/automations/bathroom-weight.yaml
Normal file
19
configuration/automations/bathroom-weight.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
- id: bathroom_weight_measured
|
||||||
|
alias: "[Bathroom] Weight measured"
|
||||||
|
mode: single
|
||||||
|
trigger:
|
||||||
|
- type: weight
|
||||||
|
platform: device
|
||||||
|
device_id: 6073ba909a68954d04c2ea86907a9193
|
||||||
|
entity_id: fcf113f550b430be77b620f80101c3a7
|
||||||
|
domain: sensor
|
||||||
|
condition: [ ]
|
||||||
|
action:
|
||||||
|
- service: notify.mobile_app_iphone
|
||||||
|
data:
|
||||||
|
title: "Weight has changed"
|
||||||
|
message: >
|
||||||
|
Measured weight: {{ states('sensor.mi_smart_scale_6f96_mass') }}, tap to log into Apple Health
|
||||||
|
data:
|
||||||
|
shortcut:
|
||||||
|
name: "Log Weight"
|
Loading…
Reference in New Issue
Block a user