I am new to Hubitat having migrated from Pi+Node-Red. So far so good.
I have migrated my Zigbee devices and set up controls using Simple Automation Rules and Basic Rules.
I want to display Sunrise & Sunset times on my dashboard.
I have tried a couple of recommended methods but they don't seem to work.
I have used the Rule Machine to create a local variable Sunrise2 of type DateTime and created a rule to set Sunrise2 to sunrise time. Using the Run Actions button I can see the value of Sunrise2 changes to the correct value "2021-08-02 05:32".
When I set up a tile for Sunset2 in my dashboard using the Variable Time template the display shows "05:05" which was the default time I set when I created the local variable.
I found that creating a local datetime variable and setting it to sunrise or sunset and then adding 1 minute to the variable was shown correctly in the dashboard tile as type Variable time.
Hope that this may help.