I receive this now, I am on 0.69
2018-05-13 20:53:28 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform efergy
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py”, line 129, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/lib/python3.6/asyncio/tasks.py”, line 358, in wait_for
return fut.result()
File “/usr/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/lib/python3.6/site-packages/homeassistant/components/sensor/efergy.py”, line 70, in setup_platform
sid = sensor[‘sid’]
TypeError: string indices must be integers
this is my config
###################################################################
# EFERGY
###################################################################
- platform: efergy
app_token: xxxx
utc_offset: 60
monitored_variables:
- type: instant_readings
- type: current_values
- type: budget
- type: cost
period: day
currency: E
- type: amount
period: day
- platform: efergy
app_token: xxxx
utc_offset: 60
monitored_variables:
- type: cost
period: month
currency: E
- type: amount
period: month
- platform: efergy
app_token: xxxx
utc_offset: 60
monitored_variables:
- type: cost
period: week
currency: E
- type: amount
period: week
- platform: efergy
app_token: xxxx
utc_offset: 60
monitored_variables:
- type: cost
period: year
currency: E
- type: amount
period: year
I have just noticed I have the same error. I wonder if it is down to the Python update. (I am running 3.7)