Change attribute names (#9277)

Remove spaces and capitals in attribute names to be consistent with sensors and other switches.
pull/9279/head
emlt 2017-09-03 16:07:12 +02:00 committed by Pascal Vizeli
parent db36b5cd23
commit 7694c31814
1 changed files with 3 additions and 3 deletions

View File

@ -23,9 +23,9 @@ DEFAULT_PASSWORD = ''
DEFAULT_USERNAME = 'admin'
CONF_USE_LEGACY_PROTOCOL = 'use_legacy_protocol'
ATTR_CURRENT_CONSUMPTION = 'Current Consumption'
ATTR_TOTAL_CONSUMPTION = 'Total Consumption'
ATTR_TEMPERATURE = 'Temperature'
ATTR_CURRENT_CONSUMPTION = 'power_consumption'
ATTR_TOTAL_CONSUMPTION = 'total_consumption'
ATTR_TEMPERATURE = 'temperature'
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
vol.Required(CONF_HOST): cv.string,