Since you have the newer UI use a customized scene and for the profiles 0 is Day, 2 is Night and 1 is General.
Here's an example of how to set this up for Home Assistant...
Add the following to configuration.yaml file, adjusting the username, password and IP address accordingly.
rest_command...