Skip to content

Fix/device status refresh and setting constraints#10

Open
bumaas wants to merge 2 commits into
symcon:masterfrom
bumaas:fix/device-status-refresh-and-setting-constraints
Open

Fix/device status refresh and setting constraints#10
bumaas wants to merge 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

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.

1 participant