As I understand it a scene can override the ESM setting.
See here from a thread aptly titled "Understanding Trane Thermostat Energy Savings mode "
I think it’s better to just set condition based schedules instead of tinkering with ESM.
Ironically I too this night have dealt with the same issue from a scene I set up back in the day before I understood the Trane ESM.