I have made an automation that I want to say does an action but I don’t think it is working correctly.
I want to turn a light on with a plug sensor when the TEMP outside is above 70. This should only happen between the hours of 7am and 16:30 hours (4:30pm). I want the automation (trigger) to stop everyday at 16:30. I only want to have the automation run between 7am and 16:30. Once 16:30 come the light should turn off.
I am learning how as I am new to this.
SO this is what it looks like in my head.
As per @sjee above.
You’ll need 2 automations for what you want, one to turn the list on (based on what you posted above, can confirm once properly formatted), one to turn the list off at 16:30
This first automation turns on the switch when the temp is above 70 but only between 7 and 16:30. It also turns on another automation (that is normally off) to turn off the light at 16:30.
You could accomplish this with one automation using a wait template but I think this will work better in the long run.
Should send a MQTT message every minutes. . Never triggered anything…Same with absolute times.
Time settings of my hass.io setup (on a Raspberry 2) seems ok (control via time widget in HADashboard). Automation is enabled, can be triggered manually but not by the time…
Anything missing here…?
Ok, reading some similar post it turns out the default time zone was not changed and still UTC. Somehow the settings in configuration.yaml and the GUI “block each other”.
Never understood the concept of yaml config files versus GUI configuration…? There seems to be always the danger that you mess up your system when they are not in sync…?