Daikin Component - no climate entities created - task exception

Well it’s working partially. I had configured the temperature sensors in a view and these are gone. I still see the “raise ValueError(“non-OK return on response”)” errors so my guess is the customized pydaikin component is not loaded as it should return {}

But it’s a big step forward for me not having to “hack” the docker image every time.

same issue i was missing

/aircon/get_timer
/aircon/get_program
/aircon/get_scdltimer

removed the endpoints from

/lib/python3.6/site-packages/pydaikin/appliance.py

i’m using

  • 1x BRP069A45
  • 2x BRP069B41

The A model i’ve been using for a year and never needed this fix, the two B models however do.
@rofrantz thanks for your great work. did you push a PR?

I dont really understand how to modify the appliance.py.

Can you help? Or maybe send me your copy? :slight_smile:

I have the BRP069B41, which dont seem to work atm.

how did you install home-assistant?

i’m in a python3 virtual-environment and i modified this file:

/srv/homeassistant/lib/python3.5/site-packages/pydaikin/appliance.py

on the first lines of the file you’ll find an array called HTTP_RESOURCES with a bunch of HTTP endpoints, just delete the one you don’t need. for example mine looks like this:

HTTP_RESOURCES = ['common/basic_info'
              , 'common/get_remote_method'
              , 'aircon/get_sensor_info'
              , 'aircon/get_model_info'
              , 'aircon/get_control_info'
              , 'aircon/get_target'
              , 'aircon/get_price'
              , 'common/get_holiday'
              , 'common/get_notify'
              , 'aircon/get_week_power'
              , 'aircon/get_year_power'
          ]

I´m on Hassio.

New to all, so Im still learning. From reading this thread, I guess there is no modified compontent available?

On hass.io, I cant change the /srv/homeassistant/lib/python3.5/site-packages/pydaikin/appliance.py?
I am right that it will change back on next reboot?

I don’t personally use hass.io, so i have no idea on where to find the file in there, but it should be there somewhere.
And no, I shouln’t revert after a reboot

OK. Will try. Which component are you using in configuration.yaml?

Thanks for your help! :slight_smile:

I’m using both

climate:
  - platform: daikin

and

sensor:
 - platform: daikin

i also made some quick-switch with templates:

switch:
  - platform: template
    switches:
      daikin_bedroom:
        value_template: "{{ not is_state('climate.bedroom', 'Off') }}"
        turn_on:
          service: climate.set_operation_mode
          data:
            entity_id: climate.bedroom
            operation_mode: "Cool"
        turn_off:
          service: climate.set_operation_mode
          data:
            entity_id: climate.bedroom
            operation_mode: 'Off'

hope it helps!
have fun

The good news is the fix proposed Francisc Ungureanu has been committed to the pydaikin repository (https://bitbucket.org/mustang51/pydaikin/commits/6ba12df2077b8d1c4900729c431a93db4546aed3).

Now hoping it will flow quickly to all distros.

Sorry for the noob question… but… I cant get any modifications applied to my setup, since I am running hass.io.

Every file in ./site-packages/pydaikin will be overwritten with the original values on every reboot.

Do you know how to accomplish this?

Had to learn a bit of docker so better study up.
You need to login to the docker image, modify and commit the changes. It’s a dirty hack but the only one I found. And sometimes it fails. So hope for the best the fix is merged quickly in debian.

Any details on that, please?

Well, for those of you using Hassio, just unzip the contents of:

https://github.com/home-assistant/home-assistant/files/2188643/daikin.zip

in /config/custom_components.

ATTENTION! In custom_components you should unzip the CONTENT of the “daikin” zipped folder, not the entire zipped folder (lik I initially did)!

I also have Daikin BRP069B41 and could not make it work before I found this thread. A few more hints:

  • In my configuration.yaml I have only added “daikin:” with no other arguments. Actually, I don’t really understand how Home Assistant can find the IP addresses to my two Daikin devices.
  • Test with “curl http://daikin_ip/common/basic_info” etc from the command line interface to find out which endpoints that do not work with your configuration
  • I had to remove: aircon/get_timer, aircon/get_program and aircon/get_scdltimer.

Good luck!

Hi all,
I applied the same fix to the sensor/daikin.py
(original here).
Just create sensor subfolder and apply this fix to the original file:
Line12 original: from homeassistant.components.daikin import (
Line12 new: from custom_components.daikin import (

In this way, entities are created:
sensor.inside_temperature_xxxx_inside_temperature
sensor.outside_temperature_xxx_outside_temperature

I noticed today on updating to Hassio 81.0 that there was a breaking change to the daikin component.

hot changed to heat

Cool changed to cool

not a biggie, was able to get around it by re jigging my scripts etc but worth mentinong

The modes are now defined as follows

  • mode (cool, heat, dry, fan only or auto) or off

I have just updated to 0.81 and since the I can’t set Fan_mode or Swing_mode. I amble to set “mode” and temperature. Do anybody else have the same issue?

Hi I’m the one that made the latest breaking change to the Daikin component.

@Sam_Mofrad I just checked and I think I found the issue, I’ll look at it.

@peterho Can I ask you what kind of rejigging you had to do?

I found what probably was wrong with this, I made a PR for that issue.
If you want you can test it setting as a custom component. You can found the code at

My rejigging was merely changing hot to heat Cool to cool etc for operation mode in my scripts and automations. My unit doesn’t support swing mode or fan mode (it’s a ducted in ceiling unit)