pnbruckner / ha-entity-tz

Home Assistant Entity Time Zone Sensor
The Unlicense
3 stars 0 forks source link

Run TimezoneFinder.timezone_at & imports in executor #8

Closed pnbruckner closed 6 months ago

pnbruckner commented 7 months ago

TimezoneFinder.timezone_at can, in some cases, do file I/O, so call it in an executor. Also, there are some indications that importing this integration can take too long, so do that in an executor also by adding "import_executor": true to manifest.json.

Resolves #7.