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
The python astral package has recently been updated. Arch Linux ships with version 2.1 at the moment which seems to be incompatible with Home Assistant.
Environment
Home Assistant release with the issue: 0.105.3
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.): Arch Linux
Feb 13 16:59:00 hass hass[1903]: 2020-02-13 16:59:00 ERROR (MainThread) [homeassistant.setup] Error during setup of component sun
Feb 13 16:59:00 hass hass[1903]: Traceback (most recent call last):
Feb 13 16:59:00 hass hass[1903]: File "/usr/lib/python3.8/site-packages/homeassistant/setup.py", line 169, in _async_setup_component
Feb 13 16:59:00 hass hass[1903]: result = await component.async_setup( # type: ignore
Feb 13 16:59:00 hass hass[1903]: File "/usr/lib/python3.8/site-packages/homeassistant/components/sun/__init__.py", line 82, in async_setup
Feb 13 16:59:00 hass hass[1903]: Sun(hass)
Feb 13 16:59:00 hass hass[1903]: File "/usr/lib/python3.8/site-packages/homeassistant/components/sun/__init__.py", line 106, in __init__
Feb 13 16:59:00 hass hass[1903]: update_location(None)
Feb 13 16:59:00 hass hass[1903]: File "/usr/lib/python3.8/site-packages/homeassistant/components/sun/__init__.py", line 103, in update_location
Feb 13 16:59:00 hass hass[1903]: self.location = get_astral_location(self.hass)
Feb 13 16:59:00 hass hass[1903]: File "/usr/lib/python3.8/site-packages/homeassistant/helpers/sun.py", line 22, in get_astral_location
Feb 13 16:59:00 hass hass[1903]: from astral import Location
Feb 13 16:59:00 hass hass[1903]: ImportError: cannot import name 'Location' from 'astral' (/usr/lib/python3.8/site-packages/astral/__init__.py)
Additional information
The text was updated successfully, but these errors were encountered:
Im seeing this issue in my venv - astral-2.1.dist-info
How do I fix a version?
Ignore me - I made a HA upgrade script whitch upgrade pip packages also - and I think it ignored HA requirements. Fresh install and disabled pip package upgrades
The problem
The python astral package has recently been updated. Arch Linux ships with version 2.1 at the moment which seems to be incompatible with Home Assistant.
Environment
Problem-relevant
configuration.yaml
sun:
Traceback/Error logs
Additional information
The text was updated successfully, but these errors were encountered: