[Reactor] Variables not updating correctly in latest-25201-2aa18550
-
Build 25278 now available, again docker 64-bit only, and only for the folks testing variables/expressions in this thread. Please read this for summary of behavior for global and rule-based variables in this build.
-
@toggledbits is alarm() a new thing? What's the best example to understand its use? IE: A global variable named christmas_time, that will be updated every hour/day with dateparts()? Thanks.
-
@toggledbits is alarm() a new thing? What's the best example to understand its use? IE: A global variable named christmas_time, that will be updated every hour/day with dateparts()? Thanks.
I think it's brilliant. My best example is to check if a
getEntity()
is not updated in X minutes by comparingtime()
withvalue.last_modified
but if the entity isn't updated the expression will not evaluate because nothing changed.
I'm now using other entities likereactor_system.reactor_uptime
for 1 minute interval checking but with the newalarm()
I believe I can skip that and set any interval suitable for each expression.