You can control your realme AIoT devices by turning on this feature.
Setting Path:
realme UI 4.0 & above versions: Swipe down on the home screen > Control center > Device control > Add controls
realme UI 3.0: Settings > System Settings > Power Menu > Turn on Show Smart Devices > Long press the power button > Add controls
realme UI 2.0: Support it by default > Long press the power button > Add controls
realme UI R & Go & S & T Edition: Not supported