Fix displaying of friendly_name for light template component (#9413)

This commit is contained in:
rollbrettler authored and Pascal Vizeli committed 2017-09-14 10:13:01 +02:00
1 parent 3430c1c8bc
commit 371d1cc872
2 files changed
+43

No files matched your search

@@ -127,6 +127,11 @@ class LightTemplate(Light):
"""Return the brightness of the light."""
return self._brightness
@property
def name(self):
"""Return the display name of this light."""
return self._name
@property
def supported_features(self):
"""Flag supported features."""