eelcohn / home-assistant-rdw

RDW sensor module for Home Assistant
7 stars 2 forks source link

APK date is a string #8

Closed metbril closed 4 years ago

metbril commented 4 years ago

The expired sensor is a formatted string. It would be better/best if it is an actual datetime type sensor. It can then be formatted according to the user's preferences and can be used more easily in calculations.

Compare with the time_date sensor:

https://www.home-assistant.io/integrations/time_date/

eelcohn commented 4 years ago

Agreed. Do you know where the default datetime sensor type and/or format is defined?

Edit: disregard that, already found it.

eelcohn commented 4 years ago

This is fixed in the latest release of the RDW platform (v2.9.0). I've just pushed it to the github repository.