esphome: captive_portal: wifi: # Enable fast connect fast_connect: true min_auth_mode: WPA2 use_address: ${devicename}.local networks: - ssid: !secret wifi_ssid password: !secret wifi_password hidden: true # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: "${friendly_name}" password: !secret fallback_ap_password sensor: - <<: !include sensor/rssi_sensor.config.yaml text_sensor: - <<: !include text_sensor/wifi_sensor.config.yaml