Setting color temperature and brightness of IKEA Tradfri lights simultaneously with Home Assistant

A small trick to set the color temperature and brightness of IKEA Tradfri lights simultaneously using Home Assistant and/or Node-RED.