Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hOn new installation fail #25

Closed
8eholder opened this issue Oct 28, 2022 · 1 comment
Closed

hOn new installation fail #25

8eholder opened this issue Oct 28, 2022 · 1 comment

Comments

@8eholder
Copy link

Hi,

I have tried to install the integration both via HACS and directly in custom_components in my current version of HA 2022.10.4. I have also deployed a new HA 2022.6.0 which is the one I have seen used in the development of the integration and also tested in both ways. In both cases the log gives me the same 3 errors:


Error while setting up hon platform for climate
10:13:42 – (ERROR) Climate (integración personalizada)

Logger: homeassistant.components.climate
Source: custom_components/hon/climate.py:92
Integration: Climatización (documentation, issues)
First occurred: 10:13:42 (1 occurrences)
Last logged: 10:13:42

Error while setting up hon platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/hon/climate.py", line 92, in async_setup_entry
if appliance['applianceTypeId'] == 11:
KeyError: 'applianceTypeId'


Error while setting up hon platform for sensor
10:13:42 – (ERROR) Sensor (integración personalizada)

Logger: homeassistant.components.sensor
Source: custom_components/hon/sensor.py:73
Integration: Sensor (documentation, issues)
First occurred: 10:13:42 (1 occurrences)
Last logged: 10:13:42

Error while setting up hon platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/hon/sensor.py", line 73, in async_setup_entry
if appliance["applianceTypeId"] == 1:
KeyError: 'applianceTypeId'


Error setting up entry ivan..*@gmail.com for hon
10:13:41 – (ERROR) hOn (integración personalizada)

Logger: homeassistant.config_entries
Source: custom_components/hon/init.py:55
Integration: hOn
First occurred: 10:13:41 (1 occurrences)
Last logged: 10:13:41

Error setting up entry ivan..*@gmail.com for hon
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 339, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/hon/init.py", line 55, in async_setup_entry
if appliance['applianceTypeId'] not in [1, 2, 4, 6, 8, 9, 11]:
KeyError: 'applianceTypeId'


Thanks for your work.

@8eholder
Copy link
Author

8eholder commented Dec 2, 2022

Hello,

I have continued testing and found the error. In my hOn application I had added a virtual wine cellar that the app offered. I have deleted it and reconfigured the integration and the 6 air conditioning machines and their sensors have appeared.

Thanks for your work again.

@8eholder 8eholder closed this as completed Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant