A flood warning and thunderstorm alert is in place for Western Australia, with more heavy rainfall set to batter parts of the state.