Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- esphome:
- name: test
- friendly_name: test
- esp32:
- board: esp32doit-devkit-v1
- framework:
- type: arduino
- # Enable logging
- logger:
- # Enable Home Assistant API
- api:
- encryption:
- key: "denrigtigekey"
- ota:
- password: "9fb6dcce51e34e7c5ae76fa93e5a776c"
- wifi:
- ssid: XXXXXXXXXXX
- password: XXXXXXXXXXXX
- # Enable fallback hotspot (captive portal) in case wifi connection fails
- ap:
- ssid: "Zappy Fallback Hotspot"
- password: "Ahx74yE7Ef9q"
- captive_portal:
- switch:
- - platform: gpio
- pin: 2
- id: test
- name: "Testswitch"
- on_turn_on:
- - delay: 1000ms
- - switch.turn_off: test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement