diff --git a/homeassistant/components/switch/tplink.py b/homeassistant/components/switch/tplink.py index 1b8ef585557..2f695c0bfc1 100644 --- a/homeassistant/components/switch/tplink.py +++ b/homeassistant/components/switch/tplink.py @@ -18,11 +18,11 @@ REQUIREMENTS = ['pyHS100==0.2.4.2'] _LOGGER = logging.getLogger(__name__) -ATTR_CURRENT_CONSUMPTION = 'Current consumption' -ATTR_TOTAL_CONSUMPTION = 'Total consumption' -ATTR_DAILY_CONSUMPTION = 'Daily consumption' -ATTR_VOLTAGE = 'Voltage' -ATTR_CURRENT = 'Current' +ATTR_CURRENT_CONSUMPTION = 'current_consumption' +ATTR_TOTAL_CONSUMPTION = 'total_consumption' +ATTR_DAILY_CONSUMPTION = 'daily_consumption' +ATTR_VOLTAGE = 'voltage' +ATTR_CURRENT = 'current' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_HOST): cv.string,