From e3a396491119fc8f436415ede7ea3543e6b5e8c7 Mon Sep 17 00:00:00 2001
From: Quentame <polletquentin74@me.com>
Date: Mon, 23 Dec 2019 17:25:57 +0100
Subject: [PATCH] Add icon to Plex sensor (#30172)

---
 homeassistant/components/plex/sensor.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/homeassistant/components/plex/sensor.py b/homeassistant/components/plex/sensor.py
index 2a994b08a7b..2aed57946eb 100644
--- a/homeassistant/components/plex/sensor.py
+++ b/homeassistant/components/plex/sensor.py
@@ -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."""
-- 
GitLab