Duplicated events from Chromecast

Hi! Got myself some Philips Hue lights this weekend and managed to get Home Assistant 0.36.1 running on my Ubuntu-box. Everything seems to work just fine except when I try to adjust the light based on whether the Chromecast is playing or not. Sometimes it works just fine, but sometimes the light begins to dim up and down for a while and then back to normal.

First I suspected I’d done something weird in my automation, but looking in the Logbook it seems either my Chromecast sends multiple events for everything, or HA is picking up the same event multiple times. HA found the Chromecast by the discovery component btw.

Any suggestions on how I can fix this issue? I’m attaching a part of the Logbook for what happens when I start casting a clip.

Edit: I hope I don’t offend anyone by my silly light group names. I have one for ‘alla’ which is ‘all’ in swedish. Then I quickly made one identical minus the lightstrip for convenience but I see now it looks.