You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logger: homeassistant.components.sensor
Source: custom_components/niu/sensor.py:436
Integration: Sensor (documentation, issues)
First occurred: 14:10:28 (1 occurrences)
Last logged: 14:10:28
Error while setting up niu platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/niu/sensor.py", line 392, in setup_platform
NiuSensor(
File "/config/custom_components/niu/sensor.py", line 503, in init
self._state = self._data_bridge.dataTrack(self._id_name)
File "/config/custom_components/niu/sensor.py", line 436, in dataTrack
(self._dataTrackInfo["data"][0][id_field]) / 1000
TypeError: 'bool' object is not subscriptable
After upgrading to 2022.8.0b4 no values are returned.
The text was updated successfully, but these errors were encountered: