Haier hon integration problems with switch and binary_sensor #143
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug On 6th of January most of the entities became unavailable. Today I removed the integration and added again to my home assistant but this did not help. There are only temperature sensors and basic control for the air conditioners. What is missing are very, very useful features like: silent mode, quiet mode, screen display and many more which I used to use extensively. Has there something changed or broken?
In the logs I can see: Unexpected exception importing platform custom_components.hon.switch and Unexpected exception importing platform custom_components.hon.binary_sensor
To Reproduce Add integration,
Expected behavior See the missing entities
Screenshots
Environment (please complete the following information): - Home Assistant Version: 2024.1.2 - hOn Integration Version: 5.12
Additional context
Home Assistant Logs Logger: homeassistant.setup Source: setup.py:403 First occurred: 10:55:39 (2 occurrences) Last logged: 10:55:39
Unable to prepare setup for platform ‘hon.switch’: Platform not found (Exception importing custom_components.hon.switch). Unable to prepare setup for platform ‘hon.binary_sensor’: Platform not found (Exception importing custom_components.hon.binary_sensor).
Device Log Post your device info here (if available) 1. Enable the “Show Device Info” button This button can be found in the diagnostic section of your device or in the entity overview if “show disabled entities” is enabled. 2. Press the button to create a notification 3. Open home assistant notifications and copy the message (Crtl+A, Ctrl+C)
Data Archive For further analysis, please add your appliance data archive here (if available) Navigate to
Settings
->Device & Services
->Haier hOn
-> your device and press the Create Data Archive button. Then open notifications to download the data zip archive. To attach the file: * GitHub Web: Use the “Attach files by dragging & dropping, selecting or pasting them.” function * GitHub Mobile: Upload the zip archive as imageHi. I was about to submit the same thing. Here are screenshots for the same issue.
HASS: Core 2024.1.2 Supervisor 2023.12.0 Operating System 11.3 Frontend 20240104.0
*Edit, added HASS info and image
Settings are greyed out.![1](https://github.com/Andre0512/hon/assets/71009757/1ce9c2a2-ce4f-4f47-9db4-72bc4276cde4)
entities no longer provided![2](https://github.com/Andre0512/hon/assets/71009757/9530d563-78c9-444e-9d6d-16dc30388585)
After enable and disable of device![3](https://github.com/Andre0512/hon/assets/71009757/8f1664dd-95fa-4e7e-81a9-b34f2d09f286)
Thank you for additional screenshots - I no longer have these entries - good that you could show them.
No problems at all, let me know if i can be of any more help!
Hi, can you see any exceptions in the logs?
Can you try, to update to current version
10.1
?Probably the same issue as #140
Hello. I had 10.1 installed so the issue was on that version.
I have also tried it on HASS version: Core 2024.1.2 Supervisor 2023.12.0 Operating System 11.4 Frontend 20240104.0
However: After updating to the hOn v0.11.0-beta.1 the binary switches work again (woohoo!), so perhaps something with home assistant and <= 10.1 version of the hOn integration?
All the best.