From 6159f8b0ce1489eaba98bf2918bc5f430d8ff011 Mon Sep 17 00:00:00 2001 From: Rohan Kapoor Date: Mon, 1 Oct 2018 01:53:20 -0700 Subject: [PATCH] Fix switch.zoneminder name (#17026) --- homeassistant/components/switch/zoneminder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/switch/zoneminder.py b/homeassistant/components/switch/zoneminder.py index 265f94fbbb1..c28fe843b90 100644 --- a/homeassistant/components/switch/zoneminder.py +++ b/homeassistant/components/switch/zoneminder.py @@ -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."""