core: Component Lupusec throws an error on HA core 2022.11.1
The problem
Just updated to HACore 2022.11.1. Now the Lupusec component does not start up!
What version of Home Assistant Core has the issue?
2022.11.1
What was the last working version of Home Assistant Core?
2022.10.5
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Lupusec
Link to integration documentation on our website
https://www.home-assistant.io/integrations/lupusec
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: homeassistant.setup
Source: components/lupusec/__init__.py:81
First occurred: 10:52:26 (1 occurrences)
Last logged: 10:52:26
Error during setup of component lupusec
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 235, in _async_setup_component
result = await task
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/lupusec/__init__.py", line 58, in setup
hass.data[DOMAIN] = LupusecSystem(username, password, ip_address, name)
File "/usr/src/homeassistant/homeassistant/components/lupusec/__init__.py", line 81, in __init__
self.lupusec = lupupy.Lupusec(username, password, ip_address)
File "/usr/local/lib/python3.10/site-packages/lupupy/__init__.py", line 53, in __init__
self.headers = {"X-Token": json.loads(response.text)["message"]}
File "/usr/local/lib/python3.10/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 27 (7 by maintainers)
Lupupy update is out. You can manually update the dependency to 0.2.0 or wait until it’s released in the next HA update.