KartoffelToby / better_thermostat

This custom component for Home Assistant will add crucial features to your climate-controlling TRV (Thermostatic Radiator Valves) to save you the work of creating automations to make it smart. It combines a room-temperature sensor, window/door sensors, weather forecasts, or an ambient temperature probe to decide when it should call for heat and automatically calibrate your TRVs to fix the imprecise measurements taken in the radiator's vicinity.
https://better-thermostat.org
GNU Affero General Public License v3.0
847 stars 128 forks source link

Avoid blocking import warning #1371

Closed jamesonuk closed 2 weeks ago

jamesonuk commented 3 months ago

Motivation:

Resolves warnings about blocking imports

Changes:

Made use of HA async import helper and made surrounding functions async.

Related issue (check one):

Checklist (check one):

Test-Hardware list (for code changes)

HA Version: core-2024.7.3 Zigbee2MQTT Version: 1.39.0 commit: 0326926 TRV Hardware: Sonoff TRVZB

New device mappings

rvalitov commented 1 month ago

Hope this will be merged...

KartoffelToby commented 2 weeks ago

@jamesonuk sry for the long run, will be in the next Release, thanks for your work :)