How disable UPS beeper on HAOS install

I use actual HAOS install, on my ubuntu supervised install i use command
upscmd -u user -p password name_ups beeper.toggle
But in HAOS it’s don’t work, Is there a way to do this in HAOS?
My NUT ad-don config:

users:
  - username: ###
    password: ###
    instcmds:
      - all
    actions:
      - set
devices:
  - name: ###
    driver: blazer_usb
    port: auto
    config:
      - vendorid = 0665
      - productid = 5161
mode: netserver
shutdown_host: false
log_level: debug
upsd_maxage: 25

The NUT Integration provides NUT client-like capabilities. There is a way, and its a bit of a strange way that HA went about it, but you have to use “Device Triggers” to actually execute a upscmd command like this.
What I do is create an automation in the UI that I manually run whenever needed:

alias: Run NUT Command
description: ""
triggers: []
conditions: []
actions:
  - type: beeper_disable
    device_id: idmadeupbyha
    domain: nut
mode: single

You can copy-n-paste this YAML into your automation (in YAML mode), but then go back to visual editor mode, and click on the “Then Do” entry and select your actual UPS device in the device pull-down, and in the Action, you should get a list of commands that NUT will run.

I then simply manually run the automation to execute this.

Do you want to disable the beeper for good or just during startup?

Thanks for your reply!
I tried this method, but I can’t access the visual editor for the “Then Do” field. I get an error that says:

The visual editor is not supported for this configuration.
The editor is not available for an unknown device.
You can still edit the configuration using YAML.

I’ve tried using different values, including my server name, upsha_local.

I would like to have this opportunity at any time.

Umm…start with a new automation, and “add action” and in the “Then Do” search for “Device” and select it. Then select your NUT device. After selecting your NUT UPS device, you should be able to pick a command from the list.

Thanks! I found out the device_id of my UPS, but automation gives an error

* Run NUT Command: Error executing script. Error for device at pos 1: Invalid configuration entries for NUT device with ID 0c0df81a2cb88fba37d87a54859f85ef
* Run NUT Command: Error executing script. Error for device at pos 1: Error running command beeper.disable, Error running: INSTCMD upsha_local beeper.disable: ERR CMD-NOT-SUPPORTED

Show your automation in YAML.
Just wondering if its beeper_disable versus beeper.disable

- alias: Run NUT Command
  description: ""
  trigger: []
  condition: []
  action:
    - type: beeper_disable
      device_id: 0c0df81a2cb88fba37d87a54859f85ef
      domain: nut
  mode: single

Now it work. I found right device_id when use my ups name server: upsha_local and use action beeper_toggle instead of beeper_disable and it work!

- alias: Run NUT Command
  description: ""
  trigger: []
  condition: []
  action:
    - type: beeper_toggle
      device_id: 9d67937774df6279570ee7baabe7dbc5
      domain: nut
  mode: single