First time doing this ... learn something every day
Routine - pull sunset_sunrise.json
{"deviceReplacements":{},"appReplacements":{"3395":{"appTypeName":"Rule-4.0","appTypeNamespace":"hubitat","appName":"Rule-4.0","appLabel":"Routine - pull sunset/sunrise","parentAppTypeName":"Rule Machine","parentAppLabel":"Rule Machine","singleInstance":false}},"appData":{"3395":{"state":{"actionListMain":["1","2"],"connectors":{"Sunrise.time":{"id":"4138","type":"Variable"},"Sunset.time":{"id":"4139","type":"Variable"}},"actionDone":true,"lv.Sunset.time":"2020-11-24T21:46:00+0000","hasRuleAct":false,"selectActionsParams":{"thisStr":"Main","label":"Routine - pull sunset/sunrise"},"editCondIf":null,"usesTime":false,"trigCustoms":[],"repeating":[],"capabDone":true,"lastEvtName":"Triggered","skippingMain":false,"locationBlocked":[],"lvt.Sunset.time":"Time","ndx.false":1,"lvList":["Sunrise.time","Sunset.time"],"ruleNdx":1,"timeTriggers":[],"allVarsO":["Detected.lock.code","Door.controller.status","Door.trigger.id","Garage.controller.status","Kitchen.evening.holdoff","Sunrise.time","Sunset.time","Welcome.arrival","Welcome.timer"],"actLabelIndent":"","howManyT":2,"subscribedVariables":[],"certainTimes":[],"prevState":{"PB":"true"},"capabstrue":{"1.true":"When time is 4:00 AM EST","2.true":{}},"lastEvtDate":"24-Nov-2020","actionsMain":{"1":{"wait":null,"delay":"","modes":{},"method":"getSetVariable","indent":"","rule":0,"label":"Set Sunrise.time to sunrise time\n","cond":0},"2":{"wait":null,"delay":"","modes":{},"method":"getSetVariable","indent":"","rule":0,"label":"Set Sunset.time to sunset time\n","cond":0}},"nestedInIf":[],"actNdx":3,"installed":true,"lastEvtValue":0,"waitEvents":[],"private":"true","gvList":["Detected.lock.code","Door.controller.status","Door.trigger.id","Garage.controller.status","Kitchen.evening.holdoff","Welcome.arrival","Welcome.timer"],"hasDevice":null,"ndx.true":2,"allVars":{"Sunrise.time":{"val":"2020-11-24T12:26:00+0000","type":"Time"},"Welcome.arrival":{"val":0,"type":"Number"},"Garage.controller.status":{"val":1,"type":"Number"},"Door.trigger.id":{"val":"physical","type":"String"},"Detected.lock.code":{"val":"Steve","type":"String"},"Welcome.timer":{"val":0,"type":"Number"},"Door.controller.status":{"val":1,"type":"Number"},"Sunset.time":{"val":"2020-11-24T21:46:00+0000","type":"Time"},"Kitchen.evening.holdoff":{"val":"2020-11-12T20:00:00.000-0500","type":"Time"}},"simpleCond":false,"nestedRepIf":[],"nestedBlockMain":[],"lastEvtTime":"02:04 PM","lv.Sunrise.time":"2020-11-24T12:26:00+0000","lvt.Sunrise.time":"Time","cutAction":[],"nestedIfMain":[],"nestedLabel":[],"paramNdx":1,"lastEvtDevId":null,"varUseList":{},"waitCondNdx":1,"token":0,"nestedSkipAllMain":[],"capabsfalse":{},"timeTriggersW":{},"timeFormat":"hh:mm a","waitConds":[]},"appSettings":[{"deviceList":null,"multiple":false,"name":"tCapab1","type":"enum","value":"Certain Time"},{"deviceList":null,"multiple":false,"name":"tCapab2","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"actionDone","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"runAction","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"pausRule","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"deleteLv:Sunrise.time","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"actSubTypeMain.1","type":"enum","value":"Set Variable"},{"deviceList":null,"multiple":false,"name":"valTimeOpMain.2Sunset.time","type":"enum","value":"Sunset"},{"deviceList":null,"multiple":false,"name":"actSubTypeMain.2","type":"enum","value":"Set Variable"},{"deviceList":null,"multiple":false,"name":"cancelLv","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"insertAct","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"delete","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"goof","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"editLv:Sunset.time","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"cancelCon","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"time1","type":"enum","value":"A specific time"},{"deviceList":null,"multiple":false,"name":"deleteLv:Sunset.time","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"locVar","type":"text","value":""},{"deviceList":null,"multiple":false,"name":"varType","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"capab","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"createCon:Sunrise.time","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"valTimeOpMain.1Sunrise.time","type":"enum","value":"Sunrise"},{"deviceList":null,"multiple":false,"name":"actionCancel","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"createCon:Sunset.time","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"refreshActions","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"deleteCon:Sunset.time","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"editAct","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"myVarsMain.2","type":"enum","value":"Sunset.time"},{"deviceList":null,"multiple":false,"name":"editLv:Sunrise.time","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"myVarsMain.1","type":"enum","value":"Sunrise.time"},{"deviceList":null,"multiple":false,"name":"comments","type":"textarea","value":""},{"deviceList":null,"multiple":false,"name":"hasAll","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"cancelCapab","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"cutAct","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"atTime1","type":"time","value":"04:00"},{"deviceList":null,"multiple":false,"name":"deleteCon:Sunrise.time","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"delayActMain.1","type":"bool","value":""},{"deviceList":null,"multiple":false,"name":"origLabel","type":"text","value":"Routine - pull sunset/sunrise"},{"deviceList":null,"multiple":false,"name":"varValue","type":"time","value":""},{"deviceList":null,"multiple":false,"name":"moreVar","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"delayActMain.2","type":"bool","value":""},{"deviceList":null,"multiple":false,"name":"actTypeMain.2","type":"enum","value":"Set Mode, Variables or File, Run Custom Action"},{"deviceList":null,"multiple":true,"name":"logging","type":"enum","value":null},{"deviceList":null,"multiple":false,"name":"editCond","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"actTypeMain.1","type":"enum","value":"Set Mode, Variables or File, Run Custom Action"},{"deviceList":null,"multiple":true,"name":"deleteAct","type":"enum","value":null},{"deviceList":null,"multiple":false,"name":"actTypeMain.3","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"updateRule","type":"button","value":""}],"subscriptions":[{"handler":"connHandler","name":"variable","type":"DEVICE","typeId":4138,"typeName":"Sunrise.time","filter":"true"},{"handler":"connHandler","name":"variable","type":"DEVICE","typeId":4139,"typeName":"Sunset.time","filter":"true"}]}}}