core: Daikin temperature sensor no longer update

The problem

I have a daikin AP96591 card (Temperature) sensors no longer update after 2021.6.5 update

Before the update (2021.6.3) they were updated about every hour with the air conditioner off, and much more frequently with the air conditioner on.

If I delete and install the integration again or if I restart the home assistant, the sensors update once with the real data, then they don’t update anymore.

What is version of Home Assistant Core has the issue?

core-2021.6.5

What was the last working version of Home Assistant Core?

core-2021.6.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

daikin AC

Link to integration documentation on our website

https://www.home-assistant.io/integrations/daikin/#sensor

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.sensor
Source: components/daikin/sensor.py:140
Integration: Sensore (documentation, issues)
First occurred: 11:49:12 (2 occurrences)
Last logged: 11:49:13

Error adding entities for domain sensor with platform daikin
Error while setting up daikin platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 383, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 588, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 615, in add_to_platform_finish
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 368, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 402, in _async_write_ha_state
    state = self._stringify_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 374, in _stringify_state
    state = self.state
  File "/usr/src/homeassistant/homeassistant/components/daikin/sensor.py", line 140, in state
    return round(self._api.device.last_hour_cool_energy_consumption, 3)
AttributeError: 'DaikinBRP069' object has no attribute 'last_hour_cool_energy_consumption'

Additional information

Reading the log, perhaps an exception on the cool energy consumption sensor interrupts the update of all sensors.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (6 by maintainers)

Most upvoted comments

same problem … tonight I had the penguins in the room, since (no longer updating the sensors) it marked that there were 31 ° and it did not turn off XD

@mlemainque is this related to #45437?

Yes it is The pydaikin upgrade has been merged and released so fast that I didn’t have the time to react, last week…