Honoring the dark/light color scheme set on the device might be a requirement in some cases (I haven't seen a straight answer about it for the EAA) but it is a good accessibility practice.
Including a toggle in an app/site UI so users can choose to not use their device setting is an extra.
Including a toggle in an app/site UI so users can choose to not use their device setting is an extra.