Open kekeao opened 1 month ago
Hard to read the unformatted device information on my phone. Seems that if has multiple things that would be mapped as an Stateless Programmable Switch on the same endpoint.
Currently that's not supported by homebridge-z2m. One of them may still work, given that if does print out a mapping.
Note that in a recent update, Apple changed something in their Home.app that makes some Stateless Programmable Switch services not show up correctly (according to reports from others, did not check myself). A third party app like Eve or Controller for HomeKit may help in that situation.
Hey, high five to you. Because after 1 week of searching and trying you solved my problem. With the eve app i was able to get the cube visible in homekit with all buttons. Now i can use it finally. A big thank you !
So this issue can be closed?
Is there an existing issue for this?
Describe the bug
I am trying to add my Aqara Cube T1 Pro via Homebridge and z2m to my homekit, but i get an error message. I tryed to find a solution via searching the web but nothing works for me. I deleted the accessory folder in homebridge, and i also deactivate all other plugins that i have but the message remains, and i could not add any switches for the Cube into homekit.
[6/4/2024, 9:26:14 AM] [homebridge-z2m] Failed to setup stateless programmable switch for accessory AqaraCube from expose "{"access":1,"category":"diagnostic","description":"Triggered action (e.g. a button click)","label":"Action","name":"action","property":"action","type":"enum","values":["shake","throw","tap","slide","flip180","flip90","hold","side_up","rotate_left","rotate_right","1_min_inactivity","flip_to_side"]}" and mapping "{"valueLongPress":"hold","serviceLabelIndex":4}", error: Error: Cannot add a Service with the same UUID '00000089-0000-1000-8000-0026BB765291' as another Service in this Accessory without also defining a unique 'subtype' property. [6/4/2024, 9:26:14 AM] [homebridge-z2m] Mapping of property 'action' of device 'AqaraCube': Button 1 (1_min_inactivity):
Related devices
aqara cubi T1 pro
Related Devices
No response
Steps To Reproduce
No response
Expected behavior
No response
Device entry
Status update
No response
Messages from this plugin
No response
This plugin
v1.9.3
Homebridge
v20.12.2
Zigbee2MQTT
v1.9.3
Homebridge Config UI X (if applicable)
No response