Skip to content
This repository was archived by the owner on Jan 20, 2024. It is now read-only.
This repository was archived by the owner on Jan 20, 2024. It is now read-only.

Issue with loading the custom component  #2

Description

@catduckgnaf

`This error originated from a custom integration.

Logger: homeassistant.setup
Source: custom_components/ryobi_garage/ryobiapi.py:189
Integration: ryobi_garage
First occurred: 10:20:26 AM (1 occurrences)
Last logged: 10:20:26 AM

Error during setup of component ryobi_garage
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 257, in _async_setup_component
result = await task
File "/config/custom_components/ryobi_garage/init.py", line 59, in async_setup
device_info = await ryobi_api.get_device(device["d_id"])
File "/config/custom_components/ryobi_garage/ryobiapi.py", line 146, in get_device
return self.extract_device_info(resp)
File "/config/custom_components/ryobi_garage/ryobiapi.py", line 189, in extract_device_info
"lastSet": garage_door["opMode"]["lastSet"],
KeyError: 'lastSet'
`

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