esphome/tests/components/sdm_meter/test.esp32-idf.yaml
Keith Burzinski 7e8ed5c391
Add some components to the new testing framework (S part 1) (#6224)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-04-23 21:49:15 +12:00

23 lines
489 B
YAML

uart:
- id: uart_sdm_meter
tx_pin: 17
rx_pin: 16
baud_rate: 9600
sensor:
- platform: sdm_meter
phase_a:
current:
name: Phase A Current
voltage:
name: Phase A Voltage
active_power:
name: Phase A Power
power_factor:
name: Phase A Power Factor
apparent_power:
name: Phase A Apparent Power
reactive_power:
name: Phase A Reactive Power
phase_angle:
name: Phase A Phase Angle