Skip to content

Commit fe2072c

Browse files
committed
fixed 8266 test
1 parent 100fba5 commit fe2072c

File tree

1 file changed

+5
-46
lines changed

1 file changed

+5
-46
lines changed

tests/esp8266-arduino.yaml

Lines changed: 5 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,12 @@ substitutions:
22
devicename: ulanzi
33
friendly_name: LED Matrix
44
# Pin definition from https://github.com/aptonline/PixelIt_Ulanzi
5-
battery_pin: GPIO34
6-
ldr_pin: GPIO35
7-
matrix_pin: GPIO32
8-
left_button_pin: GPIO26
9-
mid_button_pin: GPIO27
10-
right_button_pin: GPIO14
11-
scl_pin: GPIO22
12-
sda_pin: GPIO21
13-
5+
matrix_pin: GPIO12
6+
147
external_components:
158
- source:
169
type: local
17-
path: ../components
10+
path: ../components
1811
components: [ ehmtxv2 ]
1912

2013
esphome:
@@ -23,10 +16,7 @@ esphome:
2316
project:
2417
name: "TEST8266.EHMTXv2"
2518
version: "2.0.0"
26-
on_boot:
27-
then:
28-
- ds1307.read_time:
29-
19+
3020
esp8266:
3121
board: nodemcuv2
3222
framework:
@@ -38,27 +28,7 @@ font:
3828
id: default_font
3929
glyphs: |-
4030
!?"%()+*=,-_.:°0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnÖÄÜöäüopqrstuvwxyz@<>߀/
41-
42-
binary_sensor:
43-
- platform: status
44-
name: "$devicename Status"
45-
- platform: gpio
46-
pin:
47-
number: $left_button_pin
48-
inverted: true
49-
name: "Left button"
50-
- platform: gpio
51-
pin:
52-
inverted: true
53-
number: $mid_button_pin
54-
mode: INPUT_PULLUP
55-
name: "Middle button"
56-
- platform: gpio
57-
pin:
58-
number: $right_button_pin
59-
inverted: true
60-
name: "Right button"
61-
31+
6232
logger:
6333
level: WARN
6434

@@ -76,12 +46,6 @@ wifi:
7646

7747
web_server:
7848

79-
i2c:
80-
sda: $sda_pin
81-
scl: $scl_pin
82-
scan: true
83-
id: i2cbus
84-
8549
light:
8650
- platform: neopixelbus
8751
id: ehmtx_light
@@ -97,11 +61,6 @@ light:
9761

9862
time:
9963
- platform: homeassistant
100-
on_time_sync:
101-
then:
102-
ds1307.write_time:
103-
- platform: ds1307
104-
update_interval: never
10564
id: ehmtx_time
10665

10766
display:

0 commit comments

Comments
 (0)