diff --git a/configuration/automations/bathroom-weight.yaml b/configuration/automations/bathroom-weight.yaml new file mode 100644 index 0000000..ce99c9d --- /dev/null +++ b/configuration/automations/bathroom-weight.yaml @@ -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"