Ring - Configuration error - String none - Got None

Hello,

I have recently been tinkering with HA and setting it up. I have tried Home Assistant 0.102.3 and Hass.io 0.103.0

I have had luck setting most things up (Harmony, Xiaomi, Tuya switches, Dyson fan, etc.) However, I keep running into the same error/problem with Ring.

## Log Details (ERROR)
 
 Wed Dec 18 2019 20:01:19 GMT+1100 (Australian Eastern Daylight Time)
 
 Invalid config for [ring]: string value is None for dictionary value @ data['ring']['password']. Got None. (See /config/configuration.yaml, line 25). Please check the docs at https://home-assistant.io/integrations/ring/

I have the following in my configuration.yaml:

ring:
   username: !secret ring_username
   password: !secret ring_password

I have also tried with my actual username & password as well, but still, no matter what get this same error.

I’ve searched Google & the forums and can’t find anyone with the same issue using the Ring integration. I have a ring plan.

Does anyone have any ideas? Thanks

Indentation, Your username and password lines have one space too many from what I can see.
Try

ring:
  username: !secret ring_username
  password: !secret ring_password

Thanks for the reply @skutter I am not sure why it pasted as under the g, it is under the n in my config, 2 spaces.

Did you try putting the password in quotes?

In you secrets.yaml file you have this?

ring_username: blablabla
ring_password: ultra_secure*blablabla
ring_username: [email protected]
ring_password: supersecretpass

I am not sure if this would effect it, but, my ring password has a # in it at the start? ie #supersecretpass

When you say in quotes, do you mean in the secrets or config yaml? I don’t think I have tried that

Okay then you need to put it in quotes in the secrets file. The # character signifies that a comment is coming, that’s also why the error message says the password is empty, because it takes your password as a comment.

Yeah, I was considering just changing my password to see if that fixed it!

So would it just be:

ring_password: "#supersecretpass"

Yes, try this.

1 Like

Thanks, it looks like that got me past that problem. A few new issues now, but, that looks like it is Ring/docker related so I will try to fix that myself before posting :slight_smile:
Appreciate your help

For those that land on this page, after getting the above to work. I couldn’t get it to display. I had two factor authentication enabled and when I disabled it, then it displayed. I will look into it further down the track but disabled for the time being…