From 23c7ce3f5cd85f3b14c2fb48ba6f5a09e929fbdc Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Mon, 18 Sep 2023 23:28:09 +0200 Subject: [PATCH] Fix weight automation --- configuration/automations/bathroom-weight.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/configuration/automations/bathroom-weight.yaml b/configuration/automations/bathroom-weight.yaml index ce99c9d..cf85118 100644 --- a/configuration/automations/bathroom-weight.yaml +++ b/configuration/automations/bathroom-weight.yaml @@ -2,11 +2,9 @@ alias: "[Bathroom] Weight measured" mode: single trigger: - - type: weight - platform: device - device_id: 6073ba909a68954d04c2ea86907a9193 - entity_id: fcf113f550b430be77b620f80101c3a7 - domain: sensor + - platform: state + entity_id: + - sensor.mi_smart_scale_6f96_mass condition: [ ] action: - service: notify.mobile_app_iphone