Any ideas on this one? Trying to have an alert based on temperature when my dishwasher is done but it’s not triggering below -0.1 ( as in, the temperature is decreaseing on my derivative sensor)
Very hard to tell with just having an image, not the real yaml-code - if my guess below is incorrect, you should definitely past the code.
Is there maybe an issue in line 28 with a ‘g’ missing at the end of the ‘gettin_hot’ instead of a ‘getting_hot’?
As I said, without more details, it’s just a WAG
No, that sensor just has a typo in it
alias: Dishwasher done
description: ""
triggers:
- trigger: numeric_state
entity_id:
- sensor.dishwasher_thermometer
for:
hours: 0
minutes: 1
seconds: 0
above: 26.9
conditions:
- condition: state
entity_id: input_boolean.dishwasher_done
state: "off"
- condition: state
entity_id: input_boolean.dishwasher_on
state: "off"
actions:
- action: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id: input_boolean.dishwasher_on
- wait_for_trigger:
- trigger: numeric_state
entity_id:
- sensor.dishwasher_gettin_hot
below: -0.1
- action: input_boolean.turn_off
metadata: {}
data: {}
target:
entity_id: input_boolean.dishwasher_on
- action: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id: input_boolean.dishwasher_done
- choose:
- conditions:
- condition: time
after: "09:00:00"
before: "22:00:00"
sequence:
- action: notify.mobile_app_pixel_9
metadata: {}
data:
message: Dishwasher done!
- conditions:
- condition: state
entity_id: switch.living_room_surge_protector_mss426_switch_1
state: "on"
sequence:
- action: notify.lg_webos_tv_un73006la
metadata: {}
data:
message: Dishwasher done!
mode: single
Where does sensor.dishwasher_gettin_hot
come from? Does it ever have a value of less than -0.1?
Yes, it goes below that value. Its a derivative sensor for my thermometer where less than zero means its cooling down
If you set up a simple automation with sensor.dishwasher_gettin_hot
less than -0.1 as the trigger, does it fire? All the input_booleans are making my head hurt.
No, it doesn’t
When you started the automation, the value was above -0.1; then the value dropped to less than -0.1?
Yes, when the automation starts it’s above zero.
Is it something to do with the derivative sensor only showing a state and not a value? If so, is there a template I can use to change it to a value?
It’s state should be a number already.
It is. I’m stumped
What do the automation’s debug trace and the sensor’s history graph show?
Post the history of your sensor and show where it goes below -0.1.
Your wait for trigger executed at 20:47.
Your value was below 0 at about 19:42.
The trigger will not trigger if the value is already true.
This is just an input Boolean being off
I’d suggest removing the input Booleans from the Automation temporarily and test by updating the state of sensor.dishwasher_gettin_hot
via Developer Tools. Then you can add each Boolean back one by one.
Go simple to eliminate each step…
This screenshot is just from when I was troubleshooting trying to get it to run again. The first time the wait triggered I’m pretty sure it was above zero. I’ll rerun it and check again