From 86b318e992f9a7b10a602a7555435fbef537d4ab Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Tue, 25 Oct 2016 07:20:40 -0400 Subject: [PATCH] fix typos in script module strings It looks like some copy / paste in docstrings, clean them up for posterity. --- homeassistant/components/script.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/script.py b/homeassistant/components/script.py index dfaa6b250b0..21511eea1b9 100644 --- a/homeassistant/components/script.py +++ b/homeassistant/components/script.py @@ -51,7 +51,7 @@ SCRIPT_TURN_ONOFF_SCHEMA = vol.Schema({ def is_on(hass, entity_id): - """Return if the switch is on based on the statemachine.""" + """Return if the script is on based on the statemachine.""" return hass.states.is_state(entity_id, STATE_ON) @@ -154,7 +154,7 @@ class ScriptEntity(ToggleEntity): return self.script.is_running def turn_on(self, **kwargs): - """Turn the entity on.""" + """Turn the script on.""" self.script.run(kwargs.get(ATTR_VARIABLES)) def turn_off(self, **kwargs):