Hi everyone,
I’m new to HA, I’m using Openhab and I’m considering to move to HA but I need support for BTicino MyHome. I have a MH202, I tried this integration but it keeps failing to set up. I’ve pasted the log below. Could anyone help me? Thank you.
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun home-assistant (no readiness notification)
s6-rc: info: service legacy-services successfully started
2025-11-30 20:05:59.282 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration myhome which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-11-30 20:05:59.283 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-11-30 20:06:00.771 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry MH202_1 Gateway for myhome
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 761, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/myhome/__init__.py", line 63, in async_setup_entry
_validated_config = config_schema(yaml.safe_load(await yaml_file.read()))
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/yaml/__init__.py", line 125, in safe_load
return load(stream, SafeLoader)
File "/usr/local/lib/python3.13/site-packages/yaml/__init__.py", line 81, in load
return loader.get_single_data()
~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/yaml/constructor.py", line 49, in get_single_data
node = self.get_single_node()
File "/usr/local/lib/python3.13/site-packages/yaml/composer.py", line 36, in get_single_node
document = self.compose_document()
File "/usr/local/lib/python3.13/site-packages/yaml/composer.py", line 55, in compose_document
node = self.compose_node(None, None)
File "/usr/local/lib/python3.13/site-packages/yaml/composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
File "/usr/local/lib/python3.13/site-packages/yaml/composer.py", line 127, in compose_mapping_node
while not self.check_event(MappingEndEvent):
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/yaml/parser.py", line 98, in check_event
self.current_event = self.state()
~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/yaml/parser.py", line 428, in parse_block_mapping_key
if self.check_token(KeyToken):
~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/yaml/scanner.py", line 116, in check_token
self.fetch_more_tokens()
~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/yaml/scanner.py", line 223, in fetch_more_tokens
return self.fetch_value()
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/yaml/scanner.py", line 577, in fetch_value
raise ScannerError(None, None,
"mapping values are not allowed here",
self.get_mark())
yaml.scanner.ScannerError: mapping values are not allowed here
in "<unicode string>", line 2, column 7:
mac: '00:03:50:d3:75:a1'
^
2025-11-30 20:06:10.341 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'myhome' sets option flow config_entry explicitly, which is deprecated at custom_components/myhome/config_flow.py, line 384: self.config_entry = config_entry. This will stop working in Home Assistant 2025.12, please create a bug report at https://github.com/anotherjulien/MyHOME/issues