What board support package are you using on the Arduino IDE? If you’re not using ATTinyCore, it’s possible that pin 0 on Arduino is pin 10 on PlatformIO…
It appears board_build.variant=tinyX4_reverse should trigger the ‘alternate / like older David Mellis core’ behaviour.
