mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 06:33:51 +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: GPIO4
|
||||
rx_pin: GPIO5
|
||||
|
||||
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
|
||||
<<: !include common.yaml
|
||||
|
||||
Reference in New Issue
Block a user