Compare commits

..

2 Commits

Author SHA1 Message Date
pre-commit-ci[bot] b443c1676a
Merge 34ffbee055 into 2b46c587fc 2024-11-20 09:07:02 +01:00
Paul Wieland 2b46c587fc
Create gate_party_mode.yaml 2024-11-19 15:16:57 -05:00
1 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,62 @@
---
substitutions:
id_prefix: ratgdov25i
friendly_name: "ratgdov2.5i"
uart_tx_pin: D1
uart_rx_pin: D2
input_obst_pin: D7
dry_contact_open_pin: D5
dry_contact_close_pin: D6
discrete_open_pin: D0
discrete_close_pin: D3 # re-assign from D8 to an un-mapped gpio
web_server:
esphome:
name: ${id_prefix}
friendly_name: ${friendly_name}
name_add_mac_suffix: true
project:
name: ratgdo.esphome
version: "2.5i"
esp8266:
board: d1_mini
restore_from_flash: true
dashboard_import:
package_import_url: github://ratgdo/esphome-ratgdo/v25iboard_drycontact.yaml@main
packages:
remote_package:
url: https://github.com/ratgdo/esphome-ratgdo
files: [base_drycontact.yaml]
refresh: 1s
# remote_package: !include
# file: base_drycontact.yaml
# Sync time with Home Assistant.
time:
- platform: homeassistant
id: homeassistant_time
api:
id: api_server
improv_serial:
wifi:
ap:
logger:
level: DEBUG
# add custom momentary switch to Status Obstruction
switch:
- platform: gpio
pin: D8
id: party_mode
name: "Party Mode"
on_turn_on:
- delay: 250ms
- switch.turn_off: party_mode