Hi, everyone!
I’m new to Home Assistant and wiser. At the moment I have one Wiser hub and one trv.
I run Home Assistant core (0.117.0) on Proxmox VM, created from official VM disk image. I tried to update to latest version, because i had the same problem on previos too.
I installed Wiser Integrations with HACS (1.6.1). I tried Wiser integrations 2.4 beta1 and 2.3.1 but entities:
sensor.wiser_heathub;
climate.wiser_{wiser_room_name}
is unavailable. So I can’t use them.
Wiser Hub Firmware version: 2.24.11
Wiser App version: 3.11.0 (build 19)
In logs I have those errors:
Logger: homeassistant.util.logging
Source: util/logging.py:108
First occurred: 1:06:09 AM (94 occurrences)
Last logged: 1:29:09 AM
* Exception in async_update_state when dispatching 'WiserHubUpdateMessage': () Traceback (most recent call last): File "/config/custom_components/wiser/sensor.py", line 158, in async_update_state await self.async_update_ha_state(True) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 283, in async_update_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 323, in _async_write_ha_state attr.update(self.device_state_attributes or {}) File "/config/custom_components/wiser/sensor.py", line 395, in device_state_attributes self.data.wiserhub.getHubData() AttributeError: 'NoneType' object has no attribute 'get'
* Exception in async_update_state when dispatching 'WiserHubUpdateMessage': () Traceback (most recent call last): File "/config/custom_components/wiser/climate.py", line 590, in async_update_state await self.async_update_ha_state(True) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 283, in async_update_ha_state self._async_write_ha_state() File
"/usr/src/homeassistant/homeassistant/helpers/entity.py", line 322, in _async_write_ha_state attr.update(self.state_attributes or {}) File "/config/custom_components/wiser/climate.py", line 490, in state_attributes attrs = super().state_attributes File
"/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 262, in state_attributes data[ATTR_PRESET_MODE] = self.preset_mode File "/config/custom_components/wiser/climate.py", line 406, in preset_mode and wiser_preset.lower() == "frommanualoverride" AttributeError: 'NoneType' object has no attribute 'lower'
logger: homeassistant.components.climate
Source: custom_components/wiser/climate.py:406
Integration: Climate ([documentation](https://www.home-assistant.io/integrations/climate), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+climate%22))
First occurred: 1:05:39 AM (2 occurrences)
Last logged: 1:05:39 AM
* Error adding entities for domain climate with platform wiser
* Error while setting up wiser platform for climate
Traceback (most recent call last): File
"/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 314, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 505, in _async_add_entity await entity.add_to_platform_finish() File
"/usr/src/homeassistant/homeassistant/helpers/entity.py", line 531, in add_to_platform_finish self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 296, in async_write_ha_state self._async_write_ha_state() File
"/usr/src/homeassistant/homeassistant/helpers/entity.py", line 322, in _async_write_ha_state attr.update(self.state_attributes or {}) File "/config/custom_components/wiser/climate.py", line 490, in state_attributes attrs = super().state_attributes File
"/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 262, in state_attributes data[ATTR_PRESET_MODE] = self.preset_mode File "/config/custom_components/wiser/climate.py", line 406, in preset_mode and wiser_preset.lower() == "frommanualoverride" AttributeError: 'NoneType' object has no attribute 'lower'
Logger: homeassistant.components.switch
Source: components/switch/__init__.py:123
Integration: Switch ([documentation](https://www.home-assistant.io/integrations/switch), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+switch%22))
First occurred: 1:05:39 AM (2 occurrences)
Last logged: 1:05:39 AM
* SwitchDevice is deprecated, modify WiserSwitch to extend SwitchEntity
* SwitchDevice is deprecated, modify WiserSmartPlug to extend SwitchEntity
Logger: homeassistant.components.climate
Source: components/climate/__init__.py:553
Integration: Climate ([documentation](https://www.home-assistant.io/integrations/climate), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+climate%22))
First occurred: 1:05:39 AM (1 occurrences)
Last logged: 1:05:39 AM
ClimateDevice is deprecated, modify WiserRoom to extend ClimateEntity
Logger: homeassistant.components.sensor
Source: custom_components/wiser/sensor.py:395
Integration: Sensor ([documentation](https://www.home-assistant.io/integrations/sensor), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+sensor%22))
First occurred: 1:05:39 AM (2 occurrences)
Last logged: 1:05:39 AM
* Error adding entities for domain sensor with platform wiser
* Error while setting up wiser platform for sensor
Traceback (most recent call last): File
"/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 314, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 505, in _async_add_entity await entity.add_to_platform_finish() File
"/usr/src/homeassistant/homeassistant/helpers/entity.py", line 531, in add_to_platform_finish self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 296, in async_write_ha_state self._async_write_ha_state() File
"/usr/src/homeassistant/homeassistant/helpers/entity.py", line 323, in _async_write_ha_state attr.update(self.device_state_attributes or {}) File "/config/custom_components/wiser/sensor.py", line 395, in device_state_attributes self.data.wiserhub.getHubData() AttributeError: 'NoneType' object has no attribute 'get'
Logger: homeassistant.util.async_
Source: util/async_.py:105
First occurred: 1:05:39 AM (2 occurrences)
Last logged: 1:05:39 AM
Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for wiser doing I/O at custom_components/wiser/config_flow.py, line 67: self.wiserhub = wiserHub(ip, secret)
Logger: homeassistant.loader
Source: loader.py:463
First occurred: 1:04:16 AM (1 occurrences)
Last logged: 1:04:16 AM
You are using a custom integration for wiser which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
Any suggestions? Can you please help me?