2 tane varlık ekledin birinci Röle, ikincisi açıp kapayan reset switch’i
esphome: name: hrelay platform: ESP8266 board: esp01 wifi: ssid: "SSID" password: "PAROLA" # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: "hRelay" password: "APicinParola" captive_portal: # Enable logging logger: api: ota: switch: - platform: gpio pin: GPIO0 name: "Relay #1" id: relay - platform: template name: "Reset" icon: "mdi:gate" turn_on_action: - switch.turn_on: relay - delay: 300ms - switch.turn_off: relay
İlk Yorumu Siz Yapın