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):
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.
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)?