• 0 Posts
  • 136 Comments
Joined 2 years ago
cake
Cake day: November 3rd, 2023

help-circle


















  • Have the script generate the time and save it as a number or other variable, have the script start when home assistant does and check the variable, if the time has passed toggle the state of the AC and generate the next run time. If it time is in the future run the script again at that time.

    The logic would look something like this: Start with home assistant or at the next interval of the script Check stored time, if it has elapsed toggle the state of the AC Generate new time and store it repeat the script at that time