skodaconnect / homeassistant-myskoda

Homeassistant integration for MySkoda.
85 stars 14 forks source link

Remove DURATION type sensor due to rendering issues #337

Closed WebSpider closed 1 hour ago

WebSpider commented 1 day ago

When setting the sensor as a DURATION (which it factually is), homeassistant frontend will always render the value in hours, not days.

According to https://github.com/home-assistant/frontend/issues/18151 it is currently not possible to fix this in another way, so pragmatically, this is the way to inconvenience users the least.

WebSpider commented 1 day ago

Not convinced this is the best solution either. I'll think on it.