Automating dark/light theme change

Hi all, I want to automate light/dark theme switching based on time of day. I am using a Fire tablet and it doesn’t support auto dark/light mode. I created this automation but it is not working. Any help would be appreciated. I have Backend-selected picked in my profile options.

Thanks!