gekkekoe / esphome-ecodan-hp

ESPHome Ecodan heatpump
GNU General Public License v3.0
39 stars 20 forks source link

Update ecodan-labels-it.yaml #26

Closed Thebasestar closed 2 months ago

Thebasestar commented 2 months ago

Added yesterday (Ieri) to delivered energy as it refer

Thebasestar commented 2 months ago

I've also check the translated file to sort this error: [16:57:28][W][select:111][serial_rx_task]: 'Modalità Funzionamento' - Option Heat Compensation Curve is not a valid option i think it's related to something else, as it appear also if i set nl language, [17:09:38][W][select:111][serial_rx_task]: 'Gekozen werking mode' - Option Heat Compensation Curve is not a valid option setting eng everything work good

gekkekoe commented 2 months ago

Thanks, I will have a look. I think this part causes it:

      id: status_heating_cooling
      name: H/C status
      internal: true
      on_value:
        if:
          condition:
            - lambda: |-
                return id(heatpump_select_operating_mode).state != id(status_heating_cooling).state && id(status_heating_cooling).state != "Unknown";
          then:
            - select.set:
                id: heatpump_select_operating_mode
                option: !lambda "return id(status_heating_cooling).state;"

It's when you set the select box with the right value when it updated from a different source. So probably need translated values here as well. But I probably need to adjust it to accept the numeric value probably.

gekkekoe commented 2 months ago

I pushed an update that should fix it, translated values should not matter anymore for the operating mode select control