Make Chromecast dim down Philips Hue lights when launching an app

hue, chromecast, python

Quick hack to make make Philips Hue light bulbs dim down when using Chromecast (or, more specifically, when certain apps are open).