Fix switch.zoneminder name (#17026)
This commit is contained in:
parent
d4cde2bfbf
commit
6159f8b0ce
1 changed files with 1 additions and 1 deletions
|
@ -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."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue