Closed Yevrashka closed 6 years ago
I have added a version of this fix on the latest library. Could you please try v3.0.3 and let me know if that does not work for you?
Thanks a lot! v.3.0.3 was added to the prerelease beta of Home Assistant yesterday, so I will check it after release. Hope it will work properly.
you can just bump the version manually on the component to the latest one and try it out without updating HA. Actually please use 3.0.5 since I fixed something else there too.
All the libs are on the host system but I have no access to the host system from the hassio docker container, so have to wait until release..
@Yevrashka Any updates on this?
Still doesn't work for me on v.3.0.3
Here is a part of the log that shows the error in HA, don't know if it will help somehow
ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform google_maps Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/__init__.py", line 184, in async_setup_platform disc_info) File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/google_maps.py", line 46, in setup_scanner scanner = GoogleMapsScanner(hass, config, see) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/google_maps.py", line 66, in __init__ self._update_info() File "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/google_maps.py", line 78, in _update_info for person in self.service.get_all_people(): File "/usr/local/lib/python3.6/site-packages/locationsharinglib/locationsharinglib.py", line 459, in get_all_people people = self.get_shared_people() + [self.get_authenticated_person()] File "/usr/local/lib/python3.6/site-packages/locationsharinglib/locationsharinglib.py", line 421, in get_shared_people for info in output[0]: TypeError: 'NoneType' object is not iterable
Please try v3.0.6. The problem should be fixed in that version.
v.3.0.6 doesn't help, got the same errors as here https://github.com/costastf/locationsharinglib/issues/42
Could you please add this fix to the lib? It helps many people using your lib in HomeAssistant. Thanks! https://github.com/jedi7/locationsharinglib/commit/e0cb8e6afd2269c7cadbdcc77b33b0a8ada7584a