1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 10:52:19 +01:00

[CI] Consolidate some tests (N, O, P) (#8204)

This commit is contained in:
Keith Burzinski
2025-02-04 20:37:15 -06:00
committed by GitHub
parent 4d8f58db94
commit cecce0f3cb
171 changed files with 1479 additions and 4560 deletions

View File

@@ -0,0 +1,23 @@
esphome:
on_boot:
then:
- pzemdc.reset_energy: pzemdc1
uart:
- id: uart_pzemdc
tx_pin: ${tx_pin}
rx_pin: ${rx_pin}
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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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