Add string and icon translations to pyLoad integration (#120234)
add string and icon translations to pyLoad
This commit is contained in:
parent
001abdaccf
commit
473b3b61eb
4 changed files with 21 additions and 5 deletions
|
@ -58,7 +58,7 @@ class PyLoadSensorEntity(StrEnum):
|
|||
SENSOR_DESCRIPTIONS: tuple[SensorEntityDescription, ...] = (
|
||||
SensorEntityDescription(
|
||||
key=PyLoadSensorEntity.SPEED,
|
||||
name="Speed",
|
||||
translation_key=PyLoadSensorEntity.SPEED,
|
||||
device_class=SensorDeviceClass.DATA_RATE,
|
||||
native_unit_of_measurement=UnitOfDataRate.BYTES_PER_SECOND,
|
||||
suggested_unit_of_measurement=UnitOfDataRate.MEGABYTES_PER_SECOND,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue