Hue color temperature automation

Anyone know what I’m supposed to use? It’s saying that ‘’’ color_temp: 300 ‘’’ isn’t the right way to do it. I just stuck it at the beginning of the yaml file right after brightness.