summaryrefslogtreecommitdiffstats
path: root/esphome
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2025-10-21 11:24:54 +0200
committermanuel <manuel@mausz.at>2025-10-21 11:24:54 +0200
commit60391c4fb817a825e71d49a15b5a24b158c5d4d5 (patch)
tree227cbe15714f7d42bfdf8c931b43513e7fea81ad /esphome
parent69ff1340a8f373480d618a20cd92f18ac2a01b54 (diff)
downloadarduino-60391c4fb817a825e71d49a15b5a24b158c5d4d5.tar.gz
arduino-60391c4fb817a825e71d49a15b5a24b158c5d4d5.tar.bz2
arduino-60391c4fb817a825e71d49a15b5a24b158c5d4d5.zip
add friendly_name everywhere. diable unused GPIO to save power
Diffstat (limited to 'esphome')
-rw-r--r--esphome/config/3dprinter-led.yaml62
-rw-r--r--esphome/config/bedlight.yaml81
-rw-r--r--esphome/config/couchlight.yaml90
-rw-r--r--esphome/config/hoblight.yaml86
-rw-r--r--esphome/config/office-pc-control.yaml43
-rw-r--r--esphome/config/tvlight.yaml71
6 files changed, 346 insertions, 87 deletions
diff --git a/esphome/config/3dprinter-led.yaml b/esphome/config/3dprinter-led.yaml
index c85f222..16cc43d 100644
--- a/esphome/config/3dprinter-led.yaml
+++ b/esphome/config/3dprinter-led.yaml
@@ -1,6 +1,10 @@
1esphome: 1substitutions:
2 name: 3dprinter-led 2 device_name: 3dprinter-led
3 friendly_name: "3D Printer LED" 3 friendly_name: "3D Printer LED"
4
5esphome:
6 name: ${device_name}
7 friendly_name: ${friendly_name}
4 area: Office 8 area: Office
5 on_boot: 9 on_boot:
6 priority: -100 10 priority: -100
@@ -41,7 +45,7 @@ wifi:
41 45
42 # Enable fallback hotspot (captive portal) in case wifi connection fails 46 # Enable fallback hotspot (captive portal) in case wifi connection fails
43 ap: 47 ap:
44 ssid: "Couchlight Fallback Hotspot" 48 ssid: "${device_name} Fallback Hotspot"
45 password: !secret wifi_ap_password 49 password: !secret wifi_ap_password
46 50
47captive_portal: 51captive_portal:
@@ -59,3 +63,55 @@ light:
59 type: esp8266_uart 63 type: esp8266_uart
60 bus: 1 64 bus: 1
61 default_transition_length: 300ms 65 default_transition_length: 300ms
66
67output:
68 - platform: gpio
69 id: unused_gpio0
70 pin:
71 number: D3 # GPIO0
72 mode: INPUT_PULLUP
73 - platform: gpio
74 id: unused_gpio1
75 pin:
76 number: TX # GPIO1
77 mode: INPUT_PULLUP
78 - platform: gpio
79 id: unused_gpio3
80 pin:
81 number: RX # GPIO3
82 mode: INPUT_PULLUP
83 - platform: gpio
84 id: unused_gpio4
85 pin:
86 number: D2 # GPIO4
87 mode: INPUT_PULLUP
88 - platform: gpio
89 id: unused_gpio5
90 pin:
91 number: D1 # GPIO5
92 mode: INPUT_PULLUP
93 - platform: gpio
94 id: unused_gpio12
95 pin:
96 number: D6 # GPIO12
97 mode: INPUT_PULLUP
98 - platform: gpio
99 id: unused_gpio13
100 pin:
101 number: D7 # GPIO13
102 mode: INPUT_PULLUP
103 - platform: gpio
104 id: unused_gpio14
105 pin:
106 number: D5 # GPIO14
107 mode: INPUT_PULLUP
108 - platform: gpio
109 id: unused_gpio15
110 pin:
111 number: D8 # GPIO15
112 mode: INPUT_PULLUP
113 - platform: gpio
114 id: unused_gpio16
115 pin:
116 number: D0 # GPIO16
117 mode: INPUT_PULLDOWN
diff --git a/esphome/config/bedlight.yaml b/esphome/config/bedlight.yaml
index 2913e99..ac83f5d 100644
--- a/esphome/config/bedlight.yaml
+++ b/esphome/config/bedlight.yaml
@@ -1,5 +1,11 @@
1substitutions:
2 device_name: bedlight
3 friendly_name: "Bed Light"
4
1esphome: 5esphome:
2 name: bedlight 6 name: ${device_name}
7 friendly_name: ${friendly_name}
8 area: Bed Room
3 9
4 # light default values 10 # light default values
5 on_boot: 11 on_boot:
@@ -46,7 +52,7 @@ wifi:
46 52
47 # Enable fallback hotspot (captive portal) in case wifi connection fails 53 # Enable fallback hotspot (captive portal) in case wifi connection fails
48 ap: 54 ap:
49 ssid: "Bedlight Fallback Hotspot" 55 ssid: "${device_name} Fallback Hotspot"
50 password: !secret wifi_ap_password 56 password: !secret wifi_ap_password
51 57
52captive_portal: 58captive_portal:
@@ -63,13 +69,13 @@ light:
63 restore_mode: RESTORE_DEFAULT_OFF 69 restore_mode: RESTORE_DEFAULT_OFF
64 70
65output: 71output:
66 - id: gpio_r 72 #- id: gpio_r
67 platform: gpio 73 # platform: gpio
68 pin: GPIO12 74 # pin: GPIO12
69 75
70 - id: gpio_g 76 #- id: gpio_g
71 platform: gpio 77 # platform: gpio
72 pin: GPIO15 78 # pin: GPIO15
73 79
74 - id: pwm_b 80 - id: pwm_b
75 platform: esp8266_pwm 81 platform: esp8266_pwm
@@ -107,17 +113,58 @@ output:
107 return 0.0002; 113 return 0.0002;
108 return state; 114 return state;
109 115
110 - id: gpio0 116 #- id: gpio0
111 platform: gpio 117 # platform: gpio
112 pin: GPIO0 118 # pin: GPIO0
113 119
114 - id: gpio_txd 120 #- id: gpio_txd
115 platform: gpio 121 # platform: gpio
116 pin: GPIO1 122 # pin: GPIO1
117 123
118 - id: gpio_rxd 124 #- id: gpio_rxd
119 platform: gpio 125 # platform: gpio
120 pin: GPIO3 126 # pin: GPIO3
127
128 - platform: gpio
129 id: unused_gpio0
130 pin:
131 number: GPIO0
132 mode: INPUT_PULLUP
133 - platform: gpio
134 id: unused_gpio1
135 pin:
136 number: GPIO1
137 mode: INPUT_PULLUP
138 - platform: gpio
139 id: unused_gpio2
140 pin:
141 number: GPIO2
142 mode: INPUT_PULLUP
143 - platform: gpio
144 id: unused_gpio3
145 pin:
146 number: GPIO3
147 mode: INPUT_PULLUP
148 - platform: gpio
149 id: unused_gpio12
150 pin:
151 number: GPIO12
152 mode: INPUT_PULLUP
153 - platform: gpio
154 id: unused_gpio13
155 pin:
156 number: GPIO13
157 mode: INPUT_PULLUP
158 - platform: gpio
159 id: unused_gpio15
160 pin:
161 number: GPIO15
162 mode: INPUT_PULLUP
163 - platform: gpio
164 id: unused_gpio16
165 pin:
166 number: GPIO16
167 mode: INPUT_PULLDOWN
121 168
122globals: 169globals:
123 - id: g_dim_level 170 - id: g_dim_level
diff --git a/esphome/config/couchlight.yaml b/esphome/config/couchlight.yaml
index cfc2f00..4579dc9 100644
--- a/esphome/config/couchlight.yaml
+++ b/esphome/config/couchlight.yaml
@@ -1,5 +1,10 @@
1substitutions:
2 device_name: couchlight
3 friendly_name: "Couch Light"
4
1esphome: 5esphome:
2 name: couchlight 6 name: ${device_name}
7 friendly_name: ${friendly_name}
3 on_boot: 8 on_boot:
4 then: 9 then:
5 - lock.template.publish: 10 - lock.template.publish:
@@ -32,30 +37,67 @@ wifi:
32 37
33 # Enable fallback hotspot (captive portal) in case wifi connection fails 38 # Enable fallback hotspot (captive portal) in case wifi connection fails
34 ap: 39 ap:
35 ssid: "Couchlight Fallback Hotspot" 40 ssid: "${device_name} Fallback Hotspot"
36 password: !secret wifi_ap_password 41 password: !secret wifi_ap_password
37 42
38captive_portal: 43captive_portal:
39 44
40light: 45light:
41 - id: light1 46 - platform: binary
42 platform: binary 47 id: light1
43 name: "Couch 1" 48 name: "Spot 1"
44 output: relay_light1 49 output: relay_light1
45 50
46 - id: light2 51 - platform: binary
47 platform: binary 52 id: light2
48 name: "Couch 2" 53 name: "Spot 2"
49 output: relay_light2 54 output: relay_light2
50 55
51output: 56output:
52 - id: relay_light1 57 - platform: gpio
53 platform: gpio 58 id: relay_light1
54 pin: D1 59 pin: D1 # GPIO5
60
61 - platform: gpio
62 id: relay_light2
63 pin: D2 # GPIO4
55 64
56 - id: relay_light2 65 # UNUSED GPIO
57 platform: gpio 66 - platform: gpio
58 pin: D2 67 id: unused_gpio0
68 pin:
69 number: D3 # GPIO0
70 mode: INPUT_PULLUP
71 - platform: gpio
72 id: unused_gpio1
73 pin:
74 number: TX # GPIO1
75 mode: INPUT_PULLUP
76 - platform: gpio
77 id: unused_gpio2
78 pin:
79 number: D4 # GPIO2
80 mode: INPUT_PULLUP
81 - platform: gpio
82 id: unused_gpio3
83 pin:
84 number: RX # GPIO3
85 mode: INPUT_PULLUP
86 - platform: gpio
87 id: unused_gpio14
88 pin:
89 number: D5 # GPIO14
90 mode: INPUT_PULLUP
91 - platform: gpio
92 id: unused_gpio15
93 pin:
94 number: D8 # GPIO15
95 mode: INPUT_PULLUP
96 - platform: gpio
97 id: unused_gpio16
98 pin:
99 number: D0 # GPIO16
100 mode: INPUT_PULLDOWN
59 101
60script: 102script:
61 - id: reset_child_lock 103 - id: reset_child_lock
@@ -67,11 +109,11 @@ script:
67 state: UNLOCKED 109 state: UNLOCKED
68 110
69binary_sensor: 111binary_sensor:
70 - id: button_light1 112 - platform: gpio
71 name: "Couch 1 PushButton" 113 id: button_light1
72 platform: gpio 114 name: "Spot 1 PushButton"
73 pin: 115 pin:
74 number: D7 116 number: D7 # GPIO13
75 mode: INPUT_PULLUP 117 mode: INPUT_PULLUP
76 filters: 118 filters:
77 - invert 119 - invert
@@ -85,11 +127,11 @@ binary_sensor:
85 - light.toggle: light1 127 - light.toggle: light1
86 internal: true # hide from UI 128 internal: true # hide from UI
87 129
88 - id: button_light2 130 - platform: gpio
89 name: "Couch 2 PushButton" 131 id: button_light2
90 platform: gpio 132 name: "Spot 2 PushButton"
91 pin: 133 pin:
92 number: D6 134 number: D6 # GPIO12
93 mode: INPUT_PULLUP 135 mode: INPUT_PULLUP
94 filters: 136 filters:
95 - invert 137 - invert
@@ -104,8 +146,8 @@ binary_sensor:
104 internal: true # hide from UI 146 internal: true # hide from UI
105 147
106lock: 148lock:
107 - id: child_lock 149 - platform: template
108 platform: template 150 id: child_lock
109 name: "Child Lock" 151 name: "Child Lock"
110 optimistic: true 152 optimistic: true
111 on_lock: 153 on_lock:
diff --git a/esphome/config/hoblight.yaml b/esphome/config/hoblight.yaml
index e36bf31..cf2d7e5 100644
--- a/esphome/config/hoblight.yaml
+++ b/esphome/config/hoblight.yaml
@@ -1,5 +1,16 @@
1substitutions:
2 device_name: hoblight
3 friendly_name: "Hob Light"
4
1esphome: 5esphome:
2 name: hoblight 6 name: ${device_name}
7 friendly_name: ${friendly_name}
8
9 devices:
10 - id: hob_dimmer
11 name: "Hob Dimmer"
12 - id: dining_table
13 name: "Dining Table"
3 14
4esp8266: 15esp8266:
5 board: esp01_1m 16 board: esp01_1m
@@ -33,24 +44,24 @@ wifi:
33 44
34 # Enable fallback hotspot (captive portal) in case wifi connection fails 45 # Enable fallback hotspot (captive portal) in case wifi connection fails
35 ap: 46 ap:
36 ssid: "Hoblight Fallback Hotspot" 47 ssid: "${device_name} Fallback Hotspot"
37 password: !secret wifi_ap_password 48 password: !secret wifi_ap_password
38 49
39captive_portal: 50captive_portal:
40 51
41light: 52light:
42 - id: dining_table 53 - platform: cwww
43 platform: cwww 54 device_id: dining_table
44 name: "Dining Table" 55 name: None
45 cold_white: pwm_w 56 cold_white: pwm_w
46 warm_white: pwm_b 57 warm_white: pwm_b
47 cold_white_color_temperature: 6536 K 58 cold_white_color_temperature: 6536 K
48 warm_white_color_temperature: 2000 K 59 warm_white_color_temperature: 2000 K
49 restore_mode: RESTORE_DEFAULT_OFF 60 restore_mode: RESTORE_DEFAULT_OFF
50 61
51 - id: hob_dimmer 62 - platform: color_temperature
52 platform: color_temperature 63 device_id: hob_dimmer
53 name: "Hob Dimmer" 64 name: None
54 color_temperature: pwm_rxd 65 color_temperature: pwm_rxd
55 brightness: pwm_gpio0 66 brightness: pwm_gpio0
56 cold_white_color_temperature: 6536 K 67 cold_white_color_temperature: 6536 K
@@ -58,28 +69,28 @@ light:
58 restore_mode: RESTORE_DEFAULT_OFF 69 restore_mode: RESTORE_DEFAULT_OFF
59 70
60output: 71output:
61 #- id: pwm_r 72 #- platform: esp8266_pwm
62 # platform: esp8266_pwm 73 # id: pwm_r
63 # pin: GPIO12 74 # pin: GPIO12
64 # frequency: 1000 Hz 75 # frequency: 1000 Hz
65 76
66 #- id: pwm_g 77 #- platform: esp8266_pwm
67 # platform: esp8266_pwm 78 # id: pwm_g
68 # pin: GPIO15 79 # pin: GPIO15
69 # frequency: 1000 Hz 80 # frequency: 1000 Hz
70 81
71 - id: pwm_b 82 - platform: esp8266_pwm
72 platform: esp8266_pwm 83 id: pwm_b
73 pin: GPIO14 84 pin: GPIO14
74 frequency: 1000 Hz 85 frequency: 1000 Hz
75 86
76 - id: pwm_w 87 - platform: esp8266_pwm
77 platform: esp8266_pwm 88 id: pwm_w
78 pin: GPIO4 89 pin: GPIO4
79 frequency: 1000 Hz 90 frequency: 1000 Hz
80 91
81 - id: pwm_gpio0 92 - platform: esp8266_pwm
82 platform: esp8266_pwm 93 id: pwm_gpio0
83 pin: GPIO0 94 pin: GPIO0
84 frequency: 2000 Hz 95 frequency: 2000 Hz
85 min_power: 0.05 96 min_power: 0.05
@@ -89,12 +100,43 @@ output:
89 # pin: GPIO1 100 # pin: GPIO1
90 # frequency: 2000 Hz 101 # frequency: 2000 Hz
91 102
92 - id: pwm_rxd 103 - platform: esp8266_pwm
93 platform: esp8266_pwm 104 id: pwm_rxd
94 pin: GPIO3 105 pin: GPIO3
95 frequency: 2000 Hz 106 frequency: 2000 Hz
96 107
108 - platform: gpio
109 id: unused_gpio1
110 pin:
111 number: GPIO1
112 mode: INPUT_PULLUP
113 - platform: gpio
114 id: unused_gpio2
115 pin:
116 number: GPIO2
117 mode: INPUT_PULLUP
118 - platform: gpio
119 id: unused_gpio12
120 pin:
121 number: GPIO12
122 mode: INPUT_PULLUP
123 - platform: gpio
124 id: unused_gpio13
125 pin:
126 number: GPIO13
127 mode: INPUT_PULLUP
128 - platform: gpio
129 id: unused_gpio15
130 pin:
131 number: GPIO15
132 mode: INPUT_PULLUP
133 - platform: gpio
134 id: unused_gpio16
135 pin:
136 number: GPIO16
137 mode: INPUT_PULLDOWN
138
97binary_sensor: 139binary_sensor:
98 - id: user_button 140 - platform: gpio
99 platform: gpio 141 id: user_button
100 pin: GPIO5 142 pin: GPIO5
diff --git a/esphome/config/office-pc-control.yaml b/esphome/config/office-pc-control.yaml
index 92d78d6..30033bb 100644
--- a/esphome/config/office-pc-control.yaml
+++ b/esphome/config/office-pc-control.yaml
@@ -1,5 +1,11 @@
1substitutions:
2 device_name: office-pc-control
3 friendly_name: "Office PC Control"
4
5
1esphome: 6esphome:
2 name: office-pc-control 7 name: ${device_name}
8 friendly_name: ${friendly_name}
3 area: Office 9 area: Office
4 on_boot: 10 on_boot:
5 priority: -100 11 priority: -100
@@ -40,7 +46,7 @@ wifi:
40 46
41 # Enable fallback hotspot (captive portal) in case wifi connection fails 47 # Enable fallback hotspot (captive portal) in case wifi connection fails
42 ap: 48 ap:
43 ssid: "Couchlight Fallback Hotspot" 49 ssid: "${device_name} Hotspot"
44 password: !secret wifi_ap_password 50 password: !secret wifi_ap_password
45 51
46captive_portal: 52captive_portal:
@@ -49,15 +55,36 @@ output:
49 - platform: gpio 55 - platform: gpio
50 id: pc_reset 56 id: pc_reset
51 pin: 57 pin:
52 number: D2 58 number: D2 # GPIO4
53 inverted: true # pc power/reset pins are GND activated 59 inverted: true # pc power/reset pins are GND activated
54 60
55 - platform: gpio 61 - platform: gpio
56 id: pc_power_onoff 62 id: pc_power_onoff
57 pin: 63 pin:
58 number: D3 64 number: D3 # GPIO0
59 inverted: true # pc power/reset pins are GND activated 65 inverted: true # pc power/reset pins are GND activated
60 66
67 - platform: gpio
68 id: unused_gpio1
69 pin:
70 number: TX # GPIO1
71 mode: INPUT_PULLUP
72 - platform: gpio
73 id: unused_gpio3
74 pin:
75 number: RX # GPIO3
76 mode: INPUT_PULLUP
77 - platform: gpio
78 id: unused_gpio13
79 pin:
80 number: D7 # GPIO13
81 mode: INPUT_PULLUP
82 - platform: gpio
83 id: unused_gpio16
84 pin:
85 number: D0 # GPIO16
86 mode: INPUT_PULLDOWN
87
61button: 88button:
62 - platform: output 89 - platform: output
63 name: "Reset" 90 name: "Reset"
@@ -103,7 +130,7 @@ binary_sensor:
103 name: "Touch button" 130 name: "Touch button"
104 id: touch_button 131 id: touch_button
105 pin: 132 pin:
106 number: D8 133 number: D8 # GPIO15
107 mode: INPUT 134 mode: INPUT
108 internal: true 135 internal: true
109 filters: 136 filters:
@@ -116,7 +143,7 @@ binary_sensor:
116 name: "Power button" 143 name: "Power button"
117 id: power_button 144 id: power_button
118 pin: 145 pin:
119 number: D5 146 number: D5 # GPIO14
120 mode: INPUT_PULLUP 147 mode: INPUT_PULLUP
121 inverted: true 148 inverted: true
122 internal: true 149 internal: true
@@ -142,7 +169,7 @@ binary_sensor:
142 name: "Reset button" 169 name: "Reset button"
143 id: reset_button 170 id: reset_button
144 pin: 171 pin:
145 number: D6 172 number: D6 # GPIO12
146 mode: INPUT_PULLUP 173 mode: INPUT_PULLUP
147 inverted: true 174 inverted: true
148 internal: true 175 internal: true
@@ -174,7 +201,7 @@ binary_sensor:
174 name: "Powered" 201 name: "Powered"
175 icon: "mdi:desktop-tower" 202 icon: "mdi:desktop-tower"
176 pin: 203 pin:
177 number: D1 204 number: D1 # GPIO5
178 mode: INPUT_PULLUP 205 mode: INPUT_PULLUP
179 filters: 206 filters:
180 - delayed_on: 100ms 207 - delayed_on: 100ms
diff --git a/esphome/config/tvlight.yaml b/esphome/config/tvlight.yaml
index 9fa59f1..19e8c1c 100644
--- a/esphome/config/tvlight.yaml
+++ b/esphome/config/tvlight.yaml
@@ -1,5 +1,10 @@
1substitutions:
2 device_name: tvlight
3 friendly_name: "TV Light"
4
1esphome: 5esphome:
2 name: tvlight 6 name: ${device_name}
7 friendly_name: ${friendly_name}
3 8
4esp8266: 9esp8266:
5 board: d1_mini 10 board: d1_mini
@@ -27,42 +32,82 @@ wifi:
27 32
28 # Enable fallback hotspot (captive portal) in case wifi connection fails 33 # Enable fallback hotspot (captive portal) in case wifi connection fails
29 ap: 34 ap:
30 ssid: "Tvlight Fallback Hotspot" 35 ssid: "${device_name} Fallback Hotspot"
31 password: !secret wifi_ap_password 36 password: !secret wifi_ap_password
32 37
33captive_portal: 38captive_portal:
34 39
35light: 40light:
36 - id: tvlight 41 - platform: monochromatic
37 platform: monochromatic
38 name: "TV" 42 name: "TV"
39 output: dimmer_tvlight 43 output: dimmer_tvlight
40 default_transition_length: 1.5s 44 default_transition_length: 1.5s
41 gamma_correct: 0 45 gamma_correct: 0
42 restore_mode: RESTORE_AND_OFF 46 restore_mode: RESTORE_AND_OFF
43 47
44 - id: wled 48 - platform: binary
45 platform: binary
46 name: "WLED" 49 name: "WLED"
50 icon: "mdi:led-strip-variant"
47 output: relay_wled 51 output: relay_wled
48 restore_mode: ALWAYS_OFF 52 restore_mode: ALWAYS_OFF
49 53
50output: 54output:
51 - id: dimmer_tvlight 55 - platform: esp8266_pwm
52 platform: esp8266_pwm 56 id: dimmer_tvlight
53 pin: D5 57 pin: D5 # GPIO14
54 frequency: 1000 Hz 58 frequency: 1000 Hz
55 inverted: true 59 inverted: true
56 # lower 22% are not useable. use max_power because of inverted 60 # lower 22% are not useable. use max_power because of inverted
57 max_power: 0.78 61 max_power: 0.78
58 power_supply: relay_tvlight 62 power_supply: relay_tvlight
59 63
60 - id: relay_wled 64 - platform: gpio
61 platform: gpio 65 id: relay_wled
62 pin: D1 66 pin: D1 # GPIO5
67
68 - platform: gpio
69 id: unused_gpio0
70 pin:
71 number: D3 # GPIO0
72 mode: INPUT_PULLUP
73 - platform: gpio
74 id: unused_gpio1
75 pin:
76 number: TX # GPIO1
77 mode: INPUT_PULLUP
78 - platform: gpio
79 id: unused_gpio2
80 pin:
81 number: D4 # GPIO2
82 mode: INPUT_PULLUP
83 - platform: gpio
84 id: unused_gpio3
85 pin:
86 number: RX # GPIO3
87 mode: INPUT_PULLUP
88 - platform: gpio
89 id: unused_gpio12
90 pin:
91 number: D6 # GPIO12
92 mode: INPUT_PULLUP
93 - platform: gpio
94 id: unused_gpio13
95 pin:
96 number: D7 # GPIO13
97 mode: INPUT_PULLUP
98 - platform: gpio
99 id: unused_gpio15
100 pin:
101 number: D8 # GPIO15
102 mode: INPUT_PULLUP
103 - platform: gpio
104 id: unused_gpio16
105 pin:
106 number: D0 # GPIO16
107 mode: INPUT_PULLDOWN
63 108
64power_supply: 109power_supply:
65 - id: relay_tvlight 110 - id: relay_tvlight
66 pin: D2 111 pin: D2 # GPIO4
67 #enable_time: 3s 112 #enable_time: 3s
68 keep_on_time: 20ms 113 keep_on_time: 20ms