Skip to content

Fix/device status refresh and setting constraints#10

Merged
TillBrede merged 2 commits into
symcon:masterfrom
bumaas:fix/device-status-refresh-and-setting-constraints
May 21, 2026
Merged

Fix/device status refresh and setting constraints#10
TillBrede merged 2 commits into
symcon:masterfrom
bumaas:fix/device-status-refresh-and-setting-constraints

Conversation

@bumaas
Copy link
Copy Markdown
Contributor

@bumaas bumaas commented May 19, 2026

Summary

  • refresh device status when the parent connection becomes active again
  • reinitialize devices on reconnect without routing this through ApplyChanges()
  • handle string settings without constraints.allowedvalues defensively

Details

This fixes two issues reported after updating the module:

  1. Device instances could remain inactive after startup/update although the cloud connection and data flow were already working again. The device module now reacts to parent status changes and refreshes its state accordingly.

  2. Some devices return string settings without allowedvalues. The module assumed that list was always present and crashed during initialization. String constraints are now handled defensively.

Tests

  • php .\phpunit.phar .\tests\HomeConnectOvenTest.php

@TillBrede TillBrede merged commit 2aafbd3 into symcon:master May 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants