Compare commits
2 Commits
34ffbee055
...
0d04d9c847
Author | SHA1 | Date |
---|---|---|
pre-commit-ci[bot] | 0d04d9c847 | |
Paul Wieland | 2b46c587fc |
|
@ -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.2
|
||||
rev: v19.1.4
|
||||
hooks:
|
||||
- id: clang-format
|
||||
types_or:
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue