mirror of
https://github.com/esphome/esphome.git
synced 2025-02-13 00:18:21 +00:00
15 lines
248 B
YAML
15 lines
248 B
YAML
uart:
|
|
- id: uart_pzem004t
|
|
tx_pin: ${tx_pin}
|
|
rx_pin: ${rx_pin}
|
|
baud_rate: 115200
|
|
|
|
sensor:
|
|
- platform: pzem004t
|
|
voltage:
|
|
name: PZEM004T Voltage
|
|
current:
|
|
name: PZEM004T Current
|
|
power:
|
|
name: PZEM004T Power
|