How do I use YAML to create an automation that powers on my TP15 smart plug "on" when my Ecobee is actively cooling/heating and "off" when the Ecobee has reached the target temperature and is idle?
I've tried the Automation builder, but I can't find any triggers related to if the HVAC fan active or idle... I only see triggers related to if you have the fan set to auto or on...…