MQTT switch shows incorrect state when HASS restarts

Hi @mlefevre, take a look here.