birdie1/victron

Homeassistant is getting spammed with warnings

niecore opened this issue · 2 comments

2022-01-24 23:34:16 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-01-24 23:34:16 WARNING (MainThread) [homeassistant.components.mqtt.mixins] Erroneous JSON: OFF
2022-01-24 23:34:16 WARNING (MainThread) [homeassistant.components.mqtt.mixins] Erroneous JSON: 0: None
2022-01-24 23:34:16 WARNING (MainThread) [homeassistant.components.mqtt.mixins] Erroneous JSON: SmartShunt 500A/50mV
2022-01-24 23:34:16 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-01-24 23:34:17 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-01-24 23:34:17 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-01-24 23:34:17 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-01-24 23:34:17 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-01-24 23:34:17 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-01-24 23:34:17 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-01-24 23:34:17 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-01-24 23:34:17 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-01-24 23:34:17 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-01-24 23:34:17 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-01-24 23:34:17 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-01-24 23:34:17 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-01-24 23:34:17 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-01-24 23:34:17 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-01-24 23:34:17 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-01-24 23:34:17 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-01-24 23:34:17 WARNING (MainThread) [homeassistant.components.mqtt.mixins] Erroneous JSON: 0xA389: SmartShunt 500A/50mV
2022-01-24 23:34:17 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-01-24 23:34:17 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-01-24 23:34:17 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-01-24 23:34:17 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-01-24 23:34:17 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-01-24 23:34:17 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary

I dont know what else could help with debugging the issue.

Are you using the smart shunt via bluetooth-ble protocol?

Please try to use the new version which I pushed a few minutes ago f68cc97. I removed json_attributes_topic from hass autodiscovery. I think this created the warnings.