HP Ilo power status in automations

I have this entity that reports on / off.

But in automation there is this :

in configuration.yaml:

sensor:
  - platform: hp_ilo
    host: x.x.x.x
    username: !secret ilo_user
    password: !secret ilo_password
    monitored_variables:
      - name: power status
        sensor_type: server_power_status

How can i use this in automations ?

Ohh… i can just write ON or OFF to it lol…