Addons configuration page expanding secret in secrets.yaml

I was using “!secret password” for all my addons without problems previously.

However, I just noticed now when I change anything in the addons configuration page, the secrets get expanded as the actual passwords after saving and restarting the addons.

Is there anyway to keep the old behaviour? Thanks.

Do you mean when you look at the config in the add-on the next time, the value is there, not the !secret keyword placeholder?