Merge Button and sensor

Hello

looking to create one single button:

  • when status change from ON /OFF , it will show the number Amp used (value from a sensor)

Also looking to change the “color” of the icon once is ON

exemple:

image