Compare commits

..

2 Commits

Author SHA1 Message Date
pre-commit-ci[bot] 0d04d9c847
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-clang-format: v19.1.2 → v19.1.4](https://github.com/pre-commit/mirrors-clang-format/compare/v19.1.2...v19.1.4)
2024-11-25 21:36:16 +00:00
Paul Wieland 2b46c587fc
Create gate_party_mode.yaml 2024-11-19 15:16:57 -05:00
2 changed files with 63 additions and 1 deletions

View File

@ -8,7 +8,7 @@ repos:
- id: end-of-file-fixer
- id: check-added-large-files
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v19.1.3
rev: v19.1.4
hooks:
- id: clang-format
types_or:

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