Hi
I made a custom:button-card of my thermostat that gives the temperature in different colors depending heat.
Also I made it possible when I toggle, the boiler turns on and off.
Now I want that my icon blinks every time the service that i toggle is on.
I’ve tried several search commands but can’t find a topic with the same question.
I am sorry but I am quite a nooby in this.
type: custom:button-card
entity: sensor.elektrische_boiler
show_state: true
state:
- value: '30'
operator: <=
color: blue
- value: '34'
operator: <=
color: blue
- value: '40'
operator: <=
color: orange
- value: '45'
operator: <=
color: rgb(204, 102, 0)
- value: '50'
operator: <=
color: rgb(255, 102, 102)
- value: '55'
operator: <=
color: red
- value: '70'
operator: <=
color: red
tap_action:
action: call-service
service: switch.toggle
service_data:
entity_id: switch.tuinhuis_powersupply'