mirror of
https://github.com/home-assistant/core.git
synced 2025-08-11 08:35:15 +02:00
Use default translations by removing names from tplink descriptions (#98338)
This commit is contained in:
committed by
GitHub
parent
180ff24492
commit
9ce033daeb
@@ -50,7 +50,6 @@ ENERGY_SENSORS: tuple[TPLinkSensorEntityDescription, ...] = (
|
||||
native_unit_of_measurement=UnitOfPower.WATT,
|
||||
device_class=SensorDeviceClass.POWER,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
name="Current Consumption",
|
||||
emeter_attr="power",
|
||||
precision=1,
|
||||
),
|
||||
@@ -60,7 +59,6 @@ ENERGY_SENSORS: tuple[TPLinkSensorEntityDescription, ...] = (
|
||||
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
||||
device_class=SensorDeviceClass.ENERGY,
|
||||
state_class=SensorStateClass.TOTAL_INCREASING,
|
||||
name="Total Consumption",
|
||||
emeter_attr="total",
|
||||
precision=3,
|
||||
),
|
||||
@@ -70,7 +68,6 @@ ENERGY_SENSORS: tuple[TPLinkSensorEntityDescription, ...] = (
|
||||
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
||||
device_class=SensorDeviceClass.ENERGY,
|
||||
state_class=SensorStateClass.TOTAL_INCREASING,
|
||||
name="Today's Consumption",
|
||||
precision=3,
|
||||
),
|
||||
TPLinkSensorEntityDescription(
|
||||
|
Reference in New Issue
Block a user