mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 11:22:24 +01:00
[CI] Introduce testing for IDF 5 (and other arbitrary framework versions) (#6802)
* Initial changes to support testing of additional framework versions * Rename Arduino test files
This commit is contained in:
28
tests/components/pzemac/test.esp32-ard.yaml
Normal file
28
tests/components/pzemac/test.esp32-ard.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- pzemac.reset_energy: pzemac1
|
||||
|
||||
uart:
|
||||
- id: uart_pzemac
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 9600
|
||||
|
||||
modbus:
|
||||
|
||||
sensor:
|
||||
- platform: pzemac
|
||||
id: pzemac1
|
||||
voltage:
|
||||
name: PZEMAC Voltage
|
||||
current:
|
||||
name: PZEMAC Current
|
||||
power:
|
||||
name: PZEMAC Power
|
||||
energy:
|
||||
name: PZEMAC Energy
|
||||
frequency:
|
||||
name: PZEMAC Frequency
|
||||
power_factor:
|
||||
name: PZEMAC Power Factor
|
Reference in New Issue
Block a user