Closed
Description
Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version
):
0.58.0.dev0
Python release (python3 --version
):
3.4
Component/platform:
homeassistant.components.weather.yweather
Description of problem:
Stopped working since pr #10555
Expected:
yweather weather panel to show up.
Problem-relevant configuration.yaml
entries and steps to reproduce:
weather:
- platform: yweather
- Git checkout to d25f676 or later.
- Activate yweather weather component in
configuration.yaml
. - yweather weather component does not work, traceback attached below.
Traceback (if applicable):
2017-11-16 19:53:43 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
result = next(coro)
File "/home-assistant/homeassistant/helpers/entity_component.py", line 398, in async_process_entity
new_entity, self, update_before_add=update_before_add
File "/home-assistant/homeassistant/helpers/entity_component.py", line 246, in async_add_entity
yield from entity.async_update_ha_state()
File "/home-assistant/homeassistant/helpers/entity.py", line 216, in async_update_ha_state
attr = self.state_attributes or {}
File "/home-assistant/homeassistant/components/weather/__init__.py", line 112, in state_attributes
self.precision),
File "/home-assistant/homeassistant/helpers/temperature.py", line 21, in display_temp
"Temperature is not a number: {}".format(temperature))
TypeError: Temperature is not a number: 25
Additional info:
Metadata
Metadata
Assignees
Labels
No labels