Kicad: Connect power to bidirectional pin
If you know that your I/O pin won't be outputting (that is why the warning is defaulted for I/O), then you can use a Net Tie:



The Footprint looks like this: