Hi i have an error with the nest and the postal code/weather info, see log. Maybe it has something to do with the space between numbers and char. In the nest i give up ‘1963 AH’
16-04-21 12:05:41 homeassistant.components.sensor: Error while setting up platform nest
Traceback (most recent call last):
File "/Volumes/Data_B/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 94, in _setup_platform
discovery_info)
File "/Volumes/Data_B/hass/lib/python3.5/site-packages/homeassistant/components/sensor/nest.py", line 58, in setup_platform
add_devices(sensors)
File "/Volumes/Data_B/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 144, in add_entities
if self.component.add_entity(entity):
File "/Volumes/Data_B/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 115, in add_entity
entity.update_ha_state()
File "/Volumes/Data_B/hass/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 147, in update_ha_state
state = STATE_UNKNOWN if self.state is None else str(self.state)
File "/Volumes/Data_B/hass/lib/python3.5/site-packages/homeassistant/components/sensor/nest.py", line 125, in state
return getattr(self.structure.weather.current.wind, self.variable)
File "/Users/admin/.homeassistant/deps/nest/nest.py", line 264, in weather
return Weather(self._weather, self._local_time)
File "/Users/admin/.homeassistant/deps/nest/nest.py", line 260, in _weather
return self._nest_api._weather[self.postal_code]
File "/Users/admin/.homeassistant/deps/nest/nest.py", line 667, in __getitem__
value = response.json()[postal_code]
KeyError: '1963AH'