Add icon to Plex sensor (#30172)

This commit is contained in:
Quentame authored and Aaron Bach committed 2019-12-23 09:25:57 -07:00
1 parent a2678b2aff
commit e3a3964911
1 file changed
+5
+5
View File
@@ -86,6 +86,11 @@ class PlexSensor(Entity):
"""Return the unit this state is expressed in."""
return "Watching"
@property
def icon(self):
"""Return the icon of the sensor."""
return "mdi:plex"
@property
def device_state_attributes(self):
"""Return the state attributes."""