You don’t need variables to do that, when you select your device that you want to control, you can set level for dimming.
To turn off lights an hour after sunset, that’s a trigger and works the same way as how you turned them on.
For setting a color, you may have to flip on the Advanced Toggle and switch the input type to Color if it isn’t selected automatically.
For setting color temperature, you can use the setColorTemperature() command on your bulb or light to set your preferred color temperature (in Kelvin).
Similar to the above options, you can use the setLevel() command to set the dimming level of your devices…
As noted in the informational notice that comes up, you may want to remove the second parameter. Some devices report that they want a second parameter (the duration to dim over), but don’t work when that parameter is included.
You should be able to use the same approach as you discovered in item 1.
–
Edit: We pushed an update the resolves the two annoyances with setColor and setLevel that were mentioned above. Refresh the page in your browser while viewing a rule and it should pull in the update. The system will not automatically perform the adjustments shown in the video for you (eg. set the type to color and remove the second setLevel parameter)