Hello,
I recently update HA (Docker version) to 2022.10.2.
My MQTT sensors don’t work anymore.
Here is my configuration.yaml :
mqtt:
broker: 192.168.0.182
port: 1883
username: xxx
password: xxx
sensor:
- state_topic: "mst/chauffage/mst/temp/phenrysalle"
name: "ch_temp_phenrysalle"
unit_of_measurement: "°C"
value_template: "{{ value_json.temperature }}"
Here is the log error :
Logger: homeassistant.components.websocket_api.http.connection
Source: config.py:701
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 11:20:28 (7 occurrences)
Last logged: 11:30:14
[140158126318512] 'NodeListClass' object has no attribute 'get'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 202, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1738, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1775, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 748, in admin_handler
await result
File "/usr/src/homeassistant/homeassistant/components/mqtt/__init__.py", line 411, in _reload_config
await async_reload_integration_platforms(hass, DOMAIN, RELOADABLE_PLATFORMS)
File "/usr/src/homeassistant/homeassistant/helpers/reload.py", line 41, in async_reload_integration_platforms
unprocessed_conf = await conf_util.async_hass_config_yaml(hass)
File "/usr/src/homeassistant/homeassistant/config.py", line 355, in async_hass_config_yaml
await merge_packages_config(hass, config, core_config.get(CONF_PACKAGES, {}))
File "/usr/src/homeassistant/homeassistant/config.py", line 779, in merge_packages_config
error = _recursive_merge(conf=config[comp_name], package=comp_conf)
File "/usr/src/homeassistant/homeassistant/config.py", line 693, in _recursive_merge
error = _recursive_merge(conf=conf[key], package=pack_conf)
File "/usr/src/homeassistant/homeassistant/config.py", line 701, in _recursive_merge
if conf.get(key) is not None:
AttributeError: 'NodeListClass' object has no attribute 'get'
To make the HA update, I had to comment all the MQTT section in my configuration.yaml…
Can you help me on that ?
Thank in advance