core
core copied to clipboard
Intesishome integration broken with latest update
The problem
From my log file:
2022-11-06 17:34:05.770 ERROR (MainThread) [homeassistant.components.climate] Error while setting up intesishome platform for climate Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform await asyncio.shield(task) File "/usr/src/homeassistant/homeassistant/components/intesishome/climate.py", line 129, in async_setup_platform [ File "/usr/src/homeassistant/homeassistant/components/intesishome/climate.py", line 130, in <listcomp> IntesisAC(ih_device_id, device, controller) File "/usr/src/homeassistant/homeassistant/components/intesishome/climate.py", line 203, in __init__ if modes := controller.get_mode_list(ih_device_id): File "/usr/local/lib/python3.10/site-packages/pyintesishome/pyintesishome.py", line 234, in get_mode_list if mode_map & mode_bit: TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'
What version of Home Assistant Core has the issue?
core-2022.11.1
What was the last working version of Home Assistant Core?
core-2022.10.x
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Intesishome
Link to integration documentation on our website
https://www.home-assistant.io/integrations/intesishome/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
Hey there @jnimmo, mind taking a look at this issue as it has been labeled with an integration (intesishome
) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of intesishome
can trigger bot actions by commenting:
-
@home-assistant close
Closes the issue. -
@home-assistant rename Awesome new title
Change the title of the issue. -
@home-assistant reopen
Reopen the issue. -
@home-assistant unassign intesishome
Removes the current integration label and assignees on the issue, add the integration domain after the command.
(message by CodeOwnersMention)
intesishome documentation intesishome source (message by IssueLinks)
Hello... I have the same issue but yesterday (Nov 6) even connecting directly to IntesisHome website, all my devices were down or unreachable... Maybe they applied a change in the API ?
There was definitely a decently long outage over the weekend where none of my devices were connecting to the cloud server.
I'm still on 2022.10.5 and they show up fine on a restart but any action taken to change them breaks the integration and they become unavailable.
So I don't think this is a home assistant update breaking things but the API being changed?
It's now seemingly working, so I believe this was just an outage on the Intesis side.
I can confirm. It does now seem to be working again, and I haven’t done any changes. I’m going to close this bug.
Glad to hear it is resolved, I'll raise an issue in pyIntesishome to see if I can improve the error handling. I'll be out of action for a few days though.