Hi Jim
Your update solved the issue. I am however now facing another error:
2018-05-28 23:56:09 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.geocode_location fails
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 204, in async_update_ha_state
yield from self.async_device_update()
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 327, in async_device_update
yield from self.hass.async_add_job(self.update)
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.6/site-packages/homeassistant/util/__init__.py", line 319, in wrapper
result = method(*args, **kwargs)
File "/home/homeassistant/.homeassistant/custom_components/sensor/places.py", line 432, in update
self.do_update("Scan Interval")
File "/home/homeassistant/.homeassistant/custom_components/sensor/places.py", line 676, in do_update
user_display.append(targetoption)
NameError: name 'targetoption' is not defined
When I have a look at line 676 I see the following:
if option in locals():
user_display.append(targetoption)
Whereas line 674 uses target_option
. When I change line 676 this does however throw another error.
Do you have any idea what might cause this?