mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 10:52:19 +01:00
Add some components to the new testing framework (A part 2) (#6162)
This commit is contained in:
26
tests/components/atm90e26/test.esp32-c3-idf.yaml
Normal file
26
tests/components/atm90e26/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
spi:
|
||||
- id: spi_atm90e26
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
sensor:
|
||||
- platform: atm90e26
|
||||
cs_pin: 8
|
||||
voltage:
|
||||
name: Line Voltage
|
||||
current:
|
||||
name: CT Amps
|
||||
power:
|
||||
name: Active Watts
|
||||
power_factor:
|
||||
name: Power Factor
|
||||
frequency:
|
||||
name: Line Frequency
|
||||
line_frequency: 50Hz
|
||||
meter_constant: 1000
|
||||
pl_const: 1429876
|
||||
gain_pga: 1X
|
||||
gain_metering: 7481
|
||||
gain_voltage: 26400
|
||||
gain_ct: 31251
|
26
tests/components/atm90e26/test.esp32-c3.yaml
Normal file
26
tests/components/atm90e26/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
spi:
|
||||
- id: spi_atm90e26
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
sensor:
|
||||
- platform: atm90e26
|
||||
cs_pin: 8
|
||||
voltage:
|
||||
name: Line Voltage
|
||||
current:
|
||||
name: CT Amps
|
||||
power:
|
||||
name: Active Watts
|
||||
power_factor:
|
||||
name: Power Factor
|
||||
frequency:
|
||||
name: Line Frequency
|
||||
line_frequency: 50Hz
|
||||
meter_constant: 1000
|
||||
pl_const: 1429876
|
||||
gain_pga: 1X
|
||||
gain_metering: 7481
|
||||
gain_voltage: 26400
|
||||
gain_ct: 31251
|
26
tests/components/atm90e26/test.esp32-idf.yaml
Normal file
26
tests/components/atm90e26/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
spi:
|
||||
- id: spi_atm90e26
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
sensor:
|
||||
- platform: atm90e26
|
||||
cs_pin: 13
|
||||
voltage:
|
||||
name: Line Voltage
|
||||
current:
|
||||
name: CT Amps
|
||||
power:
|
||||
name: Active Watts
|
||||
power_factor:
|
||||
name: Power Factor
|
||||
frequency:
|
||||
name: Line Frequency
|
||||
line_frequency: 50Hz
|
||||
meter_constant: 1000
|
||||
pl_const: 1429876
|
||||
gain_pga: 1X
|
||||
gain_metering: 7481
|
||||
gain_voltage: 26400
|
||||
gain_ct: 31251
|
26
tests/components/atm90e26/test.esp32.yaml
Normal file
26
tests/components/atm90e26/test.esp32.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
spi:
|
||||
- id: spi_atm90e26
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
sensor:
|
||||
- platform: atm90e26
|
||||
cs_pin: 13
|
||||
voltage:
|
||||
name: Line Voltage
|
||||
current:
|
||||
name: CT Amps
|
||||
power:
|
||||
name: Active Watts
|
||||
power_factor:
|
||||
name: Power Factor
|
||||
frequency:
|
||||
name: Line Frequency
|
||||
line_frequency: 50Hz
|
||||
meter_constant: 1000
|
||||
pl_const: 1429876
|
||||
gain_pga: 1X
|
||||
gain_metering: 7481
|
||||
gain_voltage: 26400
|
||||
gain_ct: 31251
|
26
tests/components/atm90e26/test.esp8266.yaml
Normal file
26
tests/components/atm90e26/test.esp8266.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
spi:
|
||||
- id: spi_atm90e26
|
||||
clk_pin: 14
|
||||
mosi_pin: 13
|
||||
miso_pin: 12
|
||||
|
||||
sensor:
|
||||
- platform: atm90e26
|
||||
cs_pin: 5
|
||||
voltage:
|
||||
name: Line Voltage
|
||||
current:
|
||||
name: CT Amps
|
||||
power:
|
||||
name: Active Watts
|
||||
power_factor:
|
||||
name: Power Factor
|
||||
frequency:
|
||||
name: Line Frequency
|
||||
line_frequency: 50Hz
|
||||
meter_constant: 1000
|
||||
pl_const: 1429876
|
||||
gain_pga: 1X
|
||||
gain_metering: 7481
|
||||
gain_voltage: 26400
|
||||
gain_ct: 31251
|
26
tests/components/atm90e26/test.rp2040.yaml
Normal file
26
tests/components/atm90e26/test.rp2040.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
spi:
|
||||
- id: spi_atm90e26
|
||||
clk_pin: 2
|
||||
mosi_pin: 3
|
||||
miso_pin: 4
|
||||
|
||||
sensor:
|
||||
- platform: atm90e26
|
||||
cs_pin: 5
|
||||
voltage:
|
||||
name: Line Voltage
|
||||
current:
|
||||
name: CT Amps
|
||||
power:
|
||||
name: Active Watts
|
||||
power_factor:
|
||||
name: Power Factor
|
||||
frequency:
|
||||
name: Line Frequency
|
||||
line_frequency: 50Hz
|
||||
meter_constant: 1000
|
||||
pl_const: 1429876
|
||||
gain_pga: 1X
|
||||
gain_metering: 7481
|
||||
gain_voltage: 26400
|
||||
gain_ct: 31251
|
Reference in New Issue
Block a user