8000 yweather weather component failed since #10555 · Issue #10618 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
yweather weather component failed since #10555 #10618
Closed
@loongyh

Description

@loongyh

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
  1. Git checkout to d25f676 or later.
  2. Activate yweather weather component in configuration.yaml.
  3. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0