I've been working with GE Enbrighten Z wave switches, Home Assistant, and the Home Assistant Websocket Node RED module. Ultimately I'm trying to be able to detect whenever a bathroom fan is turned on and keep it running for a fixed time from the last time the on button was pressed. I've gotten it to turn off at a fixed time from the first time the on button is pressed, but it doesn't seem to get an event when the on button is pressed while the switch is already on no matter what I've tried.
I realize the issue could be in many places. Perhaps the switch doesn't send anything when it's already on and you press on. Maybe Home Assistant drops it. I'm not sure, but I figured I'd start here. Thanks for any help you can offer.