Parts of Australia are bracing for the effects of fire and extreme heat, while others are at risk of flash flooding.