Wyze Switch/Ceiling Fan

Is it possible to use a Wyze Switch with a ceiling fan that has a light kit? I know it won’t control them separately, and that’s ok.

Also, ignore the tag, it’s required, and switch wasn’t an option.