Code Monkey home page Code Monkey logo

haihc-betatest's People

Contributors

dingusdk avatar holstebroe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

haihc-betatest's Issues

Home Assistant Errors

My controller:
HW V6.1
Firmware 2.7.199

Integration works ok in Home Assistant...
Able to control lights, switches,...

But the Home Assistant log continuously throws the following error:

`Logger: ihcsdk.ihcconnection
Source: /usr/local/lib/python3.11/site-packages/ihcsdk/ihcconnection.py:52
First occurred: 09:58:36 (1393 occurrences)
Last logged: 15:20:54

soap request exception ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
`

Already rebooted multiple times, error keeps coming back... Any idea?

Feature request: Long term statistics

Feature request:
Add long term statistics for sensors

state_class: measurement

Thers currently no easy way of adding the state_class attribute.

ihc_id:
ihc_name:
ihc_note:
ihc_position:
unit_of_measurement: °C
device_class: temperature
friendly_name:

No 'version' key in the manifest file

Describe the bug

The manifest file is missing the version attribute.

Debug log

2021-05-06 18:29:36 ERROR (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'ihc'. As of Home Assistant 2021.6, this integration will no longer be loaded. Please report this to the maintainer of 'ihc'

Wish: Adding battery "tryk" as a device

Would it be possible that battery "tryk" could be added directly as a device in the integration?

Right now I'm configuring each "tryk" as a binary sensor, so I can use them to control Ikea bulbs or my blinds, but would be nice to have it as a device.

Anyway excellent job on the integration, I really appreciate it alot.

FutureWarning behavior change

Warning on
Home Assistant 2023.9.1
Supervisor 2023.08.3
Operating System 10.5
Frontend 20230908.0 - latest

IHCBeta v2023.5.1

Logger: py.warnings
Source: /usr/local/lib/python3.11/warnings.py:109
First occurred: 6:59:40 PM (1 occurrences)
Last logged: 6:59:40 PM

/usr/local/lib/python3.11/site-packages/ihcsdk/ihcclient.py:136: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead. if elem:

Number rounding

Your IHC controller

IHC Visual 3 HW 7.1 - Firmware 3.3.45

Describe the bug

Rounding of numbers.

Numbers (e.g. temperature, humidity) end up being reported with many digits even though the controller only measures temperature, humidity with a 0.1 precision. It would be nice with a feature that would allow automatic rounding of numbers from sensors.

Debug log



Cannot find IHC under integration, after installing it with HACS

Your IHC controller

Have the newest version, LK IHC 7.1, running 3.3.44 software

Describe the bug

I cannot find and install the integration within HA integration, after i did the install in HACS

Debug log

Failed to connect to configured player '192.168.17.151': HTTPConnectionPool(host='192.168.17.151', port=1400): Max retries exceeded with url: /xml/ZoneGroupTopology1.xml (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7c72fcd0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
14.17.00 – (ADVARSEL) Sonos - beskeden forekom først kl. 14.05.55 og ses 22 gange
The unit of sensor.garage_battery (%) does not match the unit of already compiled statistics (None). Generation of long term statistics will be suppressed unless the unit changes back to None
14.10.10 – (ADVARSEL) Sensor
Error handling request
14.07.21 – (FEJL) /usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py - beskeden forekom først kl. 14.06.09 og ses 5 gange
The bridge HASS Bridge HKSE has entity lock.hoveddor. For best performance, and to prevent unexpected unavailability, create and pair a separate HomeKit instance in accessory mode for this entity
14.05.59 – (ADVARSEL) HomeKit - beskeden forekom først kl. 14.05.59 og ses 3 gange
Template warning: 'float' got invalid input 'unknown' when rendering template '{{ states('sensor.kokken_5754388') | float | round(1) }}' but no default was specified. Currently 'float' will return '0', however this template will fail to render in Home Assistant core 2022.1
14.05.58 – (ADVARSEL) helpers/template.py - beskeden forekom først kl. 14.05.58 og ses 16 gange
Received invalid cover is_on state: unknown. Expected: open, opening, closed, closing, true, false
14.05.58 – (FEJL) Template - beskeden forekom først kl. 14.05.58 og ses 2 gange
Command failed: grep -oP 'INTEGRATION_VERSION = "\K[^"]+' custom_components/hacs/const.py
14.05.51 – (FEJL) command_line
The configuration parameter 'state_characteristic' will become mandatory in a future release of the statistics integration. Please add 'state_characteristic: mean' to the configuration of sensor "Eloverblik Monthly Statistics" to keep the current behavior. Read the documentation for further details: https://www.home-assistant.io/integrations/statistics/
14.05.51 – (ADVARSEL) statistics
The 'entity_id' option near /config/include/sensor.yaml:166 is deprecated, please remove it from your configuration
14.05.49 – (ADVARSEL) Template - beskeden forekom først kl. 14.05.48 og ses 3 gange
Roomba 192.168.117.96 connection error, code UNKNOWN_ERROR
14.05.47 – (FEJL) /usr/local/lib/python3.9/site-packages/roombapy/roomba.py
Unknown error encounterd: ID=0.Please report this to: https://github.com/pschmitt/roombapy/issues/new
14.05.47 – (ADVARSEL) /usr/local/lib/python3.9/site-packages/roombapy/remote_client.py
[547788600368] Received invalid command: mobile_app/push_notification_channel
14.05.43 – (FEJL) Home Assistant WebSocket API - beskeden forekom først kl. 14.05.43 og ses 3 gange
Lovelace is running in storage mode. Define resources via user interface
14.05.39 – (ADVARSEL) Lovelace

``
2021-12-25_13h39_57
2021-12-25_13h39_40
2021-12-25_13h39_25
`

async_get_registry warning after updating to HA core to 2022.6.0

Device info
ELKONO 6.2
by Schneider Electric
Firmware: 2.8.3

After updating HomeAssistant Core to 2022.6.0 I get this warning in the System/Logs :

Detected integration that uses deprecated async_get_registry to access device registry, use async_get instead. Please report issue to the custom component author for ihc using this method at custom_components/ihc/init.py, line 176: device_registry = await dr.async_get_registry(hass),

image

Integration still works as expected.

Thanks for your time and effort in making this integration.
It's much appreciated 👍

Home Assistant takes long time to start/restart with IHC beta

Your IHC controller

IHC Controller and firmware version. (You should always have the latest firmware on your IHC controller)

LK 6.2 Firmware 2.8.4

Describe the bug

After adding the IHC beta it takes 3-4 minutes for me to start/restart Home Assistant.
During a restart Home Assistant only reaches the Home Assistant starting phase after 3½ minute.

If I disable the IHC beta integration (using the new Disable integration capability in Home Assistant 2021.3) the Home Assistant restarts reaches the Home Assistant starting phase in 5-10 secs. Which was the same time when using the non beta IHC integration.

Funny thing is that if I disable the IHC beta first, then do a restart, and the much faster restart completes I can go to the Integrations page and Enable the IHC integration and it is there right away.
So this issue may not be directly related to the IHC integration but somehow it triggers something in Home Assistant that takes a long time. I decided to log this bug anyway at least as a FYI that there is something strange with the this beta integration.

Debug log

Regarding the log there seems to be nothing interesting in there. I added a few _LOGGER.debug statements myself to just see if time was spend in init of the integration and is does not seem to be the case.


2021-03-06 09:01:54 WARNING (MainThread) [homeassistant.loader] You are using 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
2021-03-06 09:01:54 WARNING (MainThread) [homeassistant.loader] You are using a custom integration ihc 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
2021-03-06 09:01:54 WARNING (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'ihc'. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of 'ihc'
2021-03-06 09:01:54 WARNING (MainThread) [homeassistant.loader] You are using a custom integration nordpool 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
2021-03-06 09:01:54 WARNING (MainThread) [homeassistant.loader] You are using a custom integration nodered 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
2021-03-06 09:01:54 WARNING (MainThread) [homeassistant.loader] You are using a custom integration eloverblik 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
2021-03-06 09:01:54 WARNING (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'eloverblik'. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of 'eloverblik'
2021-03-06 09:01:54 WARNING (MainThread) [homeassistant.loader] You are using a custom integration simpleicons 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
2021-03-06 09:01:54 WARNING (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'simpleicons'. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of 'simpleicons'
2021-03-06 09:01:54 WARNING (MainThread) [homeassistant.loader] You are using a custom integration dyson_local 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
2021-03-06 09:01:54 WARNING (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'dyson_local'. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of 'dyson_local'
2021-03-06 09:01:54 WARNING (MainThread) [homeassistant.loader] You are using a custom integration dyson_cloud 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
2021-03-06 09:01:54 WARNING (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'dyson_cloud'. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of 'dyson_cloud'
2021-03-06 09:01:54 WARNING (MainThread) [homeassistant.loader] You are using a custom integration unifiprotect 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
2021-03-06 09:01:54 WARNING (MainThread) [homeassistant.loader] You are using a custom integration renoweb 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
2021-03-06 09:01:54 WARNING (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'renoweb'. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of 'renoweb'
2021-03-06 09:01:54 WARNING (MainThread) [homeassistant.loader] You are using a custom integration blitzortung 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
2021-03-06 09:01:54 WARNING (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'blitzortung'. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of 'blitzortung'
2021-03-06 09:01:54 WARNING (MainThread) [homeassistant.loader] You are using a custom integration ihcviewer 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
2021-03-06 09:01:54 WARNING (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'ihcviewer'. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of 'ihcviewer'
2021-03-06 09:01:55 DEBUG (SyncWorker_5) [custom_components.ihc] Setup starting
2021-03-06 09:01:55 DEBUG (SyncWorker_5) [custom_components.ihc] Setup service function starting
2021-03-06 09:01:56 WARNING (MainThread) [homeassistant.loader] You are using a custom integration airthings_cloud 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
2021-03-06 09:01:57 WARNING (MainThread) [homeassistant.loader] You are using a custom integration samsungtv_tizen 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
2021-03-06 09:01:57 WARNING (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'samsungtv_tizen'. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of 'samsungtv_tizen'
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc] async_setup_entry starting
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 4306962
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 4353042
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 4594450
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 840466
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 4791058
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 4801554
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 5215762
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 4809490
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 5244946
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 4751378
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 449554
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 4832530
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 4817426
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 4628828
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 128602
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 4331538
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 83034
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 83546
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 4870162
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 4878610
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 4315154
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 4311058
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 4326418
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 4322834
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 4319250
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 2138204
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 5204828
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 5203802
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 130138
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 100698
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 5468178
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 2603026
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 2652434
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 102747
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 1690971
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 4687453
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 5089371
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 4746846
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 5040731
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 4892251
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 4893019
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 93275
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 133211
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 89435
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 90203
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 4135698
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 3415826
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 4034834
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 462610
2021-03-06 09:01:57 DEBUG (MainThread) [custom_components.ihc.ihcdevice] Adding IHC entity notify event: 115035

Failing to set-up integration

STROMFORS 6.1
by Schneider Electric
Firmware: 2.7.190

Had the HA Integration but wanted to install the new Beta as I would really appreciate the IHC Viewer. Installed via HACS and deleted the yaml configuration, but the integration fails to load.

A clear and concise description of what the bug is.

Log Details (ERROR)
Logger: homeassistant.config_entries
Source: config_entries.py:399
First occurred: 08:05:26 (1 occurrences)
Last logged: 08:05:26

Error setting up entry IHC Controller for ihc
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 176, in parse_yaml
return _parse_yaml(SafeLoader, content, secrets)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 206, in _parse_yaml
yaml.load(content, Loader=lambda stream: loader(stream, secrets)) # type: ignore[arg-type]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/init.py", line 81, in load
return loader.get_single_data()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/constructor.py", line 51, in get_single_data
return self.construct_document(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/constructor.py", line 55, in construct_document
data = self.construct_object(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/constructor.py", line 100, in construct_object
data = constructor(self, node)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 337, in _handle_mapping_tag
nodes = loader.construct_pairs(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/constructor.py", line 155, in construct_pairs
value = self.construct_object(value_node, deep=deep)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/constructor.py", line 100, in construct_object
data = constructor(self, node)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 370, in _construct_seq
(obj,) = loader.construct_yaml_seq(node)
^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/constructor.py", line 408, in construct_yaml_seq
data.extend(self.construct_sequence(node))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/constructor.py", line 129, in construct_sequence
return [self.construct_object(child, deep=deep)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/constructor.py", line 129, in
return [self.construct_object(child, deep=deep)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/constructor.py", line 100, in construct_object
data = constructor(self, node)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 337, in _handle_mapping_tag
nodes = loader.construct_pairs(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/constructor.py", line 154, in construct_pairs
key = self.construct_object(key_node, deep=deep)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/constructor.py", line 100, in construct_object
data = constructor(self, node)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/constructor.py", line 427, in construct_undefined
raise ConstructorError(None, None,
yaml.constructor.ConstructorError: could not determine a constructor for the tag 'tag:yaml.org,2002:python/object/apply:homeassistant.const.Platform'
in "/config/ihc_manual_setup.yaml", line 3, column 5

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 191, in _parse_yaml_pure_python
return _parse_yaml(SafeLineLoader, content, secrets)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 206, in _parse_yaml
yaml.load(content, Loader=lambda stream: loader(stream, secrets)) # type: ignore[arg-type]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/init.py", line 81, in load
return loader.get_single_data()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/constructor.py", line 51, in get_single_data
return self.construct_document(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/constructor.py", line 55, in construct_document
data = self.construct_object(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/constructor.py", line 100, in construct_object
data = constructor(self, node)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 337, in _handle_mapping_tag
nodes = loader.construct_pairs(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/constructor.py", line 155, in construct_pairs
value = self.construct_object(value_node, deep=deep)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/constructor.py", line 100, in construct_object
data = constructor(self, node)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 370, in _construct_seq
(obj,) = loader.construct_yaml_seq(node)
^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/constructor.py", line 408, in construct_yaml_seq
data.extend(self.construct_sequence(node))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/constructor.py", line 129, in construct_sequence
return [self.construct_object(child, deep=deep)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/constructor.py", line 129, in
return [self.construct_object(child, deep=deep)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/constructor.py", line 100, in construct_object
data = constructor(self, node)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 337, in _handle_mapping_tag
nodes = loader.construct_pairs(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/constructor.py", line 154, in construct_pairs
key = self.construct_object(key_node, deep=deep)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/constructor.py", line 100, in construct_object
data = constructor(self, node)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/yaml/constructor.py", line 427, in construct_undefined
raise ConstructorError(None, None,
yaml.constructor.ConstructorError: could not determine a constructor for the tag 'tag:yaml.org,2002:python/object/apply:homeassistant.const.Platform'
in "/config/ihc_manual_setup.yaml", line 3, column 5

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 399, 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 120, in manual_setup
yaml = load_yaml_config_file(yaml_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config.py", line 414, in load_yaml_config_file
conf_dict = load_yaml(config_path, secrets)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 163, in load_yaml
return parse_yaml(conf_file, secrets)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 183, in parse_yaml
return _parse_yaml_pure_python(content, secrets)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 194, in _parse_yaml_pure_python
raise HomeAssistantError(exc) from exc
homeassistant.exceptions.HomeAssistantError: could not determine a constructor for the tag 'tag:yaml.org,2002:python/object/apply:homeassistant.const.Platform'
in "/config/ihc_manual_setup.yaml", line 3, column 5

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.