[Template-switch] Invalid value operation_mode for False

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

It works when turning ON,but gives me a

ERROR (Thread-4) [homeassistant.components.climate.daikin] Invalid value operation_mode for False

When i try to turn it OFF, seems like Hass is translating that OFF value on the operation mode to “false” and the component dosen’t like it? how do i avoid this?

uuuh single brackets

operation_mode: ‘off’

is the way

Or perhaps “off” instead of “Off” (without first capital)?