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

Device_trackers picked by integration all show as Unavailable #79

Open
deeteeakl opened this issue Aug 24, 2022 · 1 comment
Open

Device_trackers picked by integration all show as Unavailable #79

deeteeakl opened this issue Aug 24, 2022 · 1 comment

Comments

@deeteeakl
Copy link

I have tried de-installing and re-installing a couple of time but the issue remains. I have attached the log file entry relating to the integration and its showing "Session closed", not sure if that might related. I installed this integration to try and track whether certain devices were connected to the wifi or not.. I could have sworn this worked a day or two ago.

This error originated from a custom integration.

Logger: custom_components.googlewifi
Source: custom_components/googlewifi/init.py:171
Integration: Google WiFi (documentation, issues)
First occurred: 23 August 2022 at 20:44:59 (3122 occurrences)
Last logged: 22:48:47

Unexpected error fetching GoogleWifi data: Session is closed
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 205, in _async_refresh
self.data = await self._async_update_data()
File "/config/custom_components/googlewifi/init.py", line 171, in _async_update_data
system_data = await self.api.get_systems()
File "/usr/local/lib/python3.10/site-packages/googlewifi/init.py", line 188, in get_systems
response = await self.get_api(url, headers, payload)
File "/usr/local/lib/python3.10/site-packages/googlewifi/init.py", line 63, in get_api
async with self._session.get(
File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 1138, in aenter
self._resp = await self._coro
File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 399, in _request
raise RuntimeError("Session is closed")
RuntimeError: Session is closed

@deeteeakl
Copy link
Author

I just rebooted the server HA is on and the integration is working again. Not seeing any errors in the log either for now.

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