Limych / ha-gismeteo

Gismeteo Weather Provider for Home Assistant
Other
117 stars 21 forks source link

Fix time handling #71

Closed quthla closed 2 years ago

quthla commented 2 years ago

Breaking change

Proposed change

Closes https://github.com/Limych/ha-gismeteo/issues/60

Time handling was a bit messy and overwriting default time zone of dt_util is also a bad idea as that might have an influence on other components and even HA itself

Type of change

Example entry for configuration.yaml:

# Example configuration.yaml

Additional information

Checklist

If user exposed functionality or configuration variables are added/changed:

Limych commented 2 years ago

Please fix lint errors:

custom_components/gismeteo/api.py:15:1: F401 'datetime.datetime' imported but unused

vegetate7 commented 2 years ago

Is this PR abandoned by author? @Limych can you fix this youself?

ahh. Just forget about it. This PR is not compaible with latest dev (2.4.0-beta1 atm), because of timestamp / datetime messes.