diff --git a/homeassistant/components/sensor/efergy.py b/homeassistant/components/sensor/efergy.py index 8eba0149408..23023b90fe1 100644 --- a/homeassistant/components/sensor/efergy.py +++ b/homeassistant/components/sensor/efergy.py @@ -97,5 +97,5 @@ class EfergySensor(Entity): self._state = response.json()['sum'] else: self._state = 'Unknown' - except (RequestException, ValueError): + except (RequestException, ValueError, KeyError): _LOGGER.warning('Could not update status for %s', self.name)