Closed onkelbeh closed 3 years ago
Created a very dirty hack to make it run again, two files at the integraton had to be changed, in my case these are in
/usr/lib/python3.7/site-packages/homeassistant/components/maxcube
:
In binary_sensor.py
i changed
if cube.is_windowhutter(device):
devices.append(MaxCubeShutter(handler, name, device.rf_address))
to
# if cube.is_windowhutter(device):
if device.type == 4:
devices.append(MaxCubeShutter(handler, name, device.rf_address))
In climate.py
I changed
if cube.is_thermostat(device) or cube.is_wallthermostat(device):
devices.append(MaxCubeClimate(handler, name, device.rf_address))
to
# if cube.is_thermostat(device) or cube.is_wallthermostat(device):
if device.type == 3 or device.type == 1:
devices.append(MaxCubeClimate(handler, name, device.rf_address))
and voila, my wife is not freezing anymore :-) hope this will be fixed.
I made a patch for temporarily fixing the issue. Perhaps it helps someone.
Sorry, was using the wrong commit id for the test against Home Assitant. Just fixed this: https://github.com/onkelbeh/HomeAssistantRepository/commit/17b4f8536e90a6d618cdf018febd4141c774e564
I have posted this already at Home Assistant Issues.
Home Assistant release with the issue: Home Assistant 0.102.0b1 x86_64 python_version 3.7.5
Last working Home Assistant release (if known): last winter, ~0.85.x - ~0.89.x
Operating environment (Hass.io/Docker/Windows/etc.): Native Installation on Gentoo Linux
Integration: maxcube-api-0.1.0
Description of problem: Errors on Init of maxcube-api, devices do not show up in Home Assistant
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
Additional information: Device linked to Cube:
Cube already reset to Factory, Firmware updated.
Afaik this integragtion will not run anymore with a current release of Home Assistant. Is anyone using maxcube-api with > 0.101.0?