I’m working on some enhancements to the current Matter integration to allow a user to set the value of Matter cluster attributes. The most straightforward approach seems, to me, to be to use the Number entity (Number entity) to add a number.py type to the Matter integration. I’ve been able to get the basic code to work.
However, one problem I’m having is that some attributes are “Nullable” and it seems the Number entity doesn’t allow you to leave a “blank” for the control input instead of a number. At least I can’t figure it out. So, looking for some thoughts: 1) Can you “null” the input to a Number entity, or 2) if not, any suggestions on how to handle (maybe input everything as text, instead, but then you lose the input range checking and ability to lose slider inputs).