esphome/tests/components/hlw8012/test.rp2040-ard.yaml
Keith Burzinski f6848fe24d
[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
2024-06-17 16:32:11 -05:00

22 lines
440 B
YAML

sensor:
- platform: hlw8012
model: hlw8012
sel_pin: 2
cf_pin: 4
cf1_pin: 3
current:
name: HLW8012 Current
voltage:
name: HLW8012 Voltage
power:
name: HLW8012 Power
id: hlw8012_power
energy:
name: HLW8012 Energy
id: hlw8012_energy
update_interval: 15s
current_resistor: 0.001 ohm
voltage_divider: 2351
change_mode_every: "never"
initial_mode: VOLTAGE