Automation or script for managing MQTT Sonoff RF Bridge binary sensor state during hass restart

Yes there is. Check this topic :

Strategy 2 is what you need.