Legrand/Bticino MyHome

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

Please post Your MyHome configuration file.

It’s very basic, because I wanted to be sure the MH202 was recognized by HA before proceeding with the device configuration. I have many devices (about 50), and I didn’t want to do all that work without knowing whether the system would actually work.

Thanks

gateway: MH202
   mac: '00:03:50:d3:75:a1'
  light:
   studio:
    where: '16'
    name: Studio
    dimmable: False
    manufacturer: BTicino
    model: F418
  luce studio:
   where: '17'
   name: Studio
   dimmable: False
   manufacturer: BTicino
   model: F418

Is it possible to know if the new server Bticino F460 is supported by program? Thank you

No F460 don’t have support to Openwebnet thus no third parties software can connect to. You need to replace with a F461

1 Like

Hi, I was fiddling around trying to integrate the 460 with HA until I found your answer. The only thing I can think of is that the 460 responds correctly to ssh queries…

I have an integration installed and configured via YAML, which works fine initially. However, after restarting Home Assistant, all devices appear unavailable.

For example:
Lights show two lightning icons instead of the normal on/off toggle. I can still control them, but their actual state is not visible.
Blinds can be controlled with up/down/stop buttons, but the current percentage is not shown.

Restarting Home Assistant alone doesn’t fix it. Sometimes I need to remove and reinstall the integration, and even then it may take several attempts to work properly.
Even with debug logging enabled, I don’t see any errors in the log.
I also tried the modified integration by rdr-66, but it didn’t resolve the issue.

Has anyone encountered this issue or knows what might cause it?

Did you try avoiding duplicate names?

Hello people!
I have updated to the latest HA OS and now the myhome integration doesn’t work anymore.

Home Assistant now runs on Python 3.12. myhome depends on OWNd==0.7.48
But OWNd 0.7.48 does NOT support Python 3.12

Is there a solution for this?

if are you running on Raspberry there is a paid solution, write me for info

So, is it confirmed that with the last update the openwebnet (Bticino Myhome) support is broken? I have a functioning system right now and I’m afraid to break it with the update. Any chances to to get it supported again in the future? I also have OpenHAB and bticino myhome is fully supported in OH5…

Hi everyone, can anyone tell me which Integration I should install to use my F454 web server within Home Assistant? I tried, looking for MyHome and OpenWebNet, but I can’t find an Integration. Thanks.