wifi:
  ssid: MySSID
  password: password1

text_sensor:
  - platform: wifi_info
    scan_results:
      name: Scan Results
    ip_address:
      name: IP Address
    ssid:
      name: SSID
    bssid:
      name: BSSID
    mac_address:
      name: Mac Address
    dns_address:
      name: DNS ADdress