Skip to content

Fix device status transition on reload and improve option update robustness#9

Open
bumaas wants to merge 17 commits into
symcon:masterfrom
bumaas:master
Open

Fix device status transition on reload and improve option update robustness#9
bumaas wants to merge 17 commits into
symcon:masterfrom
bumaas:master

Conversation

@bumaas
Copy link
Copy Markdown

@bumaas bumaas commented Apr 11, 2026

Hallo Till,

ich habe noch ein paar kleine Verbesserungen durchgeführt.

  • der Status bleibt beim ReloadModule() nicht mehr auf IS_CREATING hängen
  • der Wert einer Variablen wird im Fehlerfall nicht mehr gesetzt
  • die Reihenfolge der Optionen beim Power Schalter ist schöner
  • es wird bei den Geräten mit OptionDuration eine zusätzliche Variable UseDuration angelegt

LG Burkhard

bumaas added 4 commits April 11, 2026 16:06
Only apply option/setting values locally after successful API responses in RequestAction.

Add responseHasError() helper and guard program updates when no program data is returned.

Sort PowerState associations in a fixed order via sortAssociations().
Set Home Connect Device to IS_ACTIVE when kernel is ready, parent is active, and HaID is configured.

Set IS_INACTIVE otherwise so the instance no longer remains in IS_CREATING.
Increase library.json build to 6 and update date timestamp.
@bumaas bumaas force-pushed the master branch 2 times, most recently from 77cd265 to 0020a5e Compare April 12, 2026 11:25
bumaas and others added 13 commits April 12, 2026 14:22
…lls. Introduced UseDuration variable to toggle BSH.Common.Option.Duration during program start. Optimized updateOptionVariables and updateOptionValues to use existing program data, reducing redundant API calls. Positioned UseDuration before OptionDuration in the visualization. Added PHPDoc documentation for optimized methods. Updated HomeConnectDryerTest expectations for UseDuration.
…senden

- prüfe vor dem Start die Optionen des gewählten Programms erneut
- sende nur Optionen an programs/active, die für das Programm schreibbar sind
- vermeide dadurch Fehler durch nicht unterstützte Startoptionen
- fange fehlende options-Arrays bei Programm- und Optionsdaten defensiv ab
- erhöhe den Library-Build auf 7
the files are provided by the submodule
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