Skip to content

Error setting up entry MagiQtouch for magiqtouch #23

@Rumbaar

Description

@Rumbaar

Tried to update to v4.0 and received errors with it not being able to successfully start.

In the error logs got these entries:

`Logger: homeassistant.config_entries
Source: config_entries.py:551
First occurred: 9:55:08 AM (1 occurrences)
Last logged: 9:55:08 AM

Error setting up entry MagiQtouch for magiqtouch
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 551, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/magiqtouch/init.py", line 64, in async_setup_entry
await driver.login(hass)
File "/config/custom_components/magiqtouch/magiqtouch.py", line 159, in login
self.current_system_state = SystemDetails.from_dict(system_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/magiqtouch/structures.py", line 350, in from_dict
dc.ACZones.Zones = [Zone(**d) for d in dc.ACZones.Zones]
^^^^^^^^^
TypeError: Zone.init() got an unexpected keyword argument 'Name'
`

`This error originated from a custom integration.

Logger: magiqtouch
Source: custom_components/magiqtouch/magiqtouch.py:159
integration: Seeley MagIQtouch (documentation, issues)
First occurred: 9:55:08 AM (1 occurrences)
Last logged: 9:55:08 AM

failed to query devices/system
Traceback (most recent call last):
File "/config/custom_components/magiqtouch/magiqtouch.py", line 159, in login
self.current_system_state = SystemDetails.from_dict(system_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/magiqtouch/structures.py", line 350, in from_dict
dc.ACZones.Zones = [Zone(**d) for d in dc.ACZones.Zones]
^^^^^^^^^
TypeError: Zone.init() got an unexpected keyword argument 'Name'
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions