Giter Site home page Giter Site logo

Comments (3)

kpisacic avatar kpisacic commented on September 22, 2024

This might have been temporary error due to missing attibute in DHMZ output. Is this still happening? I dont see it in my error log.

from dhmz-home-assistant-custom-component.

bebach8 avatar bebach8 commented on September 22, 2024

This might have been temporary error due to missing attibute in DHMZ output. Is this still happening? I dont see it in my error log.

Da, još uvijek + još i ovo

Logger: homeassistant.components.weather
Source: custom_components/dhmz/weather.py:208
Integration: Weather (documentation, issues)
First occurred: 7:58:58 AM (2 occurrences)
Last logged: 7:58:58 AM

Error adding entities for domain weather with platform dhmz
Error while setting up dhmz platform for weather
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 315, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 506, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 531, 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 150, in state_attributes
humidity = self.humidity
File "/config/custom_components/dhmz/weather.py", line 208, in humidity
return float(self.dhmz_data.get_data(SENSOR_TYPES[ATTR_WEATHER_HUMIDITY][4]))
ValueError: could not convert string to float: '-'

from dhmz-home-assistant-custom-component.

kpisacic avatar kpisacic commented on September 22, 2024

These and various other potential value conversion errors handled in dde5917

from dhmz-home-assistant-custom-component.

Related Issues (11)

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.