A barbecue having a manual operating mode and an automatic operating mode. In the manual operating mode a user is required to act affirmatively on the burner or burners of the barbecue in order to light them. In the automatic operating mode, a controller operably controls an igniter and/or a pilot to automatically light the burner or burners without the need for a user to affirmatively act on the burners themselves.