Okay. Remember, we said earlier in the thread that restoreOnStartup is never going to send a command to a binding to affect any external device.
So it’s useless for that purpose anyway. It’s not going to help you at all. It is the wrong tool for the job.
You have to take some positive action if you want to set a device to some particular state on bootup.
Write a rule that runs at system started, reaches back in the persistence database for the Item state prior to boot, and uses that to command the device.
Discussion about that here