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

deerma.humidifier.jsq2w wrong attribute for water level - change water_tank_detached with no_water #392

Open
i4mr000t opened this issue Dec 5, 2024 · 3 comments

Comments

@i4mr000t
Copy link

i4mr000t commented Dec 5, 2024

I have a deerma.humidifier.jsq2w configurated successfully but it´s showing the wrong attribute for water level at minimum/empty.

I know that this device just shows true or false. - water_tank_detached = true when its empty.

image
On the screenshot you can see that the attribute water_tank_detached eq true but thats wrong, the tank is not detached its empty.

I think the right attribute for that is no_water instead of water_tank_detached

Just for references the xiaomi App is showing that the device was shutdown due to low water:
dasdadsadsadsdsd
"Zu wenig Wasser im Tank..." translated from German to English "The Water level is too low..."

@i4mr000t
Copy link
Author

i4mr000t commented Dec 5, 2024

I detached the tank to see if the attribute no_water was triggering.

Here you can see that its triggered:
image

@KeinPlandavonviel
Copy link

KeinPlandavonviel commented Jan 3, 2025

@i4mr000t

Hello,

unfortunately I can't help you with your problem, but isn't it the case that both events trigger the same switch in the device?
I have a small request for you. I also have a deerma.humidifier.jsq2w and actually wanted to use it via the official integration, but unfortunately it is not supported there. That's why I ended up here.

Would you be so kind as to provide me with your configuration for configuration.yaml for this device?

Many thanks in advance

EDIT:
I have now set mine up, also thanks to your postings here, and was able to understand your problem, too.
When I remove the tank, “no_water” is triggered, but not “water_tank_detached”. Currently there is water in it, when it is empty later and I think about it, I will write whether it then (incorrectly) triggers water_tank_detached.
However, I now suspect that the values have also been swapped.

@i4mr000t
Copy link
Author

@KeinPlandavonviel Sorry for late reply. Nice that you got it working. Yes the problem is that the wrong entity is triggered, it has to be switched against each other

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