Problem reinitializing a Nextion display

Hello everyone. I’ve been using Home Assistant for a while now and want to start by saying thanks for the great work. Unfortunately, I’ve hit a wall and can't seem to move forward. Here’s the situation:

I have an ESP32 with two relays set up to control fans for cooling a PS5 inside a cabinet. One relay switches the 12V fans, and the second controls a Nextion display.

Here’s the problem:
The display only receives power when the PS5 is turned on, whereas the ESP32 runs continuously.
When the ESP boots up, I can use the on_setup trigger in the YAML configuration to wait for the display to start and then send initial values. However, if the display is switched off via the relay while the ESP is still running and then switched back on later, the on_setup trigger doesn't fire again. This is because the ESP still thinks the display has been online the whole time and was never turned off.

I hope you can help me out. I’m looking for a way to trigger the on_setup sequence again whenever the display restarts.

Thanks a lot for your help!

Best regards, Lars