Skip to content

Commit

Permalink
Remove rounding from onewire sensors (#135095)
Browse files Browse the repository at this point in the history
  • Loading branch information
epenet authored Jan 8, 2025
1 parent 8be01ac commit d431873
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 46 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/onewire/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ def update(self) -> None:
elif self.entity_description.read_mode == READ_MODE_BOOL:
self._state = int(self._value_raw) == 1
else:
self._state = round(self._value_raw, 1)
self._state = self._value_raw
Loading

0 comments on commit d431873

Please sign in to comment.