The fire service is urging people to consider the dangers of cooking in enclosed spaces.