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
Binary sensor for ISS not returning any information (follow-up to #60647) #63976
Comments
iss documentation |
Please take a look at this as it's a straight forward integration that now does not connect to the designated NASA API properly (or at least that's how I read the error log). |
I'd like to take advantage of recent HA developments, but while this item is broken I am unable to upgrade. As it's been outstanding for 6 months I think it should be fixed as a priority over development please. Thanks |
Works fine for me as well. The above posted exception can only occur if for some reason the NASA service did not provide position information back. |
Is this a docker container version issue? I've set up a workaround using a second container running 2021.6.6 for ISS data and connecting to main container using MQTT. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
The newly written Integration allows this to now work, however I do not want to upgrade to it because of other issues, so I am keeping my workaround. |
The problem
See issue #60647 which was closed by the gitbot before being addressed.
to repeat ... this Integration is broken... and has been for some time.
HA version 2021.6.6 has a working binary sensor for NASA International Space Station (ISS) info . Using all subsequent HA versions, NO information is now returned from the interface as it is unable to initialise judging by the error log entry.
The interface is still working on version 2021.6.6 so I assume the NASA end is still functioning ok.
What version of Home Assistant Core has the issue?
all versions onwards from last working version
What was the last working version of Home Assistant Core?
core-2021.6.6
What type of installation are you running?
Home Assistant Container
Integration causing the issue
NASA ISS
Link to integration documentation on our website
https://www.home-assistant.io/integrations/iss/
Example YAML snippet
Anything in the logs that might be useful for us?
Logger: homeassistant.components.binary_sensor Source: components/iss/binary_sensor.py:96 Integration: Binary Sensor (documentation, issues) First occurred: 28 November 2021, 20:23:10 (2 occurrences) Last logged: 28 November 2021, 20:23:10 Error adding entities for domain binary_sensor with platform iss Error while setting up iss platform for binary_sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 607, in _async_add_entity await entity.add_to_platform_finish() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 715, in add_to_platform_finish self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 486, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 522, in _async_write_ha_state extra_state_attributes = self.extra_state_attributes File "/usr/src/homeassistant/homeassistant/components/iss/binary_sensor.py", line 96, in extra_state_attributes attrs["long"] = self.iss_data.position.get("longitude") AttributeError: 'NoneType' object has no attribute 'get'
Additional information
No response
The text was updated successfully, but these errors were encountered: