I prefer to put them in a Group i.e. an opt-in approach rather than using an “exclude” list.
There are a number of approaches to finding lights that are “on” demonstrated in this thread
Are you looking to do an actionable notification to turn them off or just an informative notification?