From 1a74c41056927c1c2e7ec07666a7e7b81efe66cc Mon Sep 17 00:00:00 2001 From: Luar Roji Date: Wed, 3 May 2017 03:32:19 -0300 Subject: [PATCH] Fixed extra R in variable name. (#7418) --- homeassistant/components/switch/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/switch/__init__.py b/homeassistant/components/switch/__init__.py index e792f384e1c..786319f4200 100644 --- a/homeassistant/components/switch/__init__.py +++ b/homeassistant/components/switch/__init__.py @@ -31,12 +31,12 @@ ENTITY_ID_ALL_SWITCHES = group.ENTITY_ID_FORMAT.format('all_switches') ENTITY_ID_FORMAT = DOMAIN + '.{}' ATTR_TODAY_ENERGY_KWH = "today_energy_kwh" -ATTR_CURRRENT_POWER_W = "current_power_w" +ATTR_CURRENT_POWER_W = "current_power_w" MIN_TIME_BETWEEN_SCANS = timedelta(seconds=10) PROP_TO_ATTR = { - 'current_power_w': ATTR_CURRRENT_POWER_W, + 'current_power_w': ATTR_CURRENT_POWER_W, 'today_energy_kwh': ATTR_TODAY_ENERGY_KWH, }