I have a Xiaomi scale. As shown above, HA is only recording when the weight changes. When I weigh myself in the morning, it records that number all day, as if I’m standing on it 24/7.
I want to use “stepped on scale” to turn off my morning alarm. What I have so far looks like this:
repeat:
sequence:
- action: tts.cloud_say
metadata: {}
data:
cache: false
entity_id: media_player.lenovo_smart_clock
message: Stand on Scale
- delay:
hours: 0
minutes: 0
seconds: 3
milliseconds: 0
until:
- condition: state
entity_id: sensor.mi_body_composition_scale_69c3_mass
attribute: unit_of_measurement
state: ""
The until part is a problem. What do I create to tell HA I want to note if a value has changed that day, not the actual measurement of the value?