Adding Haier range hood support#410
Conversation
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.
In line with layout of integration
working through debug logs
continuation
trying to get around sdk stuff
fixing typo - doh
code difference
conflict fix
|
Resolved the issue w/ the update_coordinator. |
working on the reconnection issue workaround
|
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. |
|
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. |
|
Man I totally forgot about this. My apologies. Quick skim looks good here. I don't have the hardware to test the SDK on. |
|
I've published a new pre-release version that may implement this (see #423), let me know if it looks good. |
|
@simbaja will close this at your direction. Hope it helped to some extent for SDK exploration. |
This is for request #409 and it might work for ajmarks#11 but didn't read that PR.