Hi guys
@democrazia : thank you, adding from easyIO import * solved the issue. Thank you!
@ajb2k3 : you are correct, the 485 stock version doesn't have batteries. However I don't think M5Stack engineers are planning to separate the two versions in UIFlow as there is only one M5Station to select from in UIFlow. So yes, it is a bug - instead of the error we should get 0.
Thanks
Felix