Sensor: Add unit klx to illuminance

Some sonsors use the unit klx (kilo-lux) instead of lx.
The sensor platform should also take this and maybe convert it to lx for the frontend.

One word: templates

Sure I could do that - but Iā€™m developing an integration and as of now, I have to convert the unit to lx to avoid a warning in the logs.
Better way in my opinion is to support the unit natively in HA, as other sensor types already do.

1 Like