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