Need help automating manual alarm control panel

I installed the manual alarm control panel and configured it but can’t get my automation to work. I can manually arm and disarm the control panel without any issues but I’m not having any luck trying to arm the panel via automations.

My automation-

alias: arm alarm
description: 'Set shop alarm to state armed_away at 11:00pm.'
trigger:
  - platform: time
    at: '23:00'
action:
  - condition: state
    entity_id: alarm_control_panel.shop_alarm
    state: armed_away
mode: single


I’m sure I haven’t got this right but don’t know what it should be?

manual alarm control panel configuration-

alarm_control_panel:
  - platform: manual
    name: shop alarm
    code_arm_required: false
    code: '1234'
    arming_time: 0
    delay_time: 0
    trigger_time: 4
    disarmed:
      trigger_time: 0
    armed_home:
      arming_time: 0
      delay_time: 0

I was right, I did have it completely wrong. :flushed:
Should have looked at it closer.

alias: arm alarm
description: 'Set shop alarm to state armed_away at 11:00pm.'
trigger:
  - platform: time
    at: '23:00'
condition: []
action:
  - service: alarm_control_panel.alarm_arm_away
    entity_id: alarm_control_panel.shop_alarm
mode: single