Peter,
I have published a pre-release version
https://github.com/neilkplugins/Octopus_Energy-indigo-plugin/releases/tag/0.2.1-alpha that should address the issue whereby the variable can only be used if the API updated successfully (which I thought I had done). I also added the menu item option to force a refresh of all devices that both resolves any device inconsistency and will also test API connectivity at that point in time.
Did you see any more API timeouts occurring ? I will check the Octopus forums to see if any else sees similar issues and if we need more resilience here.
@ Any other users, not need to upgrade to this version unless you see the error Peter experienced, and this will be included in the next published version in the plugin store
Thanks,
Neil