summaryrefslogtreecommitdiffstats
path: root/esphome/config/powerplug_awp07l.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'esphome/config/powerplug_awp07l.yaml')
-rw-r--r--esphome/config/powerplug_awp07l.yaml30
1 files changed, 28 insertions, 2 deletions
diff --git a/esphome/config/powerplug_awp07l.yaml b/esphome/config/powerplug_awp07l.yaml
index 08a9e62..c8e3722 100644
--- a/esphome/config/powerplug_awp07l.yaml
+++ b/esphome/config/powerplug_awp07l.yaml
@@ -63,7 +63,7 @@ sensor:
63 sel_pin: 63 sel_pin:
64 number: GPIO12 64 number: GPIO12
65 inverted: true 65 inverted: true
66 cf_pin: GPIO05 66 cf_pin: GPIO5
67 cf1_pin: GPIO14 67 cf1_pin: GPIO14
68 current_resistor: ${current_resistor} 68 current_resistor: ${current_resistor}
69 voltage_divider: ${voltage_divider} 69 voltage_divider: ${voltage_divider}
@@ -124,5 +124,31 @@ switch:
124output: 124output:
125 - platform: esp8266_pwm 125 - platform: esp8266_pwm
126 id: led 126 id: led
127 pin: GPIO00 127 pin: GPIO0
128 inverted: true 128 inverted: true
129
130 - platform: gpio
131 id: unused_gpio1
132 pin:
133 number: GPIO1
134 mode: INPUT_PULLUP
135 - platform: gpio
136 id: unused_gpio2
137 pin:
138 number: GPIO2
139 mode: INPUT_PULLUP
140 - platform: gpio
141 id: unused_gpio3
142 pin:
143 number: GPIO3
144 mode: INPUT_PULLUP
145 - platform: gpio
146 id: unused_gpio4
147 pin:
148 number: GPIO4
149 mode: INPUT_PULLUP
150 - platform: gpio
151 id: unused_gpio16
152 pin:
153 number: GPIO16
154 mode: INPUT_PULLDOWN