Daikin Automation issues

I am having a little trouble setting up an automation to turn on my Daikin AC to cool mode when the room gets too hot.

I just can’t seem to get it to work, any pointers on where i might have gone wrong?

#office AC
  - alias: 'Office AC'
    initial_state: True
    hide_entity: false
    trigger:
      - platform: numeric_state
        entity_id: sensor.inside_temperature_office_ac
        above: 30
    action:
      - service: climate.set_temperature
        data:
          entity_id: climate.office
          temperature: 25
          operation_mode: Cool

Cheers,

I forgot to update this,
in case anyone else is trying to do something like this
(this one was actually for AC not heat but much the same thing!

I just had a few little things wrong

#Office Heat
  - alias: 'Office Heat ON'
    initial_state: true
    hide_entity: false
    trigger:
      - platform: numeric_state
        entity_id: sensor.inside_temperature_office_ac
        below: 18
    condition:
      - condition: time
        after: '0:00:01'
        before: '07:00:00' 
    action:
      - service: climate.set_temperature
        data:
          entity_id: climate.office
          temperature: 20
          operation_mode: heat