No announcement yet.

Disable an event from an event?

  • Filter
  • Time
  • Show
Clear All
new posts

    Disable an event from an event?

    I have created a device called Vacation. When I enable it my thermostats act differently and some lights around the house act differently and when I disable it things go back to normal.

    What I would like to do is schedule an event to run once at around the time I am leaving to turn the device On, and another event to run a few hours before I am actually scheduled to be home. I would like to be able to have these events fire and disable themselves so that I only have to enable them and change the schedule next time I go out of town, but I only see options to have them delete themselves.


    From the controlling event add an action to run a single line script:

    &hs.DisableEvent "Other Event"