Dyson in AC Mode

I am trying to create some scripts to control my Dyson AC, I have been able to configure heating but not been able to get the device into AC ('Cooling Mode").

Has anyone had any luck getting the device into AC mode?

I have also found I have to put in some delays to my script otherwise the script doesnt work, I am guessing this is a timing issue? Anyone else encountered this?

dyson_cooling_auto:
  alias: Dyson Auto Cooling
  sequence:
    - service: fan.turn_on
      data:
        entity_id: fan.ac_dyson
    - delay: '00:00:02'
    - service: climate.set_temperature
      data:
        entity_id: climate.ac_dyson
        temperature: 12
        hvac_mode: cool
    - delay: '00:00:02'
    - service: fan.set_speed
      data:
        entity_id: fan.ac_dyson
        speed: 'AUTO'
    - delay: '00:00:02'
    - service: fan.oscillate
      data:
        entity_id: fan.ac_dyson
        oscillating: true

Sorry but this is not related to your post - but I want something of the same.
But I saw, that you previously had trouble with Home Assitant not finding your Dyson.
I have created an account on both website and the app, with the device linked, but I can’t be added in HA…

I have 2 devices a HP03 and HP04, My 04 is not found in my account but my 03 connects fine.

Since my 03 is connecting I am currently configuration and adding automations. I believe the 04 has an issue but I’ll keep you informed if I make any progress.

Thanks for taking your time answering my question!

I hope you get it configured, as intented :slight_smile:

I have figured out that in AC mode there is no temperature set, but no luck so far.

Well, the “AC Mode” of the Dyson is just the FAN Mode. It will not actively cool down your place. Therefore, also no temperature set. Just turn it on without heating mode and you should be set :slight_smile:

@AlmostSerious thanks the HP03 has hot cold, I acknowledge it’s not normal cooling but it’s a little better than just a fan. From memory just turning it on does not activate “cooling” mode but I will check this and confirm.

Hello All,

Today I have solved this, I used ‘climate.set_hvac_mode’. Please see my code below note I have some delays in my code as i found this works more smoothly but need to do some more testing to see what is really required.

I also have a smart switch which I turn off/on as you will see in the scripts I call.

cooling_max:
  alias: Max Cooling
  sequence:
    - service: script.turn_on
      entity_id: script.dyson_on
    - delay: '00:00:05'
    - service: script.turn_on
      entity_id: script.dyson_fan_on
    - delay: '00:00:01'
    - service: climate.set_hvac_mode
      data:
        entity_id: climate.dyson
        hvac_mode: cool
    - delay: '00:00:01'
    - service: fan.set_speed
      data:
        entity_id: fan.dyson
        speed: '8'
    - delay: '00:00:01'
    - service: script.turn_on
      entity_id: script.dyson_osc

# GENERAL CONTROLS
dyson_on:
  alias: Dyson On
  sequence:
    - condition: state
      entity_id: switch.xxx
      state: 'off'
    - service: switch.turn_on
      data:
        entity_id: switch.xxx

dyson_fan_on:
  alias: Dyson Fan On
  sequence:
    - service: fan.turn_on
      data:
        entity_id: fan.dyson

dyson_osc:
  alias: Dyson Osc
  sequence:
    - service: fan.oscillate
      data:
        entity_id: fan.dyson
        oscillating: true