@claytonjn, thanks so much for gifting some of your time and knowledge to my issue here!
I definitely restarted (ended up doing so a few times) after adding the 5 files (including light.py
) to config/custom_components/ring/
However, before the initial restart, I had removed (i.e., commented out) light: - platform: ring
in configuration.yaml
after not being able to validate configuration.yaml
for fear that I might not be able to get back into HA after a restart with the unvalidated configuration.yaml
.
Do you think that was a mistake? Could/should I have safely restarted HA with the unvalidated light: - platform: ring
in configuration.yaml
?
Either way, it may be worth mentioning that after the first restart following the add of the 5 files (including light.py
) to config/custom_components/ring/
, I definitely had light: - platform: ring
added back into configuration.yaml
and tried to validate again (and it failed to validate again telling me “Platform not found: light.ring”).
That said, I can’t remember if any of my restarts thereafter did or didn’t have light: - platform: ring
included in configuration.yaml
at the time of reboot—I just know that there was no success after each restart, and at one point, my Configurator stopped loading + I lost my other light integrations (Tuya).
By then it was 1am, so I restored a previous snapshot and called it a night.
I was semi-aware of the implications in Hassio per overriding the built-in Ring:
component with all 5 of the files (including light.py
) added to config/custom_components/ring/
. In on eof my attempts, I had also tried deleting all but light.py
from config/custom_components/ring/
with a restart and no luck. But your notes above help add clarity and confirmation for me on that front.
I LOVE the suggestion of putting light.py
in config/custom_components/ring_light
and then trying for:
light:
- platform: ring_light
Before I try that, though, I am hoping you can confirm that it should be safe for me to add both light.py
to config/custom_components/ring_light
and light: - platform: ring
in configuration.yaml
at the same time and restart HA (even with the expected configuration.yaml
throwing validation errors)?
Or would it be better practice for me to:
-
Add light.pyto
config/custom_components/ring_light` then restart
-
light: - platform: ring_light
in configuration.yaml
then validate then restart (even if configuration.yaml
won’t validate)
Thanks SO MUCH for your help!!