A state of emergency remains in place as extreme temperatures are forecast for NSW, with thousands of firefighters deployed across the state amid catastrophic fire danger warnings.