as discussed in issue #755 this PR changes the datatype of the attribute keys of the daily driving stats sensor to string using the default date-format of Python "%Y-%m-%d". I hard-coded the format to avoid problems if for any reason the default date to string conversion of Python should change in the future. The change is neccessary to overcome the limitation of the InfluxDB integration which at the moment allows only for string-type attribute keys.
Hello,
as discussed in issue #755 this PR changes the datatype of the attribute keys of the daily driving stats sensor to string using the default date-format of Python "%Y-%m-%d". I hard-coded the format to avoid problems if for any reason the default date to string conversion of Python should change in the future. The change is neccessary to overcome the limitation of the InfluxDB integration which at the moment allows only for string-type attribute keys.
Best regards.