Router Password start with a "["

I am trying to set up presence detection with a cisco router. The Cisco ios requires a password, but the password to the router stars with a [ (bracket) For example, the password to the router is “[password123”

I have installed the visual basic and it really does not like the bracket when I try the

password: [password123 in the configuration.yaml

I have tried using " and ’ but with no luck. Is there a way that I can keep the password and have it work in the configuration.yaml file?

Single or double quotes should work, maybe not in the UI, but editing the configuration.yaml should do.

You could also try

password: >
  [password123

Can’t you just change the password in the router?

Yes. But a solution to this has other applications. That was the reason for my question, “Is there a way that I can keep the password and have it work in the configuration.yaml file?”

Just to update this so it doesn’t stay open without a solution. It seems that the " (quotation marks) worked. The problem is that the cisco_ios is not working correctly as of this post. See https://github.com/home-assistant/core/issues/41660 for what seems to be a problem with the cisco_ios device tracker.