Beginner here, i just installed homeassistant, tried yahoo weather but the yahoo api is unresponsive it is not working. Tried Wunderground, but wunderground sensor have so many languages defined under lang unfortunately ‘TR’ for Turkey is missing hence log file shows:
[sensor.wunderground]: value is not allowed for dictionary value @ data['lang']. Got 'TR'. (See ?, line ?). Please check the docs at https://home-assistant.io/components/sensor.wunderground/
Thank you for the information, it seems TU also has the same problem:
2017-06-15 18:34:20 ERROR (MainThread) [homeassistant.config] Invalid config for [sensor.wunderground]: value is not allowed for dictionary value @ data['lang']. Got 'TU'. (See ?, line ?). Please check the docs at https://home-assistant.io/components/sensor.wunderground/
I am pretty sure wunderground requires TR for Turkish in their api, since i am also using the same code for other wundergorund api usage in other software. It seems that in wunderground.py:
# Language Supported Codes
LANG_CODES = [
part doesn’t have TR or TU declared. Since i am a beginner in both homeassistant and python, if i add ‘TR’ to that array in my installation will it work?