IHC integration

I messed up my original IHC integration and want to implement again. HA can locate my IHC controller and find the controller serial number. But keep failing the autos setup.

My Log:
Logger: homeassistant.config_entries
Source: config_entries.py:402
First occurred: 18:36:43 (1 occurrences)
Last logged: 18:36:43

Error setting up entry IHC Controller for ihc
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 402, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/config/custom_components/ihc/init.py”, line 56, in async_setup_entry
await hass.async_add_executor_job(manual_setup, hass, controller_id)
File “/usr/local/lib/python3.11/concurrent/futures/thread.py”, line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/config/custom_components/ihc/manual_setup.py”, line 126, in manual_setup
ihc_conf = MANUAL_SETUP_SCHEMA(yaml)[DOMAIN]
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
KeyError: ‘ihc’

image

Anyone knows how to solve the issue ?

I only use this in the config file

ihc:
  - url: 'http://192.168.1.3'
    username: !secret ihc_username
    password: !secret ihc_password
    info: true
    binary_sensor:
      - id: 4614748
        name: x_slukalt_udgang_værksted
        inverting: false
        note: v
        position: v
        type: light
      

Thank you ha_user22323
I’m running the Beta test version and found out that it was due to an known error: