Samsung TV

I have made a flow that changes the intensity of room lights when TV is turn on or off. This works, but there is a delay of 25-30 seconds from I turn on or off the TV to the lights are changed. With a sampling interval of 10 seconds, I understand that there could be a delay of up to 10 seconds. The lights are Philips Hue. How can I get a faster response?

My guess is that, you let Homey check if your tv is on.
In that case it takes about 25-30 sec before Homey sees your tv on your home network.
That also means you won’t get a faster response

This is probably not the answer you want to hear, but it is possible with a smart plug with power measurement.