Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Airconditioner without humidity support #607

Closed
Xitro01 opened this issue Sep 25, 2023 · 5 comments
Closed

Airconditioner without humidity support #607

Xitro01 opened this issue Sep 25, 2023 · 5 comments

Comments

@Xitro01
Copy link

Xitro01 commented Sep 25, 2023

Hi,

My airconditioning unit does not support humidity.
So the value in "current_humidity" shows as 0. Which is also sent to my HomeKit, which thinks the humidity in that room is 0%.

Is it possible to not show this value? If the humidity value that you get is "0" that it removes current_humidity completely?

For now (workaround) I just removed this part in climate.py:

     @property
     def current_humidity(self) -> int | None:
         return self._api.state.device_features.get(AirConditionerFeatures.HUMIDITY)

Thanks in advance!

@ollo69
Copy link
Owner

ollo69 commented Sep 25, 2023

You could just disable the entity from HA UI instead of modify the code.
If you attach integration diagnostics I will check if there is a way to understand if this sensor is available or not.

@Xitro01
Copy link
Author

Xitro01 commented Sep 25, 2023

smartthinq_sensors-c877247abeff40b13de0d777c095de3b-Airconditioner-50b9fa0937b72643ace0be6c2f022be1.json.txt
Hereby the diagnostics.

Disabling the humidity entity did not solve my issue.
The problem lies in the "current_humidity" attribute inside climate.airconditioner.

Thanks in advance!

@ollo69
Copy link
Owner

ollo69 commented Oct 12, 2023

This issue should be fixed in last release, please check and report here.

@Xitro01
Copy link
Author

Xitro01 commented Oct 13, 2023

This issue should be fixed in last release, please check and report here.

Just updated and rebooted, this solves my issue. Thanks alot for your quick fix!
Hopefully this does not affect others that actually do have a humidity sensor in their airconditioners.

@Xitro01 Xitro01 closed this as completed Oct 13, 2023
@ollo69
Copy link
Owner

ollo69 commented Oct 13, 2023

Hopefully this does not affect others that actually do have a humidity sensor in their airconditioners.

I hope so too, the idea is that humidity=0 just do not make sense. In the case of new issue I will compare diagnostics of device with humidity sensors and yours to try to find a different way👍

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

No branches or pull requests

2 participants