Don’t delete smart scene from ihost after removing device. Leave scene inactive and add message about missing device in scene. Other companies already use such solution.