Add translated native unit of measurement to Jellyfin (#132055)
parent
f1ebda7c6f
commit
f44103ac7f
|
@ -36,7 +36,6 @@ SENSOR_TYPES: tuple[JellyfinSensorEntityDescription, ...] = (
|
|||
key="watching",
|
||||
translation_key="watching",
|
||||
value_fn=_count_now_playing,
|
||||
native_unit_of_measurement="clients",
|
||||
),
|
||||
)
|
||||
|
||||
|
|
|
@ -29,7 +29,8 @@
|
|||
"entity": {
|
||||
"sensor": {
|
||||
"watching": {
|
||||
"name": "Active clients"
|
||||
"name": "Active clients",
|
||||
"unit_of_measurement": "clients"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue