You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following error when trying to login to de server with my xiaomi account:
Logger: aiohttp.server
Source: custom_components/xiaomi_airfryer/config_flow.py:235
Integration: Xiaomi AirFryer (documentation, issues)
First occurred: 08:31:43 (3 occurrences)
Last logged: 08:33:03
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 82, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 136, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 180, in post
return await super().post(request, flow_id)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 73, in wrapper
result = await method(view, request, data, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
result = await self._flow_mgr.async_configure(flow_id, data)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 280, in async_configure
result = await self._async_handle_step(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 367, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
File "/config/custom_components/xiaomi_airfryer/config_flow.py", line 235, in async_step_cloud
miio_cloud = MiCloud(cloud_username, cloud_password)
File "/usr/local/lib/python3.10/site-packages/micloud/micloud.py", line 38, in init
timezone = datetime.datetime.now(tzlocal.get_localzone()).strftime('%z')
File "/usr/local/lib/python3.10/site-packages/tzlocal/unix.py", line 203, in get_localzone
_cache_tz = _get_localzone()
File "/usr/local/lib/python3.10/site-packages/tzlocal/unix.py", line 161, in _get_localzone
tzenv = utils._tz_from_env()
File "/usr/local/lib/python3.10/site-packages/tzlocal/utils.py", line 125, in _tz_from_env
raise ZoneInfoNotFoundError(
tzlocal.utils.ZoneInfoNotFoundError: 'tzlocal() does not support non-zoneinfo timezones like %s. \nPlease use a timezone in the form of Continent/City'
The text was updated successfully, but these errors were encountered:
n1c0la84
changed the title
tzlocal() does not support non-zoneinfo timezones like %s. \nPlease use a timezone in the form of Continent/City
tzlocal() does not support non-zoneinfo timezones like %s. Please use a timezone in the form of Continent/City
Dec 14, 2022
Hi,
I get the following error when trying to login to de server with my xiaomi account:
Logger: aiohttp.server
Source: custom_components/xiaomi_airfryer/config_flow.py:235
Integration: Xiaomi AirFryer (documentation, issues)
First occurred: 08:31:43 (3 occurrences)
Last logged: 08:33:03
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 82, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 136, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 180, in post
return await super().post(request, flow_id)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 73, in wrapper
result = await method(view, request, data, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
result = await self._flow_mgr.async_configure(flow_id, data)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 280, in async_configure
result = await self._async_handle_step(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 367, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
File "/config/custom_components/xiaomi_airfryer/config_flow.py", line 235, in async_step_cloud
miio_cloud = MiCloud(cloud_username, cloud_password)
File "/usr/local/lib/python3.10/site-packages/micloud/micloud.py", line 38, in init
timezone = datetime.datetime.now(tzlocal.get_localzone()).strftime('%z')
File "/usr/local/lib/python3.10/site-packages/tzlocal/unix.py", line 203, in get_localzone
_cache_tz = _get_localzone()
File "/usr/local/lib/python3.10/site-packages/tzlocal/unix.py", line 161, in _get_localzone
tzenv = utils._tz_from_env()
File "/usr/local/lib/python3.10/site-packages/tzlocal/utils.py", line 125, in _tz_from_env
raise ZoneInfoNotFoundError(
tzlocal.utils.ZoneInfoNotFoundError: 'tzlocal() does not support non-zoneinfo timezones like %s. \nPlease use a timezone in the form of Continent/City'
The text was updated successfully, but these errors were encountered: