Automate trigger on hvac_mode_changed


I want to turn off my AC display off whatever the AC is turned on. I created an automation on hvac_mode_changed, wait 5 seconds and turn off the display. I would like this automation to fire whatever the hvac mode is selected, right now it only works with heat. Basically I want to: 'Off' inverted.

Thank you

alias: Turn Off AC Display
description: ''
mode: single
  - platform: device
    device_id: 85008ff2f96e03a0a7b192156d0e509f
    domain: climate
    entity_id: climate.room_air_conditioner
    type: hvac_mode_changed
    to: 'heat'
  - delay:
      hours: 0
      minutes: 0
      seconds: 5
      milliseconds: 0
  - type: turn_off
    device_id: 85008ff2f96e03a0a7b192156d0e509f
    entity_id: switch.room_air_conditioner_light
    domain: switch

Instead of:

to: 'heat'


from: 'off'