### The problem
2022-06-15 15:17:58 WARNING (Recorder) [homeassistant.component…s.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2022-06-15 15:17:58 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=17 from 2022-06-15 13:17:29.082177)
2022-06-15 15:17:59 WARNING (SyncWorker_4) [lupupy] Lupupy couldn't parse provided response: while parsing a block mapping
in "<unicode string>", line 1, column 3:
"updates" : {
^
expected <block end>, but found ','
in "<unicode string>", line 21, column 4:
},
^, "updates" : {
"mode_a1" : "{AREA_MODE_1}",
"mode_a2" : "{AREA_MODE_0}",
"fw_updated" : "0",
"fw_auto" : "1",
"dc_ex" : "1",
"alarm_ex" : "0",
"battery_ex" : "1",
"battery_ok" : "1",
"battery" : "{WEB_MSG_NORMAL}",
"tamper_ok" : "1",
"tamper" : "{WEB_MSG_NA}",
"interference_ok" : "1",
"interference" : "{WEB_MSG_NORMAL}",
"ac_activation_ok" : "1",
"ac_activation" : "{WEB_MSG_NORMAL}",
"sys_in_inst": "",
"rssi" : "1",
"sig_gsm_ok" : "0",
"sig_gsm" : "{WEB_MSG_NA}"
},
"forms" : {
"pcondform1" : {
"mode" : "1",
"f_arm" : "0"
},
"pcondform2" : {
"mode" : "0",
"f_arm" : "0"
}
}
2022-06-15 15:17:59 ERROR (MainThread) [homeassistant.setup] 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.9/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.9/site-packages/lupupy/__init__.py", line 42, in __init__
self._panel = self.get_panel()
File "/usr/local/lib/python3.9/site-packages/lupupy/__init__.py", line 127, in get_panel
panel = self.clean_json(response.text)["updates"]
TypeError: string indices must be integers
### What version of Home Assistant Core has the issue?
2022.6.6
### What was the last working version of Home Assistant Core?
_No response_
### What type of installation are you running?
Home Assistant Container
### Integration causing the issue
_No response_
### Link to integration documentation on our website
_No response_
### Diagnostics information
2022-06-15 15:17:58 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2022-06-15 15:17:58 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=17 from 2022-06-15 13:17:29.082177)
2022-06-15 15:17:59 WARNING (SyncWorker_4) [lupupy] Lupupy couldn't parse provided response: while parsing a block mapping
in "<unicode string>", line 1, column 3:
"updates" : {
^
expected <block end>, but found ','
in "<unicode string>", line 21, column 4:
},
^, "updates" : {
"mode_a1" : "{AREA_MODE_1}",
"mode_a2" : "{AREA_MODE_0}",
"fw_updated" : "0",
"fw_auto" : "1",
"dc_ex" : "1",
"alarm_ex" : "0",
"battery_ex" : "1",
"battery_ok" : "1",
"battery" : "{WEB_MSG_NORMAL}",
"tamper_ok" : "1",
"tamper" : "{WEB_MSG_NA}",
"interference_ok" : "1",
"interference" : "{WEB_MSG_NORMAL}",
"ac_activation_ok" : "1",
"ac_activation" : "{WEB_MSG_NORMAL}",
"sys_in_inst": "",
"rssi" : "1",
"sig_gsm_ok" : "0",
"sig_gsm" : "{WEB_MSG_NA}"
},
"forms" : {
"pcondform1" : {
"mode" : "1",
"f_arm" : "0"
},
"pcondform2" : {
"mode" : "0",
"f_arm" : "0"
}
}
2022-06-15 15:17:59 ERROR (MainThread) [homeassistant.setup] 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.9/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.9/site-packages/lupupy/__init__.py", line 42, in __init__
self._panel = self.get_panel()
File "/usr/local/lib/python3.9/site-packages/lupupy/__init__.py", line 127, in get_panel
panel = self.clean_json(response.text)["updates"]
TypeError: string indices must be integers
### Example YAML snippet
_No response_
### Anything in the logs that might be useful for us?
_No response_
### Additional information
_No response_