Advertisement
Chrwjensen

Untitled

May 14th, 2023
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. esphome:
  2. name: test
  3. friendly_name: test
  4.  
  5. esp32:
  6. board: esp32doit-devkit-v1
  7. framework:
  8. type: arduino
  9.  
  10. # Enable logging
  11. logger:
  12.  
  13. # Enable Home Assistant API
  14. api:
  15. encryption:
  16. key: "denrigtigekey"
  17.  
  18. ota:
  19. password: "9fb6dcce51e34e7c5ae76fa93e5a776c"
  20.  
  21. wifi:
  22. ssid: XXXXXXXXXXX
  23. password: XXXXXXXXXXXX
  24. # Enable fallback hotspot (captive portal) in case wifi connection fails
  25. ap:
  26. ssid: "Zappy Fallback Hotspot"
  27. password: "Ahx74yE7Ef9q"
  28.  
  29. captive_portal:
  30.  
  31. switch:
  32. - platform: gpio
  33. pin: 2
  34. id: test
  35. name: "Testswitch"
  36. on_turn_on:
  37. - delay: 1000ms
  38. - switch.turn_off: test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement