Announcement

Collapse
No announcement yet.

disabling an en event

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    disabling an en event

    Hi everyone

    I would like to enable or disable an event when a device status changes from on to off.

    I may be being silly but I can't see how to do this.

    thanks
    techboy

    #2
    Use a small script in an event for the device going off :
    sub main()
    hs.disableEvent("eventName")
    end sub

    In the other event that is triggered when the device goes on:
    sub main()
    hs.enableEvent("eventName")
    end sub
    💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

    Comment

    Working...
    X