Add state reversal

This commit is contained in:
Aiden committed 2026-01-17 15:29:38 +08:00
1 parent 56527787da
commit c19dc859d6
1 file changed
+4 -2
+4 -2
View File
@@ -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