Fix for 'list index out of range' (#54588)

This commit is contained in:
Duco Sebel 2021-08-13 17:03:13 +02:00 committed by GitHub
parent 029873a088
commit 3454102dc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,6 +50,7 @@ SENSOR_TYPES = {
ELECTRIC_POTENTIAL_VOLT,
"mdi:current-ac",
None,
None,
],
"current_DC_voltage": [
"dcvoltage",
@ -57,6 +58,7 @@ SENSOR_TYPES = {
ELECTRIC_POTENTIAL_VOLT,
"mdi:current-dc",
None,
None,
],
"current_frequency": [
"gridfrequency",