Add Ring config flow#30564
Conversation
|
@balloob this is awesome!! I'm going to test it tonight! |
MartinHjelmare
left a comment
There was a problem hiding this comment.
Also remove the stale CONF_SCAN_INTERVAL option from the config schema.
|
@balloob I was able to get it working. Basically one a fresh new installation, I went to Added my username and password there and the component got added correctly, however, no image was displayed so far. Then I modified the Tomorrow I'll enable the 2FA to test as well. So far, so good :) 👍 |
|
Yeah I realized I need to forward the config entry. Haven't done that yet. I'll clean it up. Still going to add it to the beta |
|
Addressed comments and converted the platforms to use config entries too. Now it's able to delete the entry without restart too. Just adding device info would make this 🔥 but I don't have any Ring devices to work with. Just using an empty account. That's for someone else. |
|
This should help to close #25088 :) |
9ae23f1 to
1710b71
Compare
* Add Ring config flow * Address comments + migrate platforms to config entry * Migrate camera too * Address comments * Fix order config flows * setup -> async_setup
|
I tried this using docker image: homeassistant/home-assistant:0.104.0b1 |
|
I also have the EXACT same error as @robfish1956 |
|
The ring integration has been blocked again because the library was not fixed properly last time, still causing unnecessary token refreshes on EACH request. That needs to be fixed and this will work again. |

Breaking Change
Ring is now configurable via a config entry. This means it will no longer store the username and password and you're able to configure accounts that use 2FA. It's no longer possible to set scan interval, monitored conditions or ffmpeg arguments. The defaults are used.
Description:
This adds config flow support to Ring.
Benefits:
CC @tchellomello
resolves #25088
Checklist:
tox. Your PR cannot be merged unless tests passIf the code does not interact with devices: