bramstroker / homeassistant-powercalc

Custom component to calculate estimated power consumption of lights and other appliances
MIT License
958 stars 252 forks source link

Blocking call to open inside the event loop in Home Assistant 2024.6.0 beta #2264

Closed kukulich closed 4 months ago

kukulich commented 4 months ago

System Health details

Home Assistant 2024.6.0b0

Checklist

Describe the issue

Detected blocking call to open inside the event loop by custom integration 'powercalc' at custom_components/powercalc/power_profile/loader/remote.py, line 122: with open(path) as f: (offender: /config/custom_components/powercalc/power_profile/loader/remote.py, line 122: with open(path) as f:)

Detected blocking call to open inside the event loop by custom integration 'powercalc' at custom_components/powercalc/power_profile/loader/remote.py, line 108: with open(model_path) as f: (offender: /config/custom_components/powercalc/power_profile/loader/remote.py, line 108: with open(model_path) as f:

Reproduction steps

  1. Upgrade to Home Assistant 2024.6.0
  2. ...

Debug logs

.

Diagnostics dump or YAML config

No response