Haier hon integration problems with switch and binary_sensor #143

Open
opened 2024-01-08 11:15:16 +01:00 by vyagi · 6 comments
vyagi commented 2024-01-08 11:15:16 +01:00 (Migrated from github.com)

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 image
**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 image
NoUsername10 commented 2024-01-08 12:16:54 +01:00 (Migrated from github.com)

Hi.
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

  1. Settings are greyed out.
    1

  2. entities no longer provided
    2

  3. After enable and disable of device
    3

Hi. 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 1. Settings are greyed out. ![1](https://github.com/Andre0512/hon/assets/71009757/1ce9c2a2-ce4f-4f47-9db4-72bc4276cde4) 2. entities no longer provided ![2](https://github.com/Andre0512/hon/assets/71009757/9530d563-78c9-444e-9d6d-16dc30388585) 3. After enable and disable of device ![3](https://github.com/Andre0512/hon/assets/71009757/8f1664dd-95fa-4e7e-81a9-b34f2d09f286)
vyagi commented 2024-01-08 13:45:36 +01:00 (Migrated from github.com)

Thank you for additional screenshots - I no longer have these entries - good that you could show them.

Thank you for additional screenshots - I no longer have these entries - good that you could show them.
NoUsername10 commented 2024-01-08 13:59:53 +01:00 (Migrated from github.com)

No problems at all, let me know if i can be of any more help!

No problems at all, let me know if i can be of any more help!
Andre0512 commented 2024-01-11 00:27:02 +01:00 (Migrated from github.com)

Hi, can you see any exceptions in the logs?

hOn Integration Version: 5.12

Can you try, to update to current version 10.1?

Hi, can you see any exceptions in the logs? > hOn Integration Version: 5.12 Can you try, to update to current version `10.1`?
Andre0512 commented 2024-01-11 00:27:51 +01:00 (Migrated from github.com)

Probably the same issue as #140

Probably the same issue as #140
NoUsername10 commented 2024-01-11 09:32:47 +01:00 (Migrated from github.com)

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.

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.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xiconfjs/hon#143
No description provided.