Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid loading timezone at runtime (#157)
* Avoid loading timezone at runtime Pytz will load timezone info from files in a lazy fashion on first access. This triggers warnings in HA due to it blocking the event loop. Pre-load the needed timezone info at module import instead, which will run in executor in HA. * Update value_types.py
- Loading branch information