esphome: name: asr esp32: board: esp32dev framework: type: arduino # Enable logging logger: # Enable Home Assistant API api: encryption: key: "Xqy9f8iJ49cr7o8IWE1sFnG9EAEnxHVYlGUQBdnKE6Q=" ota: password: "d13799179d079d89758ad1a0fd1c4560" wifi: ssid: KinCony password: a12345678 # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: "Asr Fallback Hotspot" password: "KqbpeFnrzcWf" captive_portal: i2c: sda: 26 scl: 27 scan: true id: bus_a switch: - platform: gpio pin: GPIO19 name: "asr-relay1" - platform: gpio pin: GPIO5 name: "asr-relay2" - platform: gpio pin: GPIO23 name: "asr-led1" - platform: gpio pin: GPIO22 name: "asr-led2" - platform: gpio pin: GPIO18 name: "asr-beep" binary_sensor: - platform: gpio pin: number: 0 inverted: true name: "asr-button" dallas: - pin: 32 update_interval: 5s sensor: - platform: dallas address: 0x7b062162cfe98128 name: "asr-t2"