I made a .ini file for Panasonic CS-HE9LKE, but does not allow fan mode (at the end of the file) to work. The codes should be correct. Does something need to be done in broadlink.py to get it right?
### Panasonic CS-HE9LKE
[off]
off_command = JgC8AXI7DQ8NLA4PDRANDw4PDRANDw0QDQ8ODw0QDQ8NLA4PDRANDw4PDRANDw0QDSwNLA4sDQ8ODw0sDRANDw4PDRANDw0QDQ8ODw0QDQ8NEA0PDg8NEA0PDg8NEA0PDRANDw4PDRANDw0QDQ8ODw0QDQ8NEA0PDiwNLA0QDQ8NEA0PDg8NAAFVcjoPDg0sDg8NEA0PDg8NDw4PDRANDw4PDRANDw0sDg8NEA0PDRANDw4PDRANLA0sDiwNDw0QDSwNEA0PDg8NEA0PDRANDw4PDRANDw0QDQ8ODw0QDQ8NEA0sDRANDw4PDRANDw0QDQ8ODw0sDiwNDw0QDQ8ODw0QDQ8NEA0PDg8NLA4sDSwNEA0PDSwODw0sDg8NEA0sDRANLA0PDg8NEA0PDRANDw4PDRANDw4PDQ8ODw0QDSwNLA4sDQ8NEA0PDg8NEA0PDRANDw4PDSwOLA0sDRANDw0QDQ8ODw0QDQ8NEA0PDg8NEA0PDg8NDw4PDRANLA0QDQ8NEA0PDg8NEA0sDRANDw0QDQ8ODw0QDQ8NEA0PDg8NEA0PDRANDw4PDRANDw0tDQ8NLA4PDRANDw4sDQANBQAAAAAAAAAAAAAAAA==
[idle]
idle_command = JgC8AXI7DQ8NLA4PDRANDw4PDRANDw0QDQ8ODw0QDQ8NLA4PDRANDw4PDRANDw0QDSwNLA4sDQ8ODw0sDRANDw4PDRANDw0QDQ8ODw0QDQ8NEA0PDg8NEA0PDg8NEA0PDRANDw4PDRANDw0QDQ8ODw0QDQ8NEA0PDiwNLA0QDQ8NEA0PDg8NAAFVcjoPDg0sDg8NEA0PDg8NDw4PDRANDw4PDRANDw0sDg8NEA0PDRANDw4PDRANLA0sDiwNDw0QDSwNEA0PDg8NEA0PDRANDw4PDRANDw0QDQ8ODw0QDQ8NEA0sDRANDw4PD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AAAAAAAAAA==
high = JgC8AXI7Dg4NLA4PDRANDw4PDRANDw0QDQ8ODw0QDQ8NLA4PDRANDw0QDQ8ODw0QDSwNLA4sDQ8NEA0sDRANDw4PDRANDw0QDQ8ODw0QDQ8NEA0PDg8NEA0PDRANDw4PDRANDw0QDQ8ODw0QDQ8NEA0PDg8NEA0PDSwOLA0PDg8NEA0PDRANAAFVcjoODw0sDRANDw4PDRANDw0QDQ8ODw0QDQ8ODw0sDRANDw4PDRANDw0QDQ8OLA0sDSwODw0QDSwNDw4PDRANDw0QDQ8ODw0QDQ8NEA0PDg8NEA0sDRANDw0sDw4NLA4sDQ8ODw0sDSwODw0sDiwNDw4PDRANDw0QDQ8ODw0QDQ8NLA4sDSwNEA0PDiwNLA0sDg8NDw4sDQ8OLA0PDRANEA0PDRANDw0QDQ8ODw0QDQ8NEA0PDiwNLA0sDg8NEA0PDRANDw4PDRANDw0QDSwNLA4sDQ8ODw0QDQ8NEA0PDg8NEA0PDRANDw4PDRANDw0QDQ8OLA0PDg8NEA0PDRANDw4sDQ8NEA0PDg8NEA0PDRANDw4PDRANDw4PDQ8ODw0QDQ8NLQ0PDRANDw4sDQ8ODw0QDQANBQAAAAAAAAAAAAAAAA==
climate.yaml
- platform: broadlink
name: Panasonic CS-HE9LKE
host: xx.xx.xx.xx
mac: 'xx:xx:xx:xx:xx:xx'
ircodes_ini: 'broadlink_climate_codes/panasonic_CS-HE9LKE.ini'
min_temp: 16
max_temp: 30
target_temp: 23
temp_sensor: sensor.aeotec_zw100_multisensor_6_temperature_4
default_operation: heat
default_fan_mode: mid
customize:
operations:
- 'off'
- idle
- auto
- heat
- cool
- fan
fan_modes:
- auto
- low
- mediumLow
- mid
- mediumHigh
- high
Error message:
Error executing service <ServiceCall climate.set_fan_mode: entity_id=['climate.panasonic_cshe9lke'], fan_mode=high>
1:03 AM custom_components/climate/broadlink.py (ERROR)
Error executing service <ServiceCall climate.set_fan_mode: entity_id=['climate.panasonic_cshe9lke'], fan_mode=mediumHigh>
1:03 AM custom_components/climate/broadlink.py (ERROR)
Error executing service <ServiceCall climate.set_fan_mode: entity_id=['climate.panasonic_cshe9lke'], fan_mode=mid>
1:03 AM custom_components/climate/broadlink.py (ERROR)
Error executing service <ServiceCall climate.set_fan_mode: entity_id=['climate.panasonic_cshe9lke'], fan_mode=mediumLow>
1:03 AM custom_components/climate/broadlink.py (ERROR)
Error executing service <ServiceCall climate.set_fan_mode: entity_id=['climate.panasonic_cshe9lke'], fan_mode=low>
1:03 AM custom_components/climate/broadlink.py (ERROR)
Error executing service <ServiceCall climate.set_operation_mode: entity_id=['climate.panasonic_cshe9lke'], operation_mode=fan>
1:02 AM custom_components/climate/broadlink.py (ERROR)