RubenHarms / ha-harvia-xenio-wifi

Home Assistant component for Harva Sauna (working with Xenio Wifi)
13 stars 1 forks source link

Deprecated methods #2

Open PerSterin opened 1 month ago

PerSterin commented 1 month ago

Logger: homeassistant.components.number Source: components/number/init.py:223 integration: Number (documentation, issues) First occurred: 18:06:40 (1 occurrences) Last logged: 18:06:40

custom_components.harvia_sauna.number::HarviaHumiditySetPoint is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom integration author

Config / info Home Assistant: Core 2024.9.2 Supervisor 2024.09.1 Operating System 13.1 Frontend 20240909.1

PerSterin commented 1 month ago

2024-09-21 20:15:11.417 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Harvia Sauna for harvia_sauna

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/harvia_sauna/init.py", line 628, in async_setup_entry await harvia_sauna.async_setup(entry) File "/config/custom_components/harvia_sauna/init.py", line 438, in async_setup await self.update_devices() File "/config/custom_components/harvia_sauna/init.py", line 492, in update_devices latestDeviceData = await self.get_latest_device_data(deviceId) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/harvia_sauna/init.py", line 458, in get_latest_device_data deviceData = json.loads(data['data']['getLatestData']['data'])


TypeError: 'NoneType' object is not subscriptable