mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +02:00
Fix switch.zoneminder name (#17026)
This commit is contained in:
committed by
Paulus Schoutsen
parent
d4cde2bfbf
commit
6159f8b0ce
@@ -57,7 +57,7 @@ class ZMSwitchMonitors(SwitchDevice):
|
|||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
"""Return the name of the switch."""
|
"""Return the name of the switch."""
|
||||||
return '{}\'s State'.format(self._monitor.name)
|
return '{} State'.format(self._monitor.name)
|
||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
"""Update the switch value."""
|
"""Update the switch value."""
|
||||||
|
Reference in New Issue
Block a user