[SOLVED] Restore On Startup not working with mysql persistence?

That is correct. An Item is something in openHAB, It may or may not represent some device, or part of a device, or situation in the real world.
restore-on-startup is only intended to restore the state of the Item.

If you want to to take some action on a real world device, it’s up to you to do that.

Example rule

Edit - this discussion is useful too