Replies: 2 comments
-
@TheJulianJES Can you please help answer my questions? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@TheJulianJES Also, I actually think it would be nice if the content in the red box could be displayed in Sensors. After all, it's always a bit weird to show up what you've read from a device in Configuration. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Our vibration sensors report acceleration values in the X, Y, and Z axes when triggered. I want to show it on the page via quirks v2.
I searched for a long time and found that the Number method met my needs. After adding it in the code, it's really good.
The only problem is that the UI component generated by the Number method can be valued, and I just want to display the value reported by the device. How do I set its parameters in my code?
This is the private cluster function of our vibration sensor that I want to implement with Quirks v2:
In the red box of the image below, I implemented the effect locally, which looks good, and it would be nice if it could be set to read-only mode.

Please help provide a solution, thank you!
Beta Was this translation helpful? Give feedback.
All reactions