Hello, I have some application code running decently, but I want to expand it, and could use a nudge in the proper direction.
Basically, if someone changes the state of a switch (already a Z-Wave light switch device in Hubitat), I want that action to run a function in my app code that instantiates timer to trigger another action after a preset time.
I'd like it to trigger when a device in the Hubitat is toggled... Ideally anything that causes that light switch to change state: Physical device switch, a dashboard click, or the device configuration page in device setups...
'Think it's working now. Thanks, 'just newish to programming ("lite" so to speak) for the platform and didn't get that some of those functions are reserved words / expected and required functions (sub/unsubscribe, and event handling, e.g.).