Looking forward to this release! I just added the BRP072A43 to the AC unit in my office and it looks lto be missing the fan control as well:
➜ /config git:(master) curl http://172.20.20.220/aircon/get_control_info
ret=OK,pow=0,mode=4,adv=,stemp=21.0,shum=0,dt1=25.0,dt2=M,dt3=25.0,dt4=21.0,dt5=21.0,dt7=25.0,dh1=AUTO,dh2=50,dh3=0,dh4=0,dh5=0,dh7=AUTO,dhh=50,b_mode=4,b_stemp=21.0,b_shum=0,alert=255#
I tried adding the files you changed in your merge to my custom components to do some testing, but still received the error below. I have used custom components before when troubleshooting, but it is always possible that I missed something.
Thu Jan 25 2018 13:45:14 GMT-0600 (Central Standard Time)
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.6/asyncio/tasks.py", line 180, in _step
result = coro.send(None)
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 399, in async_process_entity
new_entity, self, update_before_add=update_before_add
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 247, in async_add_entity
yield from entity.async_update_ha_state()
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 217, in async_update_ha_state
attr = self.state_attributes or {}
File "/usr/lib/python3.6/site-packages/homeassistant/components/climate/__init__.py", line 521, in state_attributes
fan_mode = self.current_fan_mode
File "/config/custom_components/climate/daikin.py", line 235, in current_fan_mode
return self.get(ATTR_FAN_MODE)
File "/config/custom_components/climate/daikin.py", line 126, in get
value = self._api.device.represent(daikin_attr)[1].title()
File "/usr/lib/python3.6/site-packages/pydaikin/appliance.py", line 145, in represent
v = self.values[key]
KeyError: 'f_rate'
I removed the custom component and am seeing the standard error everyone else is/was seeing:
Thu Jan 25 2018 14:03:06 GMT-0600 (Central Standard Time)
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.6/asyncio/tasks.py", line 180, in _step
result = coro.send(None)
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 399, in async_process_entity
new_entity, self, update_before_add=update_before_add
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 247, in async_add_entity
yield from entity.async_update_ha_state()
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 217, in async_update_ha_state
attr = self.state_attributes or {}
File "/usr/lib/python3.6/site-packages/homeassistant/components/climate/__init__.py", line 521, in state_attributes
fan_mode = self.current_fan_mode
File "/usr/lib/python3.6/site-packages/homeassistant/components/climate/daikin.py", line 229, in current_fan_mode
return self.get(ATTR_FAN_MODE)
File "/usr/lib/python3.6/site-packages/homeassistant/components/climate/daikin.py", line 120, in get
value = self._api.device.represent('f_rate')[1].title()
File "/usr/lib/python3.6/site-packages/pydaikin/appliance.py", line 145, in represent
v = self.values[key]
KeyError: 'f_rate'
Thanks for all the work on this!
Dan W.