here’s an integration that works for me, it doesn’t have the “last full moon” sensor though…
I’m not sure I really understood what the old template showed…