esphome/tests/components/pzemac/test.esp32-ard.yaml
Keith Burzinski f6848fe24d
[CI] Introduce testing for IDF 5 (and other arbitrary framework versions) ()
* Initial changes to support testing of additional framework versions

* Rename Arduino test files
2024-06-17 16:32:11 -05:00

28 lines
447 B
YAML

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