Where to see the command_line switch

Seems very straightforward, but I got stuck for a couple of days already. I made a simple command line switch like this in configuration.yaml (just for testing):

command_line:
  - switch:
      name: test_switch
      unique_id: switch_1
      command_on: 'ssh -i /config/ssh/id_ed25519 [email protected] "ls -al"'
      command_off: 'echo bye'

Reloading the configuration is fine, i.e., I do not see any issues reported in the log. But I just do not see it from anywhere. Where am I supposed to check it and test it? I am running HA in a docker container (v2024.7.0, front end version 20240703.0). I checked under Developer Tools/STATE, but it is not there (searching by either its name or unique_id). Also checked under "Settings/Devices & services/Devices and Entities“. No luck either.

If this is the first time you have used the command line integration you need to restart Home Assistant. Reloading the integration is not enough.

A Home Assistant restart is required the first time you use any integration that supports a unique id. After that you can use reload.

If the integration does not support a unique id then you always need to restart after making YAML changes or additions.

Thanks @tom_l . Indeed, I have to restart my HA container! It’s now working, and I can add it to my card.
I do remember that I restarted the container multiple times in the past 2d. The reason that it didn’t show up earlier is probably because I had syntax errors in yaml. Once I got the syntax right, I didn’t restart. Bummer.
Just for sake of completeness to my question. Is it correct that “Developer Tools/STATES” is usually the place to check those newly added command line switches? Is there any other more convenient and straightforward way (I know it can also show up when trying to add to a card)?