If you are fortunate, your electronics will have a P-ON and P-OFF command rather than a POWER command. Make a macro on the main page that does all the P-OFF commands in succession and everyone goes night-night at the same time.
In the database, many receivers have the ON and STANDBY (P-ON and P-OFF) on the hard buttons, while TVs and DVDs often have them on the LCD.
If you send a POWER command to something that's already off, you just turned it on - no good. That's why you read about guys looking here for DISCRETE POWER commands - the P-ON and P-OFF commands. You can send a P-OFF command ten times in a row and it stays off.
Does that help you?
There is no truth anymore. Only assertions. The internet world has no interest in truth, only vindication for preconceived assumptions.