Trigger action when turn_on (but fail) a device

I have a Samsung TV, HA can control it (turn off, volume, play/pause, etc) but can’t turn it on.

I’m thinking about trigger an action on state changing to turn it on using my Chromecast, but since the turn_on action doesn’t work, the TV’s state doesn’t change.

Is there any way for me to turn on chromecast when I call turn on the samsung TV?

use a template switch for your TV:

link the turn_on portion to your google cast turn on. use the tv’s turn off as the turn off for the template.