esphome:
  name: esphome-outside-s
  friendly_name: Outside Light

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "6XGt8kCrllL861S4s3oBM5eUZ+p84JhxZqP6X4EsWE4="

ota:
  password: "f95124df8c48dd5b2ecce5a16ff14249"


wifi:
  ssid: !secret wifi_outside_ssid
  password: !secret wifi_outside_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Server-Room Fallback Hotspot"
    password: "UdiLJzrZq12a"

captive_portal:

switch:
  - platform: gpio
    name: "Outside light"
    pin:
      number: 13
      inverted: true
