Added tests for new component

This commit is contained in:
Tim Pehla 2024-11-11 18:07:53 +01:00
parent ec4d5f1183
commit 1e08562a58
6 changed files with 103 additions and 0 deletions

View File

@ -188,3 +188,21 @@ display:
full_update_every: 30
lambda: |-
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());

View File

@ -105,3 +105,20 @@ display:
model: 1.54in-m5coreink-m09
lambda: |-
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());

View File

@ -105,3 +105,20 @@ display:
model: 1.54in-m5coreink-m09
lambda: |-
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());

View File

@ -105,3 +105,20 @@ display:
model: 1.54in-m5coreink-m09
lambda: |-
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());

View File

@ -105,3 +105,20 @@ display:
model: 1.54in-m5coreink-m09
lambda: |-
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());

View File

@ -105,3 +105,20 @@ display:
model: 1.54in-m5coreink-m09
lambda: |-
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());