Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next Launch Payload Broken #13

Closed
adam-olson opened this issue Nov 6, 2020 · 0 comments
Closed

Next Launch Payload Broken #13

adam-olson opened this issue Nov 6, 2020 · 0 comments

Comments

@adam-olson
Copy link

Looks like the Next Launch Payload broke after the last launch, error appearing around every thirty seconds,


2020-11-05 21:18:47 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 119, in _handle_refresh_interval
await self.async_refresh()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 193, in async_refresh
update_callback()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 296, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 323, in _async_write_ha_state
attr.update(self.device_state_attributes or {})
File "/config/custom_components/spacex/sensor.py", line 328, in device_state_attributes
self.attrs["fairings_reused"] = launch_data["rocket"]["fairings"][
TypeError: 'NoneType' object is not subscriptable

@djtimca djtimca closed this as completed in 7741f37 Nov 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant