Turning on power save mode on my tablet when the screen is locked

I am trying to turn on power save mode on my tablet when I lock the screen. The trigger works, but the action does not. This is my code. Any help would be appreciated.
alias: Turn ON Power Save when screen is locked
description: Turns on power save mode when the screen is locked.
triggers:

  • trigger: state
    entity_id:
    • binary_sensor.sm_p610_keyguard_locked
      to: “on”
      conditions:
      actions:
  • target:
    entity_id: binary_sensor.sm_p610_power_save
    action: binary_sensor.turn_on
    mode: single

https://community.home-assistant.io/t/how-to-help-us-help-you-or-how-to-ask-a-good-question/114371#oneone-format-it-properly-16