Here is a blueprint that can flash switches for 100-5000ms, it should work perfectly with my Waveshare Integration. If u need help setting it up, or need more features, feel free to massage me…
blueprint:
name: Flash Switch
description: "Schaltet einen Schalter mehrfach mit einstellbarem Zeitintervall (ms) ein/aus."
domain: automation
input:
target_switch:
name: Ziel-Schalter
selector:
entity:
domain: switch
flash_interval:
name: Intervall (ms)
default: 500
selector:
number:
min: 100
max: 5000
unit_of_measurement: milliseconds
step: 100
mode: slider
repetitions:
name: Wiederholungen
default: 5
selector:
number:
min: 1
max: 20
step: 1
trigger:
platform: event
event_type: flash_switch
action:
- repeat:
count: !input repetitions
sequence:
- service: switch.turn_on
target:
entity_id: !input target_switch
- delay:
milliseconds: !input flash_interval
- service: switch.turn_off
target:
entity_id: !input target_switch
- delay:
milliseconds: !input flash_interval