Hyundai-Kia-Connect / kia_uvo

A Home Assistant HACS integration that supports Kia Connect(Uvo) and Hyundai Bluelink. The integration supports the EU, Canada and the USA.
MIT License
398 stars 84 forks source link

fix: Workaround to overcome limiations in InfluxDB #756

Closed Triple-S closed 8 months ago

Triple-S commented 8 months ago

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.