mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Add translated native unit of measurement to Jellyfin (#132055)
This commit is contained in:
parent
c610f16e90
commit
0c693b6ae1
@ -36,7 +36,6 @@ SENSOR_TYPES: tuple[JellyfinSensorEntityDescription, ...] = (
|
|||||||
key="watching",
|
key="watching",
|
||||||
translation_key="watching",
|
translation_key="watching",
|
||||||
value_fn=_count_now_playing,
|
value_fn=_count_now_playing,
|
||||||
native_unit_of_measurement="clients",
|
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -29,7 +29,8 @@
|
|||||||
"entity": {
|
"entity": {
|
||||||
"sensor": {
|
"sensor": {
|
||||||
"watching": {
|
"watching": {
|
||||||
"name": "Active clients"
|
"name": "Active clients",
|
||||||
|
"unit_of_measurement": "clients"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user