Fixed SI units for current consumption (#13190)

pull/11000/merge
Vincent Van Den Berghe 2018-03-14 08:14:36 +01:00 committed by Fabian Affolter
parent 6310deb5c2
commit 948f29544a
1 changed files with 4 additions and 4 deletions

View File

@ -21,17 +21,17 @@ SENSOR_TYPES = {
'active_power':
['Active Power', 'mdi:power-plug', 'local', 'W', 'active_power'],
'current':
['Current', 'mdi:gauge', 'local', 'Amps', 'current'],
['Current', 'mdi:gauge', 'local', 'A', 'current'],
'voltage':
['Voltage', 'mdi:gauge', 'local', 'V', 'voltage'],
'active_cosfi':
['Power Factor', 'mdi:gauge', 'local', '%', 'active_cosfi'],
'alwayson_today':
['Always On Today', 'mdi:gauge', 'remote', 'kW', 'alwaysOn'],
['Always On Today', 'mdi:gauge', 'remote', 'kWh', 'alwaysOn'],
'solar_today':
['Solar Today', 'mdi:white-balance-sunny', 'remote', 'kW', 'solar'],
['Solar Today', 'mdi:white-balance-sunny', 'remote', 'kWh', 'solar'],
'power_today':
['Power Today', 'mdi:power-plug', 'remote', 'kW', 'consumption']
['Power Today', 'mdi:power-plug', 'remote', 'kWh', 'consumption']
}
SCAN_INTERVAL = timedelta(seconds=30)