esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
285 stars 34 forks source link

mitsubishi Climate do not return current Temp #5771

Closed sosso-b closed 1 day ago

sosso-b commented 1 week ago

The problem

Since the last update Current version: 2024.4.2 mitsubishi Climate return always 0 for the current temperature when i change to daikin then i get directly back the current temperature. Since that i never add any issue everything was working nice for more then 3 years

image

Which version of ESPHome has the issue?

Current version: 2024.4.2

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

No response

What platform are you using?

ESP8266

Board

No response

Component causing the issue

No response

Example YAML snippet

remote_transmitter:
  pin: D2
  carrier_duty_percent: 50%

climate:
  - platform: mitsubishi       # adjust to match your AC unit!
    name: "Clim etage"
    sensor: temp_etage

# Creation du sensor

sensor:
  - platform: homeassistant
    name: "Current temperature"
    entity_id: sensor.smoke_sensor_2
    id: temp_etage
    internal: true
    accuracy_decimals : 1

Anything in the logs that might be useful for us?

No response

Additional information

No response

killer0071234 commented 1 week ago

I got the same issue, but the temperature at the climate object in HA is always 0°C. The sensor object itself shows the correct temperature. Esphome version: 2024.4.2

my yaml snippet:

  - platform: dallas
    index: 0
    name: "Temperatur"
    id: klima_temperatur
    filters:
      - sliding_window_moving_average:
          window_size: 15
          send_every: 15

remote_receiver:
  id: rcvr
  pin:
    number: D6
    inverted: True
    mode: INPUT_PULLUP
  tolerance: 25%

remote_transmitter:
  pin: D5
  carrier_duty_percent: 50%

climate:
  - platform: mitsubishi
    name: "Vorraum"
    receiver_id: rcvr
    id: klima
    icon: mdi:air-conditioner
    sensor: klima_temperatur
    visual:
      min_temperature: 18
      max_temperature: 26
      temperature_step: 0.5

I am not sure when it started to show just 0 value, because I did not use it during the winter months.

BR Daniel

sosso-b commented 4 days ago

Hello still same issue with the new update hope this can be solve in the next one greetings

bossoq commented 1 day ago

Add this line to esphome/components/mitsubishi/mitsubishi.cpp after line 59

traits.set_supports_current_temperature(true);

Add support current temperature to mitsubishi climate ir

sosso-b commented 1 day ago

Hello bossoq,

Thank you for your help, but can you give me how and where i can access to mitsubishi.cpp. Then i will add this line . I try to find it in Hass but i did not find it

Many thanks

killer0071234 commented 1 day ago

Hello @bossoq Can you add this change as PR? Thanks Daniel

Add this line to esphome/components/mitsubishi/mitsubishi.cpp after line 59

traits.set_supports_current_temperature(true);

Add support current temperature to mitsubishi climate ir

sosso-b commented 1 day ago

I arrive to do it using the custom external component, thank you image

Thank you solved for me