mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 01:07: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
|
@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."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user