The riding detected notification is triggered when movement is detected by GPS or a connected sensor, such as speed sensor or power meter.
To update your riding detected notification setting, go to Settings > Dash settings > Notifications > Riding detected.