I have the same problem with the PaHub and two ToF sensors.
Firmware Used: v1.7.2-core2
Simple code to reproduce below. And Screenshot for graphical representation.
from m5stack import *
from m5stack_ui import *
from uiflow import *
import unit
screen = M5Screen()
screen.clean_screen()
screen.set_screen_bg_color(0xFFFFFF)
pahub0 = unit.get(unit.PAHUB, unit.PORTA)
tof0 = unit.get(unit.TOF, unit.PAHUB0)
tof1 = unit.get(unit.TOF, unit.PAHUB1)
label0 = M5Label('Text', x=21, y=13, color=0x000, font=FONT_MONT_46, parent=None)
label1 = M5Label('Text', x=21, y=71, color=0x000, font=FONT_MONT_46, parent=None)
while True:
label0.set_text(str(tof0.distance))
label1.set_text(str(tof1.distance))
wait_ms(2)