Button turn-on constant color

Now, while using the Button, the button turns ON the light with the last color/effect.
Are there any options to make fixed color and effect for turning on by physical BUTTON (e.g. every time I am turning ON the led by button - the SOLID and WHITE color is turned on)?
What should I change in the source code?

have made it with a macro

FX=0&G=255&R=255&B=255&T=2 assigned to the short press.
Two-way sync with Home Assistant works. That is perfect.
However, sync Button-> web interface does not work.