Adding binary sensors to D1 mini are there any Pullup pins?

This is very uncommon but you can see more info in API Encryption - where to update in Home Assistant? - #2 by pepe59

Here again re-adding the device sorted the issue.