From 46819acaff8cfc720cc5b1a33c58eda19720fb78 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 24 Apr 2015 08:26:41 +0200 Subject: [PATCH] Fix two typos --- homeassistant/components/switch/demo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/switch/demo.py b/homeassistant/components/switch/demo.py index 998597c3e8c..96a48d01a9e 100644 --- a/homeassistant/components/switch/demo.py +++ b/homeassistant/components/switch/demo.py @@ -1,4 +1,4 @@ -""" Demo platform that has two fake switchces. """ +""" Demo platform that has two fake switches. """ from homeassistant.helpers.entity import ToggleEntity from homeassistant.const import STATE_ON, STATE_OFF, DEVICE_DEFAULT_NAME @@ -30,7 +30,7 @@ class DemoSwitch(ToggleEntity): @property def state(self): - """ Returns the name of the device if any. """ + """ Returns the state of the device if any. """ return self._state @property