more esphome devices and fixes
This commit is contained in:
@@ -6,9 +6,10 @@
|
||||
# https://home.fox.co.nz/gitea/zorruno/zorruno-homeassistant/src/branch/master/esphome/esp-entrancebathrmlights.yaml
|
||||
#:########################################################################################:#
|
||||
# VERSIONS:
|
||||
# v3.8 2026-02-25 Updated yaml to zorruno layout V1.1
|
||||
# v3.7 2025-09-34 Upload to this bathroom (as noted in original header)
|
||||
# v3.5 2025-07-24 YAML tidyups
|
||||
# V3.9 2026-03-11 Updated yaml to zorruno layout V1.1
|
||||
# V3.8 2026-02-25 Updated yaml to zorruno layout V1.1
|
||||
# V3.7 2025-09-34 Upload to this bathroom (as noted in original header)
|
||||
# V3.5 2025-07-24 YAML tidyups
|
||||
#:########################################################################################:#
|
||||
# HARDWARE:
|
||||
# - Zemismart KS-811 Double push button (ESP8266)
|
||||
@@ -33,7 +34,6 @@
|
||||
# - Accurate time is NOT needed (SNTP not needed).
|
||||
#:########################################################################################:#
|
||||
|
||||
|
||||
#:########################################################################################:#
|
||||
# SUBSTITUTIONS: Specific device variable substitutions
|
||||
# If NOT using a secrets file, just replace these with the passwords etc (in quotes)
|
||||
@@ -47,7 +47,7 @@ substitutions:
|
||||
|
||||
# Project Naming
|
||||
project_name: "Zemismart Technologies.KS-811 Double"
|
||||
project_version: "v3.8"
|
||||
project_version: "v3.9"
|
||||
|
||||
# Passwords & Secrets
|
||||
api_key: !secret esp-api_key # unfortunately you can't use substitutions inside secrets names
|
||||
@@ -144,7 +144,7 @@ logger:
|
||||
status_led:
|
||||
pin:
|
||||
number: GPIO2
|
||||
inverted: yes
|
||||
inverted: true
|
||||
|
||||
#:########################################################################################:#
|
||||
# BINARY SENSORS
|
||||
@@ -155,7 +155,7 @@ binary_sensor:
|
||||
pin:
|
||||
number: GPIO16
|
||||
mode: INPUT
|
||||
inverted: True
|
||||
inverted: true
|
||||
use_interrupt: false # GPIO16 pin doesn't support interrupts so use polling. Only suppresses a warning.
|
||||
name: "Button 1: ${switch_1_name}"
|
||||
on_press:
|
||||
@@ -163,9 +163,9 @@ binary_sensor:
|
||||
|
||||
- platform: gpio
|
||||
pin:
|
||||
number: GPIO05
|
||||
number: GPIO5
|
||||
mode: INPUT
|
||||
inverted: True
|
||||
inverted: true
|
||||
name: "Button 2: ${switch_2_name}"
|
||||
on_press:
|
||||
- switch.toggle: Relay_2
|
||||
|
||||
Reference in New Issue
Block a user