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
Error during setup of component circadian_lighting
Traceback (most recent call last):
File "/config/custom_components/circadian_lighting/init.py", line 204, in _get_sun_events
location = astral.location.Location()
AttributeError: module 'astral' has no attribute 'location'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 235, in _async_setup_component
result = await task
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/circadian_lighting/init.py", line 108, in setup
hass.data[DOMAIN] = CircadianLighting(
File "/config/custom_components/circadian_lighting/init.py", line 157, in init
self._percent = self.calc_percent()
File "/config/custom_components/circadian_lighting/init.py", line 260, in calc_percent
today = self._relevant_events(now)
File "/config/custom_components/circadian_lighting/init.py", line 251, in _relevant_events
sun_events = self._get_sun_events(now + timedelta(days=days))
File "/config/custom_components/circadian_lighting/init.py", line 206, in _get_sun_events
location = astral.Location()
AttributeError: module 'astral' has no attribute 'Location'
The text was updated successfully, but these errors were encountered:
Error during setup of component circadian_lighting
Traceback (most recent call last):
File "/config/custom_components/circadian_lighting/init.py", line 204, in _get_sun_events
location = astral.location.Location()
AttributeError: module 'astral' has no attribute 'location'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 235, in _async_setup_component
result = await task
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/circadian_lighting/init.py", line 108, in setup
hass.data[DOMAIN] = CircadianLighting(
File "/config/custom_components/circadian_lighting/init.py", line 157, in init
self._percent = self.calc_percent()
File "/config/custom_components/circadian_lighting/init.py", line 260, in calc_percent
today = self._relevant_events(now)
File "/config/custom_components/circadian_lighting/init.py", line 251, in _relevant_events
sun_events = self._get_sun_events(now + timedelta(days=days))
File "/config/custom_components/circadian_lighting/init.py", line 206, in _get_sun_events
location = astral.Location()
AttributeError: module 'astral' has no attribute 'Location'
The text was updated successfully, but these errors were encountered: