Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106026

Change icon when a input_number change?

$
0
0

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:

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106026

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>