When you are able to test it, could you please try with WiiM CEC Power Control off and the WiiM in standby.
Turn on the TV and check what output the TV is on. It should stay on internal speakers or change to internal (this don't work for me).
I did a little testing with the Amp

.
As I mentioned earlier, my Hisense TV has two features,
"Sound System Interlocking"
"Preferred Speaker on Power On"
that change behavior depending on how they are turned on and off, so I turned them all off first.
This is only the case when the TV is set as the TV speaker . (Also, the WiiM amp auto-sensing is always off.)
[WiiM in standby, input is Wi-Fi]
When the TV is turn on, WiiM remains in standby. Then sound comes out of the TV speakers. (I think this is the behavior you want.)
[WiiM in standby, input is HDMI]
When the TV is turn on, WiiM will turn on at the same time the audio is output from the TV, and sound will come from both WiiM and the TV. This does not appear to be an action by CEC.
(If switch to external speakers in the TV's submenu, the TV will not output sound.)
--Considerations--
WiiM operates differently depending on the input status during standby. When the input is HDMI, WiiM appears to be on regardless of CEC.
I could be wrong, but I think that WiiM is actually idle, not in standby. However, when I turn on CEC on WiiM, CEC appears to be working correctly because WiiM turns on at the same time the TV turns on, regardless of input. I wonder.
-- Solution? --
Adding an optional feature to switch input to Wi-Fi upon standby-in when the WiiM input is HDMI might be a compromise solution. But I'm not sure.
(I should add that I don't use TV speakers at all, so I haven't noticed any problems with the sequence of actions.)