Open domerich opened 2 months ago
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%.
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 %}
OK this works.
Hello only in the app I can see this message, is it possible to bring it to HA?