mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 16:57:10 +00:00
Add icon translations to Plex (#112182)
This commit is contained in:
parent
48de304465
commit
1feeeb8608
13
homeassistant/components/plex/icons.json
Normal file
13
homeassistant/components/plex/icons.json
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"entity": {
|
||||||
|
"sensor": {
|
||||||
|
"plex": {
|
||||||
|
"default": "mdi:plex"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"services": {
|
||||||
|
"refresh_library": "mdi:refresh",
|
||||||
|
"scan_for_clients": "mdi:database-refresh"
|
||||||
|
}
|
||||||
|
}
|
@ -72,7 +72,7 @@ class PlexSensor(SensorEntity):
|
|||||||
|
|
||||||
_attr_has_entity_name = True
|
_attr_has_entity_name = True
|
||||||
_attr_name = None
|
_attr_name = None
|
||||||
_attr_icon = "mdi:plex"
|
_attr_translation_key = "plex"
|
||||||
_attr_should_poll = False
|
_attr_should_poll = False
|
||||||
_attr_native_unit_of_measurement = "watching"
|
_attr_native_unit_of_measurement = "watching"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user