Can’t seem to get my head around this.
I have a garage door with positions. I’m trying to have the cards coloured based on the position of the door. The icons change between open and closed which is fine, but i would like to have it so that after a button is pushed, it flashes until the door reaches requested position.
type: 'custom:button-card' name: 25% entity: cover.garage_door_controller_control_2 tap_action: action: call-service service: cover.set_cover_position service_data: entity_id: cover.garage_door_controller_control_2 position: 25