Light.dim_relative

With the function light.dim_relative a light can be made brighter or weaker with a button.
Is there any way to apply this to a white channel of a LED strip?
Now fixed via homeassistant 'white_value' | float + 10 but this works over wifi and is not ideal.

Is the button attached to the esp?

Yes, toggle working without wifi with connected button.