Fix switch.zoneminder name (#17026)

This commit is contained in:
Rohan Kapoor
2018-10-01 01:53:20 -07:00
committed by Paulus Schoutsen
parent 1ca2e5226b
commit d09ee8ac82

View File

@@ -57,7 +57,7 @@ class ZMSwitchMonitors(SwitchDevice):
@property
def name(self):
"""Return the name of the switch."""
return '{}\'s State'.format(self._monitor.name)
return '{} State'.format(self._monitor.name)
def update(self):
"""Update the switch value."""