[hlw8032] Single-phase metering IC (#7241)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
This commit is contained in:
17
tests/components/hlw8032/common.yaml
Normal file
17
tests/components/hlw8032/common.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
sensor:
|
||||
- platform: hlw8032
|
||||
voltage:
|
||||
name: HLW8032 Voltage
|
||||
id: hlw8032_voltage
|
||||
current:
|
||||
name: HLW8032 Current
|
||||
id: hlw8032_current
|
||||
power:
|
||||
name: HLW8032 Power
|
||||
id: hlw8032_power
|
||||
apparent_power:
|
||||
name: HLW8032 Apparent Power
|
||||
id: hlw8032_apparent_power
|
||||
power_factor:
|
||||
name: HLW8032 Power Factor
|
||||
id: hlw8032_power_factor
|
||||
4
tests/components/hlw8032/test.esp32-idf.yaml
Normal file
4
tests/components/hlw8032/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
packages:
|
||||
uart_4800_even: !include ../../test_build_components/common/uart_4800_even/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
4
tests/components/hlw8032/test.esp8266-ard.yaml
Normal file
4
tests/components/hlw8032/test.esp8266-ard.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
packages:
|
||||
uart_4800_even: !include ../../test_build_components/common/uart_4800_even/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
4
tests/components/hlw8032/test.rp2040-ard.yaml
Normal file
4
tests/components/hlw8032/test.rp2040-ard.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
packages:
|
||||
uart_4800_even: !include ../../test_build_components/common/uart_4800_even/rp2040-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
Reference in New Issue
Block a user