Script icon won't turn on when script running

Hi,
i made a script that activate swith in dalayed time and it’s working well, so i add this script on lovelace to start it when i want by clicking like a button. All it’s good but when i click on script icon it say me “active” on status under icon, but the icon stay grayed and not powered like a switch. I see that i can use template switch or icon_template but i don’t know how to get the correct configration.
Could you help me?

Thanks

hay bro

can you show what you have done (right format of code)

Hi,
in my lovelace i made this:

entity: script.garden_watering
hold_action:
  action: none
icon: 'mdi:flower'
icon_height: 60px
show_icon: true
show_name: true
show_state: true
tap_action:
  action: toggle
type: button