Skip to content

Improved API + Humidity Control Support - #486

Merged
RobHofmann merged 10 commits into
RobHofmann:4.0-pre-releasefrom
p-monteiro:better-api
Aug 2, 2026
Merged

Improved API + Humidity Control Support#486
RobHofmann merged 10 commits into
RobHofmann:4.0-pre-releasefrom
p-monteiro:better-api

Conversation

@p-monteiro

@p-monteiro p-monteiro commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

This PR has the following changes:

New feature:
Humidity Control - Allows control of the room humidity to a set target or intelligently. Only available in Cool or Dry modes. (#473)

Improvements:

  • Improve logic to better align with the official app/remote
  • Normalize entity creation, deduplicating the platform code
  • General code cleanup

This improves the error handling and ensures a better valid state for the unit following the remote/app behaviour.
Adds more errors in the API and hadles them in HA.
Also, this provides the initial steps to support other sleep modes.
Uses a select for the mode and a number for the humidity target.
As far as I can see, having bothe properties at 0 is invalid and should mean the feature is not supported.  Revisit this if there are reported problems.
This makes more sense as Humity Control as 3 modes and is available in both Dry and Cool.
Move common logic to platform helpers and normalize the entity creation logic
@p-monteiro
p-monteiro marked this pull request as draft July 20, 2026 14:54
…nfig

Also move binary_sensor to the normalized code
@p-monteiro
p-monteiro marked this pull request as ready for review July 20, 2026 15:54
@RobHofmann
RobHofmann merged commit 54c2df4 into RobHofmann:4.0-pre-release Aug 2, 2026
2 checks passed
@RobHofmann

Copy link
Copy Markdown
Owner

merged this one. was on holiday, had a delay in my responses, sorry.

@p-monteiro

Copy link
Copy Markdown
Contributor Author

Thanks @RobHofmann
Don't do a release yet. I'm about to push another big one in the next few days with support for Gree Cloud if you up for it. The aiogree side is practically done, just need to do the HA side

@RobHofmann

Copy link
Copy Markdown
Owner

Sure. Give me a heads up when to merge & release.

@p-monteiro
p-monteiro deleted the better-api branch August 4, 2026 15:21
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