freitdav / BDRthermostatHA

BDR (Baxi, De Dietrich, Remeha) thermostat custom component integration for Home Assistant
GNU General Public License v3.0
48 stars 21 forks source link

limited working with etwist #20

Closed bdebresser closed 1 year ago

bdebresser commented 1 year ago

When configuring for use with an remeha etwist, it is only working limited. I am able to login with my credentials and a pairing code, but I only get two entities: bdr_thermostat_errors and bdr_thermostat_water_temperature.

Checking the system information in the app: App-version: 2.86.0 GTW-16 version: 1.12 RU2 version: 1.93.15

When checking the logs, I see the following errors (seems like its missing several Uri's?): " 2022-10-28 22:17:21.702 ERROR (MainThread) [homeassistant.components.climate] bdr_thermostat: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 703, in async_device_update await task File "/config/custom_components/bdr_thermostat/climate.py", line 96, in async_update status = await self._bdr_api.get_status() File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 195, in get_status api_endpoint = self.capabilities["centralHeatingZones"]["statusUri"] KeyError: 'statusUri' 2022-10-28 22:17:21.709 ERROR (MainThread) [homeassistant.components.sensor] bdr_thermostat: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 703, in async_device_update await task File "/config/custom_components/bdr_thermostat/sensor.py", line 291, in async_update status = await self._bdr_api.get_status() File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 195, in get_status api_endpoint = self.capabilities["centralHeatingZones"]["statusUri"] KeyError: 'statusUri' 2022-10-28 22:17:21.712 ERROR (MainThread) [homeassistant.components.sensor] bdr_thermostat: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 703, in async_device_update await task File "/config/custom_components/bdr_thermostat/sensor.py", line 328, in async_update status = await self._bdr_api.get_status() File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 195, in get_status api_endpoint = self.capabilities["centralHeatingZones"]["statusUri"] KeyError: 'statusUri' 2022-10-28 22:17:21.715 ERROR (MainThread) [homeassistant.components.sensor] bdr_thermostat: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 703, in async_device_update await task File "/config/custom_components/bdr_thermostat/sensor.py", line 175, in async_update consumptions = await self._bdr_api.get_consumptions() File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 233, in get_consumptions api_endpoint = self.capabilities["producers"]["energyConsumptionUri"] KeyError: 'energyConsumptionUri' 2022-10-28 22:17:21.718 ERROR (MainThread) [homeassistant.components.sensor] bdr_thermostat: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 703, in async_device_update await task File "/config/custom_components/bdr_thermostat/sensor.py", line 214, in async_update consumptions = await self._bdr_api.get_consumptions() File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 233, in get_consumptions api_endpoint = self.capabilities["producers"]["energyConsumptionUri"] KeyError: 'energyConsumptionUri' "

bdebresser commented 1 year ago

I was expecting it to work after the merge of #2

bdebresser commented 1 year ago

Closed the issue, as I overlooked that this issue was addressed already in #8