-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
JSON object issue #17
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like whatever is returned is not valid JSON ?
2024-01-12 12:17:58.260 ERROR (MainThread) [homeassistant.setup] Error during setup of component min_renovasjon Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/setup.py", line 332, in _async_setup_component result = await task ^^^^^^^^^^ File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/min_renovasjon/__init__.py", line 59, in setup min_renovasjon = MinRenovasjon( ^^^^^^^^^^^^^^ File "/config/custom_components/min_renovasjon/__init__.py", line 74, in __init__ self._kalender_list = self._get_calendar_list() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/min_renovasjon/__init__.py", line 141, in _get_calendar_list kalender_list = self._parse_calendar_list(tommekalender, fraksjoner) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/min_renovasjon/__init__.py", line 157, in _parse_calendar_list tommekalender_json = json.loads(tommekalender) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/__init__.py", line 339, in loads raise TypeError(f'the JSON object must be str, bytes or bytearray, ' TypeError: the JSON object must be str, bytes or bytearray, not NoneType
The text was updated successfully, but these errors were encountered: