Change icon when a input_number change?

Hi
I want to change the icon of my button depending on a input_number (1-3)

type: 'custom:button-card'
name: Sensor
icon: 'mdi:walk'
tap_action:
  action: call-service
  service: input_number.set_value
  service_data:
    entity_id: input_number.kontor_karina_lys_styring
    value: 2
  icon: 'mdi:motion-sensor-off'
  name: Konstant
  value: '2'

I dont get any error, and it dont shift icon :frowning: