mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Deprecate raw_value attribute in onewire entity (#135171)
* Drop raw_value attribute in onewire entity * Deprecate only
This commit is contained in:
parent
9901f3c3dd
commit
316a61fcde
@ -54,6 +54,7 @@ class OneWireEntity(Entity):
|
|||||||
"""Return the state attributes of the entity."""
|
"""Return the state attributes of the entity."""
|
||||||
return {
|
return {
|
||||||
"device_file": self._device_file,
|
"device_file": self._device_file,
|
||||||
|
# raw_value attribute is deprecated and can be removed in 2025.8
|
||||||
"raw_value": self._value_raw,
|
"raw_value": self._value_raw,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user