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 d4cde2bfbf
commit 6159f8b0ce

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."""