a TV that persists in turning itself on at night.
An assemblage of possible technical reasons for this occuring:
(1) Faulty remote control: due to unwitting ingress of cough syrup/other liquid contaminants shorting-out the printed keypad, or indeed prolapse of the switch contacts themselves. Whilst remembering that a number of different infra-red remotes will awaken your tv from slumber, put them all inside an optically-isolating box overnight (shoebox, good candidate you are for this exorcism). Battery removal is only for the brave, as amnesia may result (I seem to remember)
(2) Detection, falsely, of varying signal/programme content, via eg HDMI connection. These cabled connections are now very multivalent, and will often insist that something is ahappening based upon no real-world corresponding instancy, and on-turn an off-turned telly. Mark/note/disconnect so as to experimentally isolate this/these, as a possible vector for your vexation.
(3) Brownouts. Near power-cuts that are deeper dips than the utility company would claim ever happen, but do. So I'm a tv....I'm sitting in my one-eyed redlit world of somnolent standby. And suddenly the power dips (maybe an electrical supply glitch, countryside powerline hiccup &etc). I react by coming to life, because I think I've been asked to awaken. Try testing for this by flicking-off, then back on (at the wall-socket), your standing-by, redlit, half-off, TV. Do I fully re-energise? Yes? Eureka. Case closed.
(4) Smart tvs (or indeed TVs) made semi-sentient via the insertion of connected computer capability. This includes platform games eg X-Boxes/Nintendo devices, and also Chromecast dongles, Apple TV and other streaming receivers. But I'm going to make a presumptive leap of faith, and vest in you an expectation that your television does >not< possess any of these magical multimural media manifestations. No integrated WiFi internet capability (cough, cough, cf "Wake On LAN"....actuation thereon so as to receive operating systems upgrades whilst the biological world sleeps) and that you most emphatically do not have a co-habiting smart speaker (eg Google Home Assistant, Amazon Echo Dot &etc) nor any (even unwitting) home automation going on.
All this, and more, must we eliminate from the frame of potential suspicion, long before invoking the trope of bell, book, candle & priest.
Which is damned annoying, as we'd all like a demonically-possessed household appliance at least once in our lives (sorry, perhaps that's just me...desirous of a possessed-by-spirits hi-fi, I mean)