Configuration of your climate will depend on capabilities specific model.
Minimal configuration will look like this:
uart:
baud_rate: 9600
tx_pin: 17
rx_pin: 16
climate:
- platform: haier
name: Haier hOn Climate
Maximum configuration witch will use all possible options will look like this:
uart:
baud_rate: 9600
tx_pin: 17
rx_pin: 16
id: haier_uart
api:
services:
- service: turn_on
then:
- climate.haier.power_on: haier_ac
- service: turn_off
then:
- climate.haier.power_off: haier_ac
climate:
- platform: haier
id: haier_ac
protocol: smartAir2
name: Haier SmartAir2 Climate
uart_id: haier_uart
alternative_swing_control: false
wifi_signal: true
visual:
min_temperature: 16 °C
max_temperature: 30 °C
temperature_step: 1 °C
supported_modes:
- 'OFF'
- HEAT_COOL
- COOL
- HEAT
- DRY
- FAN_ONLY
supported_swing_modes:
- 'OFF'
- VERTICAL
- HORIZONTAL
- BOTH
supported_presets:
- BOOST
- COMFORT
- AWAY
switch:
- platform: haier
health_mode:
name: Haier SmartAir2 Climate health mode
display:
name: Haier SmartAir2 Climate display