hello, i’m new yet. I’m looking for a stable code, there are different codes everywhere. I want to run a single channel role, but I couldn’t find it in the forum. Can you help with this?
Apart from new installs now including mandatory api encryption, it will look something like this:
esphome:
name: xmas-led1
platform: ESP8266
board: esp01_1m
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: "b3aeb1316ee909151001d762aa219f65"
wifi:
ssid: "your_ssid"
password: "your_password"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Xmas-Led1 Fallback Hotspot"
password: "dwFAfhayTOJq"
captive_portal:
switch:
- platform: gpio
pin: 00
name: "Xmas LED1"
inverted: true