Closed Krzysztonek closed 1 year ago
Can you please provide me whole climate section of your config?
This is my climate section (which was working fine for me so far):
climate:
- platform: haier
id: haier_climate
protocol: smartAir2
name: AC Salon
uart_id: ac_port
switch:
- platform: template
id: haier_climate_display_switch
name: AC Salon Wyświetlacz
icon: mdi:led-on
entity_category: config
restore_mode: "ALWAYS_OFF"
lambda: |-
return id(haier_climate).get_display_state();
turn_on_action:
climate.haier.display_on: haier_climate
turn_off_action:
climate.haier.display_off: haier_climate
- platform: template
id: haier_climate_health_mode
name: AC Salon Tryb HEALTH
icon: mdi:leaf
restore_mode: "ALWAYS_OFF"
lambda: |-
return id(haier_climate).get_health_mode();
turn_on_action:
climate.haier.health_on: haier_climate
turn_off_action:
climate.haier.health_off: haier_climate
- platform: restart
name: Restart AC Salon
sensor:
- platform: wifi_signal
name: AC Salon WiFi Signal
update_interval: 30s
Ok. You are right there is a problem. I will fix it asap but for now you can add following section to your climate
climate:
- platform: haier
id: haier_climate
protocol: smartAir2
name: AC Salon uart_id: ac_port
visual:
temperature_step:
target_temperature: 1
current_temperature: 1
Fixed on dev and master and created a pull request for ESPHome.
When trying to do the update of my Haier AC device, I got this: