examples: Create example of complex logics
mhthies opened this issue · comments
Including expressions, logic handlers, internal Variables, BreakableSubscription
, Hysteresis
, and TimerSwitch
.
Maybe related to this; I'm trying to model a light as a class with some properties, e.g. on (bool), brightness int
Now I want to create a Variable of type Light and a Variable of type bool, that are connected. I want to be able to update the bool via the web interface and then have it update the Light variable, but only set the on field and not overwrite the other fields.
How would I go about this?
It's not actually related to this issue and, unfortunately, I don't quite understand which behaviour you want to achieve. Maybe open a Discussion in the GitHub Diskussions tab for this, so we can further discuss your example there?