What is going wrong?
In logbook i find the following message:
Logger: homeassistant.components.websocket_api.http.connection Source: components/modbus/validators.py:169 Integration: Home Assistant WebSocket API (documentation, issues) First occurred: 11:09:05 (4 occurrences) Last logged: 11:41:06
[547235921600] ‘str’ object has no attribute ‘get’ [547235692864] ‘str’ object has no attribute ‘get’ Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py”, line 226, in handle_call_service*
await hass.services.async_call(*
File “/usr/src/homeassistant/homeassistant/core.py”, line 1974, in async_call*
response_data = await coro*
^^^^^^^^^^*
File “/usr/src/homeassistant/homeassistant/core.py”, line 2011, in _execute_service*
return await target(service_call)*
^^^^^^^^^^^^^^^^^^^^^^^^^^*
File “/usr/src/homeassistant/homeassistant/components/hassio/init.py”, line 565, in async_handle_core_service*
Logger: homeassistant.components.websocket_api.http.connection
Source: components/modbus/validators.py:169
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 11:09:05 (6 occurrences)
Last logged: 21:39:26
[547235921600] 'str' object has no attribute 'get'
[547235692864] 'str' object has no attribute 'get'
[547184815040] 'str' object has no attribute 'get'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 226, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1974, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2011, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 565, in async_handle_core_service
errors = await conf_util.async_check_ha_config_file(hass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config.py", line 978, in async_check_ha_config_file
res = await check_config.async_check_ha_config_file(hass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/check_config.py", line 182, in async_check_ha_config_file
config = config_schema(config)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 595, in validate_dict
return base_validate(path, iteritems(data), out)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 387, in validate_mapping
cval = cvalue(key_path, value)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/voluptuous/validators.py", line 229, in _run
return self._exec(self._compiled, value, path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/voluptuous/validators.py", line 353, in _exec
v = func(path, v)
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 818, in validate_callable
return schema(data)
^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/modbus/validators.py", line 169, in scan_interval_validator
scan_interval = entry.get(CONF_SCAN_INTERVAL, DEFAULT_SCAN_INTERVAL)
^^^^^^^^^
AttributeError: 'str' object has no attribute 'get'