koush / ha_scrypted

22 stars 4 forks source link

After reboot of HA custom component/integration will not start #10

Closed DanielWeeber closed 11 months ago

DanielWeeber commented 11 months ago

Hey,

custom component will not start/connect to scrypted after a reboot of HA (im using HassIO in this case) because of a racing condition. The custom component tries to reach scrypted earlier as its able to start.

If I go to integrations -> scypted and click on "reload" after HA has booted fully everything is working fine

image
koush commented 11 months ago

https://github.com/koush/ha_scrypted/commit/834e9212bfeb6f4d32e79fe7be90f250e6573726