Traceback (most recent call last):


 "/config/custom_components/sonoff/sonoff_cloud.py", line 234, in _connect

await self._process_ws_msg(resp)


 "/config/custom_components/sonoff/sonoff_cloud.py", line 162, in _process_ws_msg

device = self.devices[deviceid]
KeyError: '1000fc5a22'

Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state

await self.async_device_update()


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 472, in async_device_update

await self.hass.async_add_executor_job(self.update)


 "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/src/homeassistant/homeassistant/components/solaredge/sensor.py", line 202, in update

self.data_service.update()


 "/usr/src/homeassistant/homeassistant/util/__init__.py", line 239, in wrapper

result = method(*args, **kwargs)


 "/usr/src/homeassistant/homeassistant/components/solaredge/sensor.py", line 363, in update

self.data[key] = value["currentPower"]
KeyError: 'currentPower'
