speleolontra / daikin_residential_altherma

Home Assistant Integration specific for BRP069A78 Heat Pump Model, via Daikin App Onecta. Users have good experience also for BRP069A62 and BRP069A61 (but not tested directly).
GNU General Public License v3.0
98 stars 14 forks source link

Not updating #54

Closed andreasfrosig closed 2 years ago

andreasfrosig commented 2 years ago

Hi nice to have the option for the controller, thank you! Unfortunately I only get data once after each reload of the integration, after which all entities stays in that state. Does anyone else experience this?

jwillemsen commented 2 years ago

Could you check the error log?

andreasfrosig commented 2 years ago

Of cause i assume it is this one: `Logger: homeassistant.components.climate Source: custom_components/daikin_residential_altherma/daikin_base.py:371 Integration: Climate (documentation, issues) First occurred: 9:23:27 PM (4 occurrences) Last logged: 9:25:30 PM

Error adding entities for domain climate with platform daikin_residential_altherma Error while setting up daikin_residential_altherma platform for climate 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 518, in _async_add_entity capabilities=entity.capability_attributes, File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 246, in capability_attributes if self.target_temperature_step: File "/config/custom_components/daikin_residential_altherma/climate.py", line 189, in target_temperature_step stepVal = self._device.target_temperature_step File "/config/custom_components/daikin_residential_altherma/daikin_base.py", line 371, in target_temperature_step return float(self.getData(ATTR_TARGET_TEMPERATURE)["stepValue"]) TypeError: 'NoneType' object is not subscriptable`

jwillemsen commented 2 years ago

Could you download and attach the diagnostics of this integration? Remove all keys/data which should be private before uploading

andreasfrosig commented 2 years ago

Sure :) config_entry-daikin_residential_altherma-3c66b1dc0e9c431e3ac00b702a93d9cc.json.txt

andreasfrosig commented 2 years ago

When I look more into the entities, some of them are actually updated, the sensor.altherma_leaving_water_temperature is, but the sensor.altherma_tank_temperature does not seem to be updated, but it might be because they simple very rarely change. I have updated the heat pump, and will see if things look different tomorrow :)

jwillemsen commented 2 years ago

Tank temperature changes very slowly, you have to use a lot of hot water before it drops.

andreasfrosig commented 2 years ago

I see that now. It had been stuck at initial values after each restart, but after updating the unit it seems to work now. Sorry for wasting your time!