Coder Social home page Coder Social logo

Comments (7)

FL550 avatar FL550 commented on June 9, 2024 1

Ok, then maybe they removed this from home_assistant. I relased v1.1.5 which fixes this error. Thanks for the issue!

from dwd_weather.

S-Przybylski avatar S-Przybylski commented on June 9, 2024

After the update i got this error:

2020-09-08 11:56:43 ERROR (MainThread) [homeassistant.components.weather] Error while setting up dwd_weather platform for weather
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 201, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 310, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 481, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 522, in add_to_platform_finish
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 296, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 322, in _async_write_ha_state
    attr.update(self.state_attributes or {})
  File "/usr/src/homeassistant/homeassistant/components/weather/__init__.py", line 144, in state_attributes
    if self.temperature is not None:
  File "/config/custom_components/dwd_weather/weather.py", line 70, in temperature
    return self._connector.get_temperature()
  File "/config/custom_components/dwd_weather/connector.py", line 117, in get_temperature
    self.dwd_weather.get_forecast_data(
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'

from dwd_weather.

S-Przybylski avatar S-Przybylski commented on June 9, 2024

Dear @FL550 could you please check again?

from dwd_weather.

FL550 avatar FL550 commented on June 9, 2024

I'm on it. I'll write if it's fixed.

from dwd_weather.

FL550 avatar FL550 commented on June 9, 2024

Should be fixed now. Can you confirm this?

from dwd_weather.

S-Przybylski avatar S-Przybylski commented on June 9, 2024

Dear @FL550 the patch 1.1.7 fixed my issue! Thank you very much!

from dwd_weather.

FL550 avatar FL550 commented on June 9, 2024

Great!

from dwd_weather.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.