Mercurial > code > home > repos > micro
view sonoff_light_3.yaml @ 14:dcd981e1386b
br-air-quality has new screen layout; wifi connection blinks; etc
(tr-a-q is behind)
author | drewp@bigasterisk.com |
---|---|
date | Thu, 01 Aug 2024 22:18:10 -0700 |
parents | 477883ce71ec |
children |
line wrap: on
line source
esphome: name: sonoff_3 platform: esp8266 board: esp01_1m logger: level: INFO wifi: networks: - ssid: !secret wifi_ssid password: !secret wifi_password ota: platform: esphome mqtt: id: mqtt_client broker: "mqtt2.bigasterisk.com" binary_sensor: - platform: gpio pin: number: GPIO0 mode: INPUT_PULLUP inverted: True name: "Sonoff Basic Button" on_press: - switch.toggle: relay switch: - platform: gpio name: "Sonoff Basic Relay" pin: GPIO12 id: relay status_led: pin: number: GPIO13 inverted: yes