pnbruckner / ha-sun2

Home Assistant Sun2 Sensor
The Unlicense
235 stars 22 forks source link

Only reload config entry if it's in a state where it can be reloaded #118

Closed pnbruckner closed 8 months ago

pnbruckner commented 8 months ago

Depending on startup timing, it's possible for an attempt to be made to reload a configuration entry when it's still in the process of being initially setup (i.e., loaded.) This change avoids reloading a configuration entry when it is not in a state where it can be reloaded.

Fixes #117