Deprecate raw_value attribute in onewire entity (#135171)

* Drop raw_value attribute in onewire entity

* Deprecate only
This commit is contained in:
epenet 2025-01-09 11:20:08 +01:00 committed by GitHub
parent 9901f3c3dd
commit 316a61fcde
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,6 +54,7 @@ class OneWireEntity(Entity):
"""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,
}