Hello all, first post here.
I ordered a Unicorn hat the other day and it finally came in today (Sooooooo much excitement).
I installed all the required stuff and downloaded the examples.
I then added an entry into crontab:
@reboot sudo python /home/pi/Pimoroni/unicornhat/examples/rainbow.py &
This works great and starts the script on boot, the only problem is that the Unicorn Hat stays powered after shutting down the system and acts as if you had just canceled out of the script.
Any help would be greatly appreciated!