I am trying to turn on a secondary air conditioner when the current temp is above a certain temp. I am trying to trigger off of the current temperature on a honeywell thermostat.
I know the actions work but I don’t think the trigger is firing. Here is the config.
alias: Turn on Supplemental AC
- platform: numeric_state
- service: notify.alexa_media_echo_show
message: Turning supplemental air on
- service: climate.set_hvac_mode
Hi, welcome to this forum.
Please read this about correctly formatting your code and use the appropriate markdown code blocks, so that your code is much easier to read.
I understand it looks crappy. It was completely generated with the UI but just pasted here, and the pasting threw it out of alignment…I am not a programmer.
Just looking for a trigger on the temperature of the above entity above 70 though…should this not trigger?
based upon the examples in my search this should be working…
edit your post above and put three backtick marks (```) on the line before and the line after the code block.
that trigger looks ok to me.
are you sure you are using the correct attribute?
There are only two temp attributes and both of them are above 70…
Any hints on how to troubleshoot a trigger…
If they are already above 70 then the trigger will not fire.
the numeric state trigger needs to cross the threshold for it to fire. It’s the same for all triggers. They have to go from false to true before they fire.
try to get it below 70 and then when it goes back above 70 it will (should…) fire.
Ah, that makes sense. That works. Thanks for the help!!
This is a way to have your automation run even if the sensor is already above 70: