-
Notifications
You must be signed in to change notification settings - Fork 11
Integration stops working after a few minutes #113
Description
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:
- Enable the integration
- Provide the API key, email and password
- Provide the network key
- The integration works for a few minutes
- 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.