esphome: name: espsalon1 platform: ESP8266 board: d1_mini # Enable logging logger: # Enable Home Assistant API api: password: "feelhome123" ota: password: "feelhome123" wifi: ssid: "lauIOT" password: "superiot1" # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: "Espsalon1 Fallback Hotspot" password: "EGaKtG18gWXi" switch: - platform: gpio name: "Esp Salon Led" pin: 2 binary_sensor: - platform: gpio name: "Living Room Window" pin: number: 4 inverted: true mode: input: true pullup: true captive_portal: