Hello,
I recently migrated my 3 HUE bulbs from the Hue Bridge to a Sonoff Zigbee 3.0 model P USB Dongle.
Now, I used to call this service on a lightbulb connected to the Hue Hub:
service: light.turn_on
data:
flash: short
target:
entity_id: light.iris
Which caused my light (which still has the same entity ID now) to turn off shortly, then turn on with full brightness, then turn back to normal brightness.
Now when I now call the exact same service on the same light but over Z2M (also tested with ZHA, same result), it instead goes to full brightness white and then back to normal.
Is there a way to change this, because I really liked the HUE-style flash effect and still want to have it in Z2M or ZHA?
Replying to myself to solve this, I made a script that works with any light entity, regardless of capabilities or integration method, and can be called as a service with a parameter entityId being the entity Id of the light to blink. Here’s the YAML code: