Seven people have been treated for the effects of gas inhalation after a carbon monoxide detector activated at a house in West Dunbartonshire.