Closed NickM-27 closed 2 years ago
I was able to fix the error on my system by editing:
/config/custom_components/worlds_air_quality_index/sensor.py
and on lines 194 and 198 changing "_data" to "self._data" (without the quotes) on both lines and restarting HA. That will fix it until it is changed in the repository.
@NickM-27 and @wayned1014 I fixed it, and I released it, as https://github.com/pawkakol1/worlds-air-quality-index/releases/tag/v0.3.5-beta1 prerelease version, because I'm not able to check it now. You can enable to show prerelease versions, and try to update integration to this prerelease version.
v0.3.5-beta1 seems to have resolved the issue here.
Can also confirm that this fixes it.
After
0.3.4
air_quality_index is unavailable and I see this error in the logs: