mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
Fix switch.zoneminder name (#17026)
This commit is contained in:
parent
d4cde2bfbf
commit
6159f8b0ce
@ -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…
x
Reference in New Issue
Block a user