How to compare values of sensor or using temp variable?

I’ve setup gearbest platform and addedd stuff there, now I want to compare price in automation i guess.

How to use value from platform to compare to current price?

I guess I have to somehow rewrite value to temporary variable, lets say once an hour, then do comparision with current value, but are “temporary variable” available in HA?

check the platform: numeric trigger:

if you want to adjust the price from the front end, add an input_number sensor