[SOLVED] MQTT and restoreOnStartup

as it was answered in here

MQTT and persistence is not working as others, so you have to use retained messages instead, which works as it’s needed.