question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi,

upgraded to HA 0.66 and i get the following error:

xiaomi_miio: Error on device update!
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 188, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 325, in async_device_update
    yield from self.async_update()
  File "/config/custom_components/climate/xiaomi_miio.py", line 205, in async_update
    ATTR_TEMPERATURE: state.temperature,
AttributeError: 'AirConditioningCompanionStatus' object has no attribute 'temperature'

My configuration:

climate:
  - platform: xiaomi_miio
    name: Aqara Air Conditioning Companion
    host: 192.168.x.xx
    token: aefec50f7xxxxxxxxxxxxxxxxxxx
    target_sensor: sensor.temperature_158d0001f53706
    scan_interval: 60

I do not have a sensor connected to my Air Condition companion.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ntcongcommented, Apr 2, 2018

isn’t that in https://github.com/rytilahti/python-miio/commit/5d874155ea2dbae9ae17e86fd58e466e44d1a6b8 temperature was renamed to target_temperature?

0reactions
syssicommented, Apr 2, 2018

This is a new discovery. I thought the swing mode can be just on and off. It looks like your device supports additional swing modes. Could you describe the swing modes of your AC and the meaning of the current setting (“2”)? Thanks in advance!

Read more comments on GitHub >

github_iconTop Results From Across the Web

HA and mysensors... Now broken in 0.66 - Configuration - Home ...
Get the following errors upon the start of HA and no frontend showing up Traceback (most recent call last): File ... HA and...
Read more >
Error doing job: Task was destroyed but it is pending! 0.66.0.b2
Got this error after upgrading to 0.66.0.b2 from 0.65.6: ERROR (SyncWorker_0) [homeassistant.core] Error doing job: Task was destroyed but it is ...
Read more >
SOLVED: In a representative sample of 839 coffee growers from ...
State your conclusion so that there is only 10% chance of making Type error: What are the hypotheses for this test? 0A Ho:...
Read more >
HA heartbeat - Fortinet Documentation Library
However, sometimes heartbeat packets may not be sent because a cluster unit is very busy. This can lead to a false positive failure...
Read more >
Solved: Hiveserver2 HA using haproxy load balancing
We have enable HA for hivemetastore using below link. ... Error: Could not open client transport with JDBC Uri: ... Time taken: 0.66...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found