Skip to content

Commit

Permalink
Deprecate raw_value attribute in onewire entity (#135171)
Browse files Browse the repository at this point in the history
* Drop raw_value attribute in onewire entity

* Deprecate only
  • Loading branch information
epenet authored Jan 9, 2025
1 parent 9901f3c commit 316a61f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions homeassistant/components/onewire/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def extra_state_attributes(self) -> dict[str, Any] | None:
"""Return the state attributes of the entity."""
return {
"device_file": self._device_file,
# raw_value attribute is deprecated and can be removed in 2025.8
"raw_value": self._value_raw,
}

Expand Down

0 comments on commit 316a61f

Please sign in to comment.