Skip to content

Commit

Permalink
Fix value for Rf Sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
rrooggiieerr committed Jul 6, 2024
1 parent 46419a2 commit 482eac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/homeduino/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def _handle_coordinator_update(self) -> None:

_LOGGER.debug(self.coordinator.data)
try:
self._attr_native_value = int(values.get(self.field))
self._attr_native_value = values.get(self.field)
self._attr_available = True
except ValueError as ex:
_LOGGER.error(ex)
Expand Down

0 comments on commit 482eac6

Please sign in to comment.