XKNX/xknx

HA device class CURRENT missing

KNXBroker opened this issue · 1 comments

Description of problem:

  • using xknx standalone
  • using Home-Assistant knx integration

Hi, since home assistant 2023.1 A and mA can be converted via the user user interface. I noticed that this is not possible with KNX integration as the CURRENT device class is not automatically set.
I have defined it manually, okay for me, however I was just wondering why this is not done automatically...
Maybe there are other device classes missing in the meantime as well, did not yet check it (typing on my mobile phone).

As always great work 👍

Yeah, there have been a lot of changes in device classes recently and I don't know if there are any changelogs regarding these (except full HA release notes which are ... a long read).

Feel free to add ha_device_class where applicable.

I think in the long run these things shouldn't be handled in xknx DPT classes, but defined in the HA integration so maintainability gets easier (HA refactorings would also hit the knx Integration) and no xknx release is needed for updates.