Hi all!
i’ve 3 toshiba AC working in HA with toshiba integration.
i’ve created 4 timer helper so i can shut down the ac after a timer finish.
successively i’ve created an automation that call service climate.turn_off on my climate entity when timer.finished event occurs on these timer.
The automation works, but, after power off, the climate come back on in last state.
if i look at the automation trace i can see that the timer.finished event correctly invoked the power of, but a second after, the same timer finished invoke the power on state (in the last climate preset)
if i call the power off service via developer option this will not happen!
the climate power on is triggered manually trough the lovelace climate card, and the timer was stsrted manually in lovelace too.
here my automation code(i’ve create it trough ui, and try to poit the climate power off both on device or entity, with same result!)
Can’t help with this much more, as i don’t use the integration .
But since there is no log on the turning_on action, i suspect it is not an issue with HA, but the integration itself
yes maybe integration related issue, i’ll try to power on the AC and run the service climate.turn_off via developer settings after 30 min (the timer has a duration of 30 mins). i’ve tried to create a new timer helper with 1 minute duration, then i add this helper as a trigger to my previous automation and in this case the AC stay OFF!
i’ve done some other test! i’f i turn on the climate via lovelace climate card, and after 30 mins i call climate.turn_off service via developer tools the AC turn off and after a second come back on like with the automation!
This not happen when i call the service after a minute!
So i double the climate.turn_off call in my automation and now work!
this is the working code: