Can this function please be added as an API call, or trigger.
I would like to have an automation in Home Assistant trigger screen saver mode to come on when I start a movie (the clock is near my time), then go back to normal mode when paused or stop watching the movie.
I know it doesn't solve your issues completely, but someone made this app
it's an all black, no icon, no text app
you can either scroll to it when you go to sleep, or you can set the lametric to schedule mode and set this app as active during a predetermined time.
it's not ideal, but it solves the "to bright" problem :)
hope this helped.
I also have it in my room next to my bed, and I use the screen saver activated by light! When I'm going to sleep it turns the brightness to the lowest possible.