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’
Anyone knows how to solve the issue ?