After creating the new automation I restarted HA then went to the samsung tv device and click the power button to turn the TV on. Nothing happens! My automation does not get called, according to the Automations page.
Was it already on? Was it unavailable? media_player.samsung_crystal_uhd is the entity that needs to be turned on (from off) to make that automation work.
Are you sure turning the device on does that?
Also for us to help you better, the formatting of the YAML would be better if you used the </> button in the editor here to format YAML and code.
My understanding is that the automation would intercept the request to turn on the tv and send the magic packet first. I was following the wake on lan info from google.
The TV is off when I test the automation.
I just discovered that my automation gets called when the TV is turned on from its remote.
I guess that means my understanding of the trigger is completely wrong. ???