Move temperature conversions to sensor base class - new integrations (#54623)
* Move temperature conversions to sensor base class * Tweaks * Update pvpc_hourly_pricing * Fix flipr sensor * Fix ezviz and youless sensor
This commit is contained in:
parent
a9807e5fa7
commit
87e7a8fb5f
17 changed files with 60 additions and 58 deletions
|
@ -34,7 +34,7 @@ class AcmedaBattery(AcmedaBase, SensorEntity):
|
|||
"""Representation of a Acmeda cover device."""
|
||||
|
||||
device_class = DEVICE_CLASS_BATTERY
|
||||
unit_of_measurement = PERCENTAGE
|
||||
_attr_native_unit_of_measurement = PERCENTAGE
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue