Feature request: Support `device_class` for switches in HA integration
envy opened this issue · comments
Nico Weichbrodt commented
Switches can have a device class (see https://www.home-assistant.io/integrations/switch/) but I cannot set it from the knx integration.
It would be nice to be able to set it, like we can set it for sensors.
Marvin Wichmann commented
Hey! The only reason we set it for sensors is that we need to know the DPT Type that is used to decode the payload from the bus.
We do not intend to add this to switches. Please use the customization feature in Home Assistant which is perfectly able to handle your use case without us even intervening :).