Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

NWS integration quit working

$
0
0

@bleyton wrote:

This was working, but suddenly it quit. I am now getting the following in the log file:

2020-02-06 18:05:27 WARNING (MainThread) [homeassistant.components.weather] Setup of weather platform nws is taking over 10 seconds.
2020-02-06 18:05:35 ERROR (MainThread) [homeassistant.components.nws.weather] Error updating observation from station KBUR: 502, message=‘Bad Gateway’, url='https://api.weather.gov/stations/KBUR/observations
2020-02-06 18:05:35 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 424, in _async_add_entity
await entity.async_update_ha_state()
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 284, in async_update_ha_state
self._async_write_ha_state()
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 327, in _async_write_ha_state
attr.update(self.state_attributes or {})
File “/usr/src/homeassistant/homeassistant/components/weather/init.py”, line 169, in state_attributes
self.precision,
File “/usr/src/homeassistant/homeassistant/helpers/temperature.py”, line 23, in display_temp
raise TypeError(f"Temperature is not a number: {temperature}")
TypeError: Temperature is not a number: 68

My config is about as simple as it gets:

weather:

Is this just a situation where the NWS server is down, or is something else going on? The bad gateway error would point to a server issue, but why am I getting the rest of the errors?

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles