1
0

Add notification after weighing

This commit is contained in:
Przemek Grondek 2023-09-18 20:44:17 +02:00
parent ac77d6ebf3
commit 7e9c877c88

View 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"