Skip to content

Adding Haier range hood support#410

Closed
derekcentrico wants to merge 52 commits intosimbaja:masterfrom
derekcentrico:master
Closed

Adding Haier range hood support#410
derekcentrico wants to merge 52 commits intosimbaja:masterfrom
derekcentrico:master

Conversation

@derekcentrico
Copy link
Copy Markdown

This is for request #409 and it might work for ajmarks#11 but didn't read that PR.

derekcentrico and others added 30 commits July 7, 2025 09:12
On systems without cython installed the underlying slixmpp library logs a frequent performance warning about stringprep.

This warning is not actionable for most users and creates unnecessary noise in the logs. This change silences the warning by setting the specific logger's level to ERROR, preventing the message from appearing without affecting functionality.
This adds a new switch entity to control the K-Cup/hot water brewing feature on compatible GE fridges.

This change makes it a native switch that is automatically discovered, providing a user-friendly experience directly on the device card.

The new switch is only created for devices that report having the hot water feature, so it shouldn't affect users with other appliance models.
The idea if it works is that this will create a switch that monitors the status of the machine.  OFF is unit is off, -and- ON is when its in RPP delay status.  When it's ON it can be selected to start the cycle.  Very basic attempt here that needs tested to refine.
Forgot to push the line.
This adds RPP control switches to washers and dryers with remote delay functionality.  Device must be in the remote delay mode for the button to be available -and- for a press event to work.
Adding to have the button exactly as the washer.
Some models do not report "Delay Run" as a status code.  Changes made that permit support for more models.
From a fellow user assistance request. Using their debug log to try to make this work.
Working on the hood issue.
Corrects the TypeError from the last attempt to try and match Haier simple strings.
Fixing TypeError for the new entities.
Making forward progress.  Error occurred because GeEntity class requires every entity to have a unique_id property.
In line with layout of integration
working through debug logs
Working through logs
continuation
trying to get around sdk stuff
@derekcentrico
Copy link
Copy Markdown
Author

Resolved the issue w/ the update_coordinator.

@derekcentrico
Copy link
Copy Markdown
Author

Final commits (didn't realize they showed here) were resolving a reconnection loss of the SDK workaround. Fixed now per #409 requestor. @simbaja should be good to go for Haier.

@simbaja
Copy link
Copy Markdown
Owner

simbaja commented Oct 12, 2025

Any chance you can add the SDK-related code to the SDK project instead of runtime patching it? Happy to take a PR there and then re-publish a new SDK version so that the integration can use it. The runtime patching is very useful for new code debugging though, perhaps there's a way to make the framework available for future needs?

@derekcentrico
Copy link
Copy Markdown
Author

Any chance you can add the SDK-related code to the SDK project instead of runtime patching it? Happy to take a PR there and then re-publish a new SDK version so that the integration can use it. The runtime patching is very useful for new code debugging though, perhaps there's a way to make the framework available for future needs?

I'm out of town for a couple of weeks. I can try to learn about your SDK upon my return. Please send me any useful tidbits for testing so I can try and coordinate with the requesting user. We can chat on another service if you want. I use the same name on HAs community site for example.

@simbaja
Copy link
Copy Markdown
Owner

simbaja commented Nov 18, 2025

Untested, but take a look at my working branch 2025.11.x-working. I think I've got the basis for this change after making the changes in the SDK. Will continue to make updates to this branch to incorporate more updates in this version. Please take a look and let me know if it makes sense.

You can find my email in the codebase (e.g. here if you want to communicate via a different channel. Trying not to put it in comments so that it doesn't get scraped as much.

@derekcentrico
Copy link
Copy Markdown
Author

Man I totally forgot about this. My apologies. Quick skim looks good here. I don't have the hardware to test the SDK on.

@simbaja
Copy link
Copy Markdown
Owner

simbaja commented Nov 21, 2025

I've published a new pre-release version that may implement this (see #423), let me know if it looks good.

@derekcentrico
Copy link
Copy Markdown
Author

@simbaja will close this at your direction. Hope it helped to some extent for SDK exploration.

@simbaja simbaja closed this Nov 23, 2025
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

Successfully merging this pull request may close these issues.

2 participants