Git Product home page Git Product logo

Comments (4)

lurv avatar lurv commented on June 9, 2024

I can also confirm that Classic 505 is unsupported. I have attached some logs below:

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 607, in _async_add_entity await entity.add_to_platform_finish() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 715, in add_to_platform_finish self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 486, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 519, in _async_write_ha_state state = self._stringify_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 492, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 273, in state value = self.native_value File "/config/custom_components/blueair/sensor.py", line 61, in native_value if self._device.temperature is None: File "/config/custom_components/blueair/device.py", line 73, in temperature return self._datapoint["temperature"] KeyError: 'temperature'

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 607, in _async_add_entity await entity.add_to_platform_finish() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 715, in add_to_platform_finish self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 486, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 519, in _async_write_ha_state state = self._stringify_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 492, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 902, in state return STATE_ON if self.is_on else STATE_OFF File "/config/custom_components/blueair/fan.py", line 52, in is_on return self._device.is_on File "/config/custom_components/blueair/device.py", line 118, in is_on if self._attribute["fan_speed"] == "0": KeyError: 'fan_speed'

from hass-blueair.

Tokynet avatar Tokynet commented on June 9, 2024

Bump on this issue, I bought a Classic 205 thinking it would be supported. Oddly enough, I can turn it on and off for about 2 days after "configuring" the extension, therefore it does work for a bit.

Is there any plans to troubleshoot this issue more?

from hass-blueair.

rgeorgi avatar rgeorgi commented on June 9, 2024

I also have a Classic model (605) and ran into the same problem; so I opened a PR (#11 ) to do an initial poll to populate the fan speed, and remove the sensors from classic models.

from hass-blueair.

aijayadams avatar aijayadams commented on June 9, 2024

Thanks to @rgeorgi this is addressed - I made a small change to allow classic_XXXi models to retain sensors (as that's the type I have :P

from hass-blueair.

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.