We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be0e34d commit 16a1c9dCopy full SHA for 16a1c9d
custom_components/victron/binary_sensor.py
@@ -106,7 +106,7 @@ def is_on(self) -> bool:
106
self.description.slave,
107
self.description.key,
108
)
109
- return cast(bool, data)
+ return cast("bool", data)
110
111
@property
112
def available(self) -> bool:
custom_components/victron/sensor.py
@@ -191,7 +191,6 @@ def _handle_coordinator_update(self) -> None:
191
"The reported value %s for entity %s isn't a decobale value. Please report this error to the integrations maintainer",
192
data,
193
self._attr_name,
194
- exc_info=1,
195
196
else:
197
self._attr_native_value = data
0 commit comments