Closed cschmittiey closed 1 year ago
My bad - didn't realize i was supposed to use the device triggers in automations and not look for state in the UI.
Sorry for not getting back to you on this. You're right, device triggers are the way to go here. Push button devices in HA are event emitters, so you typically deal with the events directly (or via device triggers) rather than using a stateful entity.
First of all, thanks for your awesome work! I use this with some zigbee window sensors and it's been awesome to have around.
I ran into some issues with adding a new Tuya Scene Switch though:
I'm using this device: https://www.aliexpress.us/item/3256801318422900.html At first I was using the Tuya Scene Switch driver built into the hubitat, but switched to this in hopes it would help: https://community.hubitat.com/t/release-tuya-scene-switch-ts004f-driver-w-healthstatus/92823
but I'm still not receiving the events in home assistant - I'm not sure what I'm missing. I see that the Maker API posts the events to home assistant when I enable debug logging:
The entities in home assistant just show up as unavailable in the UI however
![firefox_i6KyRrt8AM](https://github.com/jason0x43/hacs-hubitat/assets/7754798/3baa30fd-a4bb-4504-bea2-3c900a123109)
Here's the JSON for the device on the Maker API: