Team - I am trying to build a integration automation between Unifi Protect and Habitat -
Use case:
When the Unifi Protect Keyfob has a button press (In this case left side button, single press), trigger/toggle a light managed in Hubitat on. When the button is presss again, triple/toggle a light managed in Habitat off. Below is the Unifi Protect integration log output when the button is pressed:
app:462026-08-18 11:52:13.132 amdebugParsed JSON: [item:[metadata:[button:[text:left]], start:1787079133459, end:1787079133459, id:6a84a9dd01cc0503e41d47a1, type:sensorButtonPressed, device:6a78faa4027c0503e40c13c8, modelKey:event], type:add]
app:462026-08-18 11:52:13.130 amdebugcomponentParse: {"item":{"id":"6a84a9dd01cc0503e41d47a1","modelKey":"event","type":"sensorButtonPressed","start":1787079133459,"end":1787079133459,"device":"6a78faa4027c0503e40c13c8","metadata":{"button":{"text":"left"}}},"type":"add"}
dev:902026-08-18 11:52:13.127 amdebugparse: {"item":{"id":"6a84a9dd01cc0503e41d47a1","modelKey":"event","type":"sensorButtonPressed","start":1787079133459,"end":1787079133459,"device":"6a78faa4027c0503e40c13c8","metadata":{"button":{"text":"left"}}},"type":"add"}
Is there a potential that the integration does not have a integration yet in place to recognized the button push (left, right, single press, double press, long press) of the key fob.
If not, from the log, can there be an actual trigger that can be tagged from this log data that would allow me to enable the integration as an iterim.
The other detail is, when the unifi protect key fob triggers a "Arm Away" profile, will that in the log give a tag of relevance that I could trigger an event as described in the use case above to satisfy the use case
Any help is great appreciated.