From 3454102dc87bd5451cfddeadea4ba6e388dec8c7 Mon Sep 17 00:00:00 2001 From: Duco Sebel <74970928+DCSBL@users.noreply.github.com> Date: Fri, 13 Aug 2021 17:03:13 +0200 Subject: [PATCH] Fix for 'list index out of range' (#54588) --- homeassistant/components/solaredge_local/sensor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeassistant/components/solaredge_local/sensor.py b/homeassistant/components/solaredge_local/sensor.py index f9ac2b853e7..9d162e919f4 100644 --- a/homeassistant/components/solaredge_local/sensor.py +++ b/homeassistant/components/solaredge_local/sensor.py @@ -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",