mirror of
https://github.com/esphome/esphome.git
synced 2025-09-04 12:22:20 +01:00
[CI] Introduce testing for IDF 5 (and other arbitrary framework versions) (#6802)
* Initial changes to support testing of additional framework versions * Rename Arduino test files
This commit is contained in:
23
tests/components/pzemdc/test.esp8266-ard.yaml
Normal file
23
tests/components/pzemdc/test.esp8266-ard.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- pzemdc.reset_energy: pzemdc1
|
||||
|
||||
uart:
|
||||
- id: uart_pzemdc
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
stop_bits: 2
|
||||
|
||||
sensor:
|
||||
- platform: pzemdc
|
||||
id: pzemdc1
|
||||
voltage:
|
||||
name: PZEMDC Voltage
|
||||
current:
|
||||
name: PZEMDC Current
|
||||
power:
|
||||
name: PZEMDC Power
|
||||
energy:
|
||||
name: PZEMDC Energy
|
Reference in New Issue
Block a user