I believe I see one issue that stares at me. If I am understanding what you are trying to do, I believe your “else if” need to be if.
The reason is this written as language. What you want to say is:
if the tv is off turn it on.
If the receiver is off, turn it on
Etc…
Using else if would do this. I believe you are saying:
If the tv is off turn it on.
Done!
There would be no reason to pass to the else if when the first condition is true. I am hoping this makes sense, and I am giving you the behavior you desire.
Not knowing exactly what yours scenes do, the syntax looks correct, but I can’t comment if you will have the desired output. You may examine the sleeps though they are rather large.
Hope my feedback helps! Great start on the rule.