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 (I) (#6185)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
19
tests/components/ina3221/test.esp32-c3-idf.yaml
Normal file
19
tests/components/ina3221/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
i2c:
|
||||
- id: i2c_ina3221
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ina3221
|
||||
address: 0x40
|
||||
channel_1:
|
||||
shunt_resistance: 0.1 ohm
|
||||
current:
|
||||
name: INA3221 Channel 1 Current
|
||||
power:
|
||||
name: INA3221 Channel 1 Power
|
||||
bus_voltage:
|
||||
name: INA3221 Channel 1 Bus Voltage
|
||||
shunt_voltage:
|
||||
name: INA3221 Channel 1 Shunt Voltage
|
||||
update_interval: 15s
|
19
tests/components/ina3221/test.esp32-c3.yaml
Normal file
19
tests/components/ina3221/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
i2c:
|
||||
- id: i2c_ina3221
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ina3221
|
||||
address: 0x40
|
||||
channel_1:
|
||||
shunt_resistance: 0.1 ohm
|
||||
current:
|
||||
name: INA3221 Channel 1 Current
|
||||
power:
|
||||
name: INA3221 Channel 1 Power
|
||||
bus_voltage:
|
||||
name: INA3221 Channel 1 Bus Voltage
|
||||
shunt_voltage:
|
||||
name: INA3221 Channel 1 Shunt Voltage
|
||||
update_interval: 15s
|
19
tests/components/ina3221/test.esp32-idf.yaml
Normal file
19
tests/components/ina3221/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
i2c:
|
||||
- id: i2c_ina3221
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: ina3221
|
||||
address: 0x40
|
||||
channel_1:
|
||||
shunt_resistance: 0.1 ohm
|
||||
current:
|
||||
name: INA3221 Channel 1 Current
|
||||
power:
|
||||
name: INA3221 Channel 1 Power
|
||||
bus_voltage:
|
||||
name: INA3221 Channel 1 Bus Voltage
|
||||
shunt_voltage:
|
||||
name: INA3221 Channel 1 Shunt Voltage
|
||||
update_interval: 15s
|
19
tests/components/ina3221/test.esp32.yaml
Normal file
19
tests/components/ina3221/test.esp32.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
i2c:
|
||||
- id: i2c_ina3221
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: ina3221
|
||||
address: 0x40
|
||||
channel_1:
|
||||
shunt_resistance: 0.1 ohm
|
||||
current:
|
||||
name: INA3221 Channel 1 Current
|
||||
power:
|
||||
name: INA3221 Channel 1 Power
|
||||
bus_voltage:
|
||||
name: INA3221 Channel 1 Bus Voltage
|
||||
shunt_voltage:
|
||||
name: INA3221 Channel 1 Shunt Voltage
|
||||
update_interval: 15s
|
19
tests/components/ina3221/test.esp8266.yaml
Normal file
19
tests/components/ina3221/test.esp8266.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
i2c:
|
||||
- id: i2c_ina3221
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ina3221
|
||||
address: 0x40
|
||||
channel_1:
|
||||
shunt_resistance: 0.1 ohm
|
||||
current:
|
||||
name: INA3221 Channel 1 Current
|
||||
power:
|
||||
name: INA3221 Channel 1 Power
|
||||
bus_voltage:
|
||||
name: INA3221 Channel 1 Bus Voltage
|
||||
shunt_voltage:
|
||||
name: INA3221 Channel 1 Shunt Voltage
|
||||
update_interval: 15s
|
19
tests/components/ina3221/test.rp2040.yaml
Normal file
19
tests/components/ina3221/test.rp2040.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
i2c:
|
||||
- id: i2c_ina3221
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ina3221
|
||||
address: 0x40
|
||||
channel_1:
|
||||
shunt_resistance: 0.1 ohm
|
||||
current:
|
||||
name: INA3221 Channel 1 Current
|
||||
power:
|
||||
name: INA3221 Channel 1 Power
|
||||
bus_voltage:
|
||||
name: INA3221 Channel 1 Bus Voltage
|
||||
shunt_voltage:
|
||||
name: INA3221 Channel 1 Shunt Voltage
|
||||
update_interval: 15s
|
Reference in New Issue
Block a user