You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per ZCL, unit_of_measure should be read-only, but #267 might cause the KeyError now.
Since unit_of_measure is of type enum8, but not a "defined enum" with members, ZHA can't convert it to the actual Enum.member type. I think we should just return 7 in convert_zcl_value then (and not error out). That should work IIRC.
Are you using a custom Zigbee device where unit_of_measure is writeable or what are you trying to do?
Thanks for your reply, I understand I think I have only device in the world with writable unit_of_mesure. It's zipulse from like : https://github.com/fairecasoimeme/ZiPulses. It's device that count pulse and we can configure unit_of_measure. By default it's kWh but I need to move it to L (7).
Hello,
Since last update of HA I have an error when I try to set unit_of_measure on cluster metering at any value other than 0 or 1.
Here what I try to do :
And here the error log :
I don't understand why I go this.
Thanks in advance,
The text was updated successfully, but these errors were encountered: