The trainer is connected as a smart trainer sensor on the edge 1040 (connected via ant+).
The ride is started on the edge unit from the indoor activity profile (using "set power" which I assume is erg mode).
How I noticed this problem is that sometime I need a break and stop the ride and when I come back and resume the ride, the power target is gone and it's replaced by trainer resistance.