mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 22:24:26 +00:00
[CI] Consolidate some tests (N, O, P) (#8204)
This commit is contained in:
@@ -1,23 +1,5 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- pzemdc.reset_energy: pzemdc1
|
||||
substitutions:
|
||||
tx_pin: GPIO17
|
||||
rx_pin: GPIO16
|
||||
|
||||
uart:
|
||||
- id: uart_pzemdc
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
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
|
||||
<<: !include common.yaml
|
||||
|
||||
Reference in New Issue
Block a user