Automation: slow response

I have this simple automation (Flux Led/MagicLight + Hue):

alias: Ledstrip Homemagic
trigger:
platform: state
entity_id: light.philips_hue_1
to: ‘on’
action:
service: light.turn_on
entity_id: light.ledcontroller_ledstrip_homemagic

So when I switch the Hue light on, HA should turn on the ledstrip. It does but with a 20 to 30 second delay. When I press the button in HA the response (of the ledstrip) is instant. How can I make this automation more responsive ?

The Philips Hue component is based on polling the bridge every 30 seconds for the status of each device. So your trigger is what’s delaying the execution of your automation, as it can take upto 30 seconds for Home Assistant to realise that your light.philips_hue_1 came on.

You could speed this up a little bit by defining a scan_interval for the Hue component, as shown here.

2 Likes