You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the Energy Easy component based on the same code base, as of 07/01/2020 the component no longer works:
Error while setting up platform energyeasy Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT) File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for return fut.result() File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/energyeasy/sensor.py", line 156, in setup_platform sensors.append(EnergyEasySensor(energyeasy_data, variable, name)) File "/config/custom_components/energyeasy/sensor.py", line 180, in __init__ self._state = round(self.energyeasy_data.data.get(self.type, 0.0), 2) TypeError: type NoneType doesn't define __round__ method
Happy to debug or post any information as needed.
The text was updated successfully, but these errors were encountered:
I have the same issue. I think it has somthing to do with jemena having no data on "today" in the morning as it works fine in the afternoon until midnight.
I just tested it. Was getting an error. Logged onto the Jemena Portal which showed no data for Today. Clicked the 'Get latest data' button then restated HA and it works again
Using the Energy Easy component based on the same code base, as of 07/01/2020 the component no longer works:
Error while setting up platform energyeasy Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT) File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for return fut.result() File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/energyeasy/sensor.py", line 156, in setup_platform sensors.append(EnergyEasySensor(energyeasy_data, variable, name)) File "/config/custom_components/energyeasy/sensor.py", line 180, in __init__ self._state = round(self.energyeasy_data.data.get(self.type, 0.0), 2) TypeError: type NoneType doesn't define __round__ method
Happy to debug or post any information as needed.
The text was updated successfully, but these errors were encountered: