From 5dbdf82ec78af64ae712e6d0193add0ec7561976 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 23 Oct 2015 22:58:00 +0200 Subject: [PATCH] Fix typo --- homeassistant/components/switch/tellstick.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/switch/tellstick.py b/homeassistant/components/switch/tellstick.py index 363de83fdfb..4bff2c8592c 100644 --- a/homeassistant/components/switch/tellstick.py +++ b/homeassistant/components/switch/tellstick.py @@ -14,7 +14,7 @@ from homeassistant.helpers.entity import ToggleEntity import tellcore.constants as tellcore_constants from tellcore.library import DirectCallbackDispatcher -SINGAL_REPETITIONS = 1 +SIGNAL_REPETITIONS = 1 REQUIREMENTS = ['tellcore-py==1.1.2'] _LOGGER = logging.getLogger(__name__) @@ -30,7 +30,7 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None): core = telldus.TelldusCore(callback_dispatcher=DirectCallbackDispatcher()) - signal_repetitions = config.get('signal_repetitions', SINGAL_REPETITIONS) + signal_repetitions = config.get('signal_repetitions', SIGNAL_REPETITIONS) switches_and_lights = core.devices()