mirror of
https://github.com/athom-tech/esp32-configs.git
synced 2026-10-26 22:10:21 +00:00
Add state reversal
This commit is contained in:
1 parent
56527787da
commit
c19dc859d6
1 file changed
+4
-2
@@ -10,7 +10,9 @@ substitutions:
|
||||
# Project Name
|
||||
project_name: "China Athom Technology.Garage Door Opener"
|
||||
# Project version denotes the release version of the yaml file, allowing checking of deployed vs latest version
|
||||
project_version: "v3.1.1"
|
||||
project_version: "v3.1.2"
|
||||
# Status inverted
|
||||
status_inverted: "true"
|
||||
# Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs)
|
||||
dns_domain: ".local"
|
||||
# Set timezone of the smart plug. Useful if the plug is in a location different to the HA server. Can be entered in unix Country/Area format (i.e. "Australia/Sydney")
|
||||
@@ -153,7 +155,7 @@ binary_sensor:
|
||||
id: contact
|
||||
pin:
|
||||
number: GPIO18
|
||||
inverted: true
|
||||
inverted: "${status_inverted}"
|
||||
filters:
|
||||
- delayed_on: 20ms
|
||||
|
||||
|
||||
Reference in new issue
Block a user