Skip to content

Control4 integration not loading after upgrades to versions past 2024.3.3. #116953

Description

@chummingMoney

The problem

Control4 integration not loading after upgrades to versions past 2024.3.3. I have to downgrade back to 2024.3.3 to get it to work... my whole house has Control4 lights so I have to stay on 2024.3.3 until this issue is resolved...

What version of Home Assistant Core has the issue?

2024.5

What was the last working version of Home Assistant Core?

2024.3.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Control4

Link to integration documentation on our website

https://www.home-assistant.io/integrations/control4/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.control4
Source: components/control4/__init__.py:57
integration: Control4 (documentation, issues)
First occurred: 3:45:31 PM (2 occurrences)
Last logged: 4:03:14 PM

Error connecting to Control4 account API: Server disconnected

Logger: homeassistant.config_entries
Source: config_entries.py:575
First occurred: 3:45:33 PM (4 occurrences)
Last logged: 4:05:02 PM

Error setting up entry Control4 for control4
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 575, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/control4/__init__.py", line 123, in async_setup_entry
    entry_data[CONF_UI_CONFIGURATION] = json.loads(await director.getUiConfiguration())
                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pyControl4/director.py", line 302, in getUiConfiguration
    return await self.sendGetRequest("/api/v1/agents/ui_configuration")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pyControl4/director.py", line 63, in sendGetRequest
    await checkResponseForError(await resp.text())
  File "/usr/local/lib/python3.12/site-packages/pyControl4/error_handling.py", line 94, in checkResponseForError
    dictionary = xmltodict.parse(response_text)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/xmltodict.py", line 378, in parse
    parser.Parse(xml_input, True)
xml.parsers.expat.ExpatError: mismatched tag: line 6, column 2

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions