mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 09:18:00 +01:00
Added tests for new component
This commit is contained in:
parent
ec4d5f1183
commit
1e08562a58
6 changed files with 103 additions and 0 deletions
|
@ -188,3 +188,21 @@ display:
|
||||||
full_update_every: 30
|
full_update_every: 30
|
||||||
lambda: |-
|
lambda: |-
|
||||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
- platform: waveshare_epaper
|
||||||
|
model: 7.50inv2p
|
||||||
|
spi_id: spi_id_1
|
||||||
|
cs_pin:
|
||||||
|
allow_other_uses: true
|
||||||
|
number: GPIO25
|
||||||
|
dc_pin:
|
||||||
|
allow_other_uses: true
|
||||||
|
number: GPIO26
|
||||||
|
busy_pin:
|
||||||
|
allow_other_uses: true
|
||||||
|
number: GPIO27
|
||||||
|
reset_pin:
|
||||||
|
allow_other_uses: true
|
||||||
|
number: GPIO32
|
||||||
|
full_update_every: 30
|
||||||
|
lambda: |-
|
||||||
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
|
|
@ -105,3 +105,20 @@ display:
|
||||||
model: 1.54in-m5coreink-m09
|
model: 1.54in-m5coreink-m09
|
||||||
lambda: |-
|
lambda: |-
|
||||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
- platform: waveshare_epaper
|
||||||
|
model: 7.50inv2p
|
||||||
|
cs_pin:
|
||||||
|
allow_other_uses: true
|
||||||
|
number: 4
|
||||||
|
dc_pin:
|
||||||
|
allow_other_uses: true
|
||||||
|
number: 4
|
||||||
|
busy_pin:
|
||||||
|
allow_other_uses: true
|
||||||
|
number: 4
|
||||||
|
reset_pin:
|
||||||
|
allow_other_uses: true
|
||||||
|
number: 4
|
||||||
|
full_update_every: 30
|
||||||
|
lambda: |-
|
||||||
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
|
|
@ -105,3 +105,20 @@ display:
|
||||||
model: 1.54in-m5coreink-m09
|
model: 1.54in-m5coreink-m09
|
||||||
lambda: |-
|
lambda: |-
|
||||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
- platform: waveshare_epaper
|
||||||
|
model: 7.50inv2p
|
||||||
|
cs_pin:
|
||||||
|
allow_other_uses: true
|
||||||
|
number: 4
|
||||||
|
dc_pin:
|
||||||
|
allow_other_uses: true
|
||||||
|
number: 4
|
||||||
|
busy_pin:
|
||||||
|
allow_other_uses: true
|
||||||
|
number: 4
|
||||||
|
reset_pin:
|
||||||
|
allow_other_uses: true
|
||||||
|
number: 4
|
||||||
|
full_update_every: 30
|
||||||
|
lambda: |-
|
||||||
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
|
|
@ -105,3 +105,20 @@ display:
|
||||||
model: 1.54in-m5coreink-m09
|
model: 1.54in-m5coreink-m09
|
||||||
lambda: |-
|
lambda: |-
|
||||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
- platform: waveshare_epaper
|
||||||
|
model: 7.50inv2p
|
||||||
|
cs_pin:
|
||||||
|
allow_other_uses: true
|
||||||
|
number: 4
|
||||||
|
dc_pin:
|
||||||
|
allow_other_uses: true
|
||||||
|
number: 4
|
||||||
|
busy_pin:
|
||||||
|
allow_other_uses: true
|
||||||
|
number: 4
|
||||||
|
reset_pin:
|
||||||
|
allow_other_uses: true
|
||||||
|
number: 4
|
||||||
|
full_update_every: 30
|
||||||
|
lambda: |-
|
||||||
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
|
|
@ -105,3 +105,20 @@ display:
|
||||||
model: 1.54in-m5coreink-m09
|
model: 1.54in-m5coreink-m09
|
||||||
lambda: |-
|
lambda: |-
|
||||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
- platform: waveshare_epaper
|
||||||
|
model: 7.50inv2p
|
||||||
|
cs_pin:
|
||||||
|
allow_other_uses: true
|
||||||
|
number: 4
|
||||||
|
dc_pin:
|
||||||
|
allow_other_uses: true
|
||||||
|
number: 4
|
||||||
|
busy_pin:
|
||||||
|
allow_other_uses: true
|
||||||
|
number: 4
|
||||||
|
reset_pin:
|
||||||
|
allow_other_uses: true
|
||||||
|
number: 4
|
||||||
|
full_update_every: 30
|
||||||
|
lambda: |-
|
||||||
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
|
|
@ -105,3 +105,20 @@ display:
|
||||||
model: 1.54in-m5coreink-m09
|
model: 1.54in-m5coreink-m09
|
||||||
lambda: |-
|
lambda: |-
|
||||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
- platform: waveshare_epaper
|
||||||
|
model: 7.50inv2p
|
||||||
|
cs_pin:
|
||||||
|
allow_other_uses: true
|
||||||
|
number: 5
|
||||||
|
dc_pin:
|
||||||
|
allow_other_uses: true
|
||||||
|
number: 5
|
||||||
|
busy_pin:
|
||||||
|
allow_other_uses: true
|
||||||
|
number: 5
|
||||||
|
reset_pin:
|
||||||
|
allow_other_uses: true
|
||||||
|
number: 5
|
||||||
|
full_update_every: 30
|
||||||
|
lambda: |-
|
||||||
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
|
Loading…
Reference in a new issue