You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The input_number.increment action already is modified to support defining an 'amount'.
I suggest to introduce a boolean setting "cycle" which influences the actions behavior as follows:
ifold_value+amount>max:
# cycle determines overflow behaviorifcycle:
new_value=min# maybe alternatively it could be: old_value + amount - max + minelse:
new_value=maxelse:
# in this caswe cycle does not influence the behaviornew_value=old_value+amount
currently I am implementing this behavior with templates - it could be quite convenient to have it integrated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The input_number.increment action already is modified to support defining an 'amount'.
I suggest to introduce a boolean setting "cycle" which influences the actions behavior as follows:
currently I am implementing this behavior with templates - it could be quite convenient to have it integrated.
Beta Was this translation helpful? Give feedback.
All reactions