litinoveweedle / SmartIR

⏻ Control Home Assistant climate, fan, media_player and light devices via IR/RF controllers (Broadlink, Xiaomi, MQTT, LOOKin, ESPHome, ZHA)
MIT License
86 stars 28 forks source link

fix warning Replace blocking file open call with async method #25

Closed rafiw closed 3 months ago

rafiw commented 3 months ago

used async file call to solve warning: Detected blocking call to open inside the event loop by custom integration 'smartir' at custom_components/smartir/init.py, line 60:

https://github.com/litinoveweedle/SmartIR/issues/24