Update:
I just added the ability to control the brightness as well:
- platform: template
lights:
kitchen_hue_lights:
friendly_name: Kitchen Lights
turn_on:
service: script.kitchen_hue_lights_on_routine
turn_off:
service: script.kitchen_hue_lights_off_routine
set_level:
service: media_player.play_media
data:
entity_id: media_player.kitchen_dotty_charcoal
media_content_id: 'dim kitchen lights to {{ (brightness / 255 * 100) | int }} percent'
media_content_type: custom
So far, it works flawlessly!