From ed44d28fc07bc6893f7f76a805355fb56fe5e7ed Mon Sep 17 00:00:00 2001 From: Johann Kellerman Date: Mon, 6 Jun 2016 16:36:04 +0200 Subject: [PATCH] service helper replaced with script helper (#2242) --- homeassistant/components/switch/template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/switch/template.py b/homeassistant/components/switch/template.py index 6a28d46fc21..c4630c5fee8 100644 --- a/homeassistant/components/switch/template.py +++ b/homeassistant/components/switch/template.py @@ -12,7 +12,7 @@ from homeassistant.const import ( ATTR_ENTITY_ID, MATCH_ALL) from homeassistant.exceptions import TemplateError from homeassistant.helpers.entity import generate_entity_id -from homeassistant.helpers.service import call_from_config +from homeassistant.helpers.script import call_from_config from homeassistant.helpers import template from homeassistant.helpers.event import track_state_change from homeassistant.util import slugify