esphome/tests/components/pzemdc/test.rp2040-ard.yaml
Keith Burzinski f6848fe24d
[CI] Introduce testing for IDF 5 (and other arbitrary framework versions) ()
* Initial changes to support testing of additional framework versions

* Rename Arduino test files
2024-06-17 16:32:11 -05:00

23 lines
359 B
YAML

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