I tried many ways to search the list (that looks like a dictionary). The 'in' command is the easiest and works, but does not find the value. It was a case of what does work in the end. I'm a VB coder, so expect my style to be of that vein.
The Pi does seem a good option to run a script on 24 hours.