mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 10:52:19 +01:00
Add some components to the new testing framework (P) (#6213)
This commit is contained in:
23
tests/components/pzemdc/test.esp32-c3-idf.yaml
Normal file
23
tests/components/pzemdc/test.esp32-c3-idf.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
|
23
tests/components/pzemdc/test.esp32-c3.yaml
Normal file
23
tests/components/pzemdc/test.esp32-c3.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
|
23
tests/components/pzemdc/test.esp32-idf.yaml
Normal file
23
tests/components/pzemdc/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- pzemdc.reset_energy: pzemdc1
|
||||
|
||||
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
|
23
tests/components/pzemdc/test.esp32.yaml
Normal file
23
tests/components/pzemdc/test.esp32.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- pzemdc.reset_energy: pzemdc1
|
||||
|
||||
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
|
23
tests/components/pzemdc/test.esp8266.yaml
Normal file
23
tests/components/pzemdc/test.esp8266.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
|
23
tests/components/pzemdc/test.rp2040.yaml
Normal file
23
tests/components/pzemdc/test.rp2040.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