travisghansen / hass-opnsense

OPNsense integration with Home Assistant
194 stars 25 forks source link

Timezone Warning (Eventually will raise an exception) #136

Closed WizRd0 closed 1 day ago

WizRd0 commented 4 months ago

Home Assistant Logs

This error originated from a custom integration.

Logger: py.warnings Source: custom_components/opnsense/pyopnsense/init.py:301 integration: OPNsense (documentation, issues) First occurred: 7:44:52 AM (2 occurrences) Last logged: 7:45:25 AM

/usr/local/lib/python3.12/site-packages/dateutil/parser/_parser.py:1207: UnknownTimezoneWarning: tzname ACST identified but not understood. Pass tzinfos argument in order to correctly return a timezone-aware datetime. In a future version, this will raise an exception. warnings.warn("tzname {tzname} identified but not understood. "

madansu commented 3 months ago

I am having the same issue I am using the dockerized version of home assistant (2024.5.2), and keep getting these errors in my logs [py.warnings] /usr/local/lib/python3.12/site-packages/dateutil/parser/_parser.py:1207: UnknownTimezoneWarning: tzname PDT identified but not understood. Pass tzinfos argument in order to correctly return a timezone-aware datetime. In a future version, this will raise an exception. warnings.warn("tzname {tzname} identified but not understood. "

alexdelprete commented 1 day ago

please test v0.2.0 and in case create another issue.