One2track

@Robin Bolscher
Hi Robin, ik tag je even hier:
Wat ik wat apart vind is, dat het momenteel nog steeds gewoon mogelijk is om de flow editor “plat te leggen” via een “verkeerd” gekozen device initialisation (vergeef me de niet technisch correcte omschrijvingen);

Athom zou daar m.i. in het algemeen het maximale aantal “card re-creates” moeten limiteren tot max x maal per seconde per device / en/of per flowkaart.

Mocht het nog niet op de todo staan; is dat een idee, Robin?
Zie mijn Slack DM dd. 28042026:

Ronny heeft ontdekt waarom, van zijn Home Assistant Community app, van het device type “fan” de flowkaarten steeds opnieuw worden aangemaakt. Ik quote even zijn uitleg:

I created a new test version.
The issue: a capabilityOptions update is not only updating the attributes. It reinitializes the whole device. And that seems to re-create all flow cards :see_no_evil:
Some drivers (device types like “media device”) are already checking mode lists on updates/changes. The fan device just updates the mode list without this check.
Now the mode list is checked every time before changing the device. That should prevent the issue with your device - I hope :smile:

Linkje