mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 09:17:46 +01:00
f6848fe24d
* Initial changes to support testing of additional framework versions * Rename Arduino test files
23 lines
361 B
YAML
23 lines
361 B
YAML
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
|