Skip to content
This repository was archived by the owner on May 2, 2025. It is now read-only.
This repository was archived by the owner on May 2, 2025. It is now read-only.

Integration stops working after a few minutes #113

@MvanderValk

Description

@MvanderValk

Describe the bug

Enabling the integration works for a few minutes using the API method. But after that is stops and the connection is lost.

To Reproduce

Steps to reproduce the behavior:

  1. Enable the integration
  2. Provide the API key, email and password
  3. Provide the network key
  4. The integration works for a few minutes
  5. Then the function is grayed out with the following error in the log:

Expected behavior

Lights to continue to work

Debug logs

Detected that custom integration 'casambi' calls device_registry.async_get_or_create referencing a non existing via_device ('casambi', 'gNo9nzSLsNaBEPweLfEvbvZNxGH5EmWF'), with device info: {'identifiers': {('casambi', 'gNo9nzSLsNaBEPweLfEvbvZNxGH5EmWF-6716a57c6718')}, 'manufacturer': 'FOSCARINI', 'model': 'Aplomb Large MyLight', 'name': 'Aplomb Large MyLight', 'sw_version': '45.2', 'via_device': ('casambi', 'gNo9nzSLsNaBEPweLfEvbvZNxGH5EmWF')} at custom_components/casambi/light.py, line 56: async_add_entities([casambi_light], True). This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/hellqvio86/home_assistant_casambi/issues

logger:
  default: info
  logs:
    homeassistant.components.casambi: debug
    custom_components.casambi: debug
    aiocasambi: debug

Screenshots

If applicable, add screenshots to help explain your problem.

Platform information (please complete the following information):

  • OS: HA Green
  • Home assistant version:
    Core: 2025.4.4
    Supervisor 2025.04.1
    Operating System: 15.2
    Frontend: 20250411.0

Additional context

As mentioned I have tried to use the BT version to control the Casambi lights, but it makes HA constantly rebooting.

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