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

Water tank full status missing #78

Open
domerich opened this issue Sep 10, 2024 · 3 comments
Open

Water tank full status missing #78

domerich opened this issue Sep 10, 2024 · 3 comments

Comments

@domerich
Copy link

Hello only in the app I can see this message, is it possible to bring it to HA?

IMG_5262

@domerich
Copy link
Author

domerich commented Sep 24, 2024

so I was checking the log, it seems it is there but how to extract it?

According to chatgpt:

It looks like you have a midea_dehumidifier custom component already running successfully, as evidenced by the debug logs you've shared. Here are some key points related to the dehumidifier component based on your logs:

Dehumidifier Status:

Power Mode: The dehumidifier is currently off (powerMode=0).
Mode: It is set to mode 1 (likely "Target humidity" mode).
Filter Status: The filter doesn't need attention (Filter=False).
Water Tank: The water tank is not full (Water tank=False).
Current Humidity: The current humidity is 68%.
Wind Speed: Fan speed is set to 40%.
Set Humidity: Target humidity is set to 50%.

@domerich
Copy link
Author

I tried to integrate it with chat gpt, it is not part of the integration but seems to work:

- platform: template
   sensors:
     midea_current_humidity:
       friendly_name: "midea_current_humidity"
       value_template: "{{ state_attr('humidifier.midea_dehumidifier_17592186107519', 'current_humidity') }}"
       unit_of_measurement: "%"
     midea_target_humidity:
       friendly_name: "midea_target_humidity"
       value_template: "{{ state_attr('humidifier.midea_dehumidifier_17592186107519', 'humidity') }}"
       unit_of_measurement: "%"
     midea_water_tank_status:
       friendly_name: "midea_water_tank_status"
       value_template: >
         {% if state_attr('humidifier.midea_dehumidifier_17592186107519', 'tank_show') %}
           Full
         {% else %}
           Empty
         {% endif %}
     midea_filter_status:
       friendly_name: "midea_filter_status"
       value_template: >
         {% if state_attr('humidifier.midea_dehumidifier_17592186107519', 'Filter') %}
           Needs Cleaning
         {% else %}
           Clean
         {% endif %}

@domerich
Copy link
Author

OK this works.
WhatsApp Image 2024-09-24 at 20 49 33

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

1 participant