Fix some sensor classes (#48254)
* Fix some sensor classes * Tweak * Tweak
This commit is contained in:
parent
6932cf9534
commit
a09c8eecb7
19 changed files with 88 additions and 61 deletions
|
@ -54,11 +54,6 @@ class OneWireBaseEntity(Entity):
|
|||
"""Return the class of this device."""
|
||||
return self._device_class
|
||||
|
||||
@property
|
||||
def unit_of_measurement(self) -> str | None:
|
||||
"""Return the unit the value is expressed in."""
|
||||
return self._unit_of_measurement
|
||||
|
||||
@property
|
||||
def extra_state_attributes(self) -> dict[str, Any] | None:
|
||||
"""Return the state attributes of the entity."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue