Checking for existence of wifi network

Probably an odd request but I am looking to have a binary sensor that will tell me if a wifi network is being broadcasted near me.

To give 2 examples:

  1. With tasmota devices if they cant connect to wifi for some reason then they broadcast and Id want to be notified
  2. Other devices I dont want a wifi network broadcasting but sometimes they update randomly and then start re-broadcasting one