Skip to content

AttributeError did you mean 'rate_limit_reset' after restart #216

Description

@TinyR0dent

Describe the bug

I restarted my HAOS and the Govee integration "failed to set up" and the logs mention an attribute that needs to be renamed

Debug log

Logger: homeassistant.config_entries
Source: config_entries.py:640
First occurred: 01:04:00 (1 occurrences)
Last logged: 01:04:00

Error setting up entry govee for govee
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 640, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/govee/__init__.py", line 67, in async_setup_entry
    await hub.rate_limit_delay()
          ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Govee' object has no attribute 'rate_limit_delay'. Did you mean: 'rate_limit_reset'?

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