Heavy thunderstorms could cause danger to life, sudden flooding and power cuts as forecasters upgraded a weather warning.