mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 10:52:19 +01:00
[CI] Consolidate some tests (G) (#8196)
This commit is contained in:
62
tests/components/growatt_solar/common.yaml
Normal file
62
tests/components/growatt_solar/common.yaml
Normal file
@@ -0,0 +1,62 @@
|
||||
uart:
|
||||
- id: uart_growatt_solar
|
||||
tx_pin: ${tx_pin}
|
||||
rx_pin: ${rx_pin}
|
||||
baud_rate: 9600
|
||||
|
||||
modbus:
|
||||
flow_control_pin: ${flow_control_pin}
|
||||
|
||||
sensor:
|
||||
- platform: growatt_solar
|
||||
update_interval: 10s
|
||||
protocol_version: RTU
|
||||
inverter_status:
|
||||
name: Growatt Status Code
|
||||
phase_a:
|
||||
voltage:
|
||||
name: Growatt Voltage Phase A
|
||||
current:
|
||||
name: Growatt Current Phase A
|
||||
active_power:
|
||||
name: Growatt Power Phase A
|
||||
phase_b:
|
||||
voltage:
|
||||
name: Growatt Voltage Phase B
|
||||
current:
|
||||
name: Growatt Current Phase B
|
||||
active_power:
|
||||
name: Growatt Power Phase B
|
||||
phase_c:
|
||||
voltage:
|
||||
name: Growatt Voltage Phase C
|
||||
current:
|
||||
name: Growatt Current Phase C
|
||||
active_power:
|
||||
name: Growatt Power Phase C
|
||||
pv1:
|
||||
voltage:
|
||||
name: Growatt PV1 Voltage
|
||||
current:
|
||||
name: Growatt PV1 Current
|
||||
active_power:
|
||||
name: Growatt PV1 Active Power
|
||||
pv2:
|
||||
voltage:
|
||||
name: Growatt PV2 Voltage
|
||||
current:
|
||||
name: Growatt PV2 Current
|
||||
active_power:
|
||||
name: Growatt PV2 Active Power
|
||||
active_power:
|
||||
name: Growatt Grid Active Power
|
||||
pv_active_power:
|
||||
name: Growatt PV Active Power
|
||||
frequency:
|
||||
name: Growatt Frequency
|
||||
energy_production_day:
|
||||
name: Growatt Today's Generation
|
||||
total_energy_production:
|
||||
name: Growatt Total Energy Production
|
||||
inverter_module_temp:
|
||||
name: Growatt Inverter Module Temp
|
@@ -1,62 +1,6 @@
|
||||
uart:
|
||||
- id: uart_growatt_solar
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 9600
|
||||
substitutions:
|
||||
tx_pin: GPIO12
|
||||
rx_pin: GPIO14
|
||||
flow_control_pin: GPIO13
|
||||
|
||||
modbus:
|
||||
flow_control_pin: 13
|
||||
|
||||
sensor:
|
||||
- platform: growatt_solar
|
||||
update_interval: 10s
|
||||
protocol_version: RTU
|
||||
inverter_status:
|
||||
name: Growatt Status Code
|
||||
phase_a:
|
||||
voltage:
|
||||
name: Growatt Voltage Phase A
|
||||
current:
|
||||
name: Growatt Current Phase A
|
||||
active_power:
|
||||
name: Growatt Power Phase A
|
||||
phase_b:
|
||||
voltage:
|
||||
name: Growatt Voltage Phase B
|
||||
current:
|
||||
name: Growatt Current Phase B
|
||||
active_power:
|
||||
name: Growatt Power Phase B
|
||||
phase_c:
|
||||
voltage:
|
||||
name: Growatt Voltage Phase C
|
||||
current:
|
||||
name: Growatt Current Phase C
|
||||
active_power:
|
||||
name: Growatt Power Phase C
|
||||
pv1:
|
||||
voltage:
|
||||
name: Growatt PV1 Voltage
|
||||
current:
|
||||
name: Growatt PV1 Current
|
||||
active_power:
|
||||
name: Growatt PV1 Active Power
|
||||
pv2:
|
||||
voltage:
|
||||
name: Growatt PV2 Voltage
|
||||
current:
|
||||
name: Growatt PV2 Current
|
||||
active_power:
|
||||
name: Growatt PV2 Active Power
|
||||
active_power:
|
||||
name: Growatt Grid Active Power
|
||||
pv_active_power:
|
||||
name: Growatt PV Active Power
|
||||
frequency:
|
||||
name: Growatt Frequency
|
||||
energy_production_day:
|
||||
name: Growatt Today's Generation
|
||||
total_energy_production:
|
||||
name: Growatt Total Energy Production
|
||||
inverter_module_temp:
|
||||
name: Growatt Inverter Module Temp
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,62 +1,6 @@
|
||||
uart:
|
||||
- id: uart_growatt_solar
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
substitutions:
|
||||
tx_pin: GPIO4
|
||||
rx_pin: GPIO5
|
||||
flow_control_pin: GPIO3
|
||||
|
||||
modbus:
|
||||
flow_control_pin: 3
|
||||
|
||||
sensor:
|
||||
- platform: growatt_solar
|
||||
update_interval: 10s
|
||||
protocol_version: RTU
|
||||
inverter_status:
|
||||
name: Growatt Status Code
|
||||
phase_a:
|
||||
voltage:
|
||||
name: Growatt Voltage Phase A
|
||||
current:
|
||||
name: Growatt Current Phase A
|
||||
active_power:
|
||||
name: Growatt Power Phase A
|
||||
phase_b:
|
||||
voltage:
|
||||
name: Growatt Voltage Phase B
|
||||
current:
|
||||
name: Growatt Current Phase B
|
||||
active_power:
|
||||
name: Growatt Power Phase B
|
||||
phase_c:
|
||||
voltage:
|
||||
name: Growatt Voltage Phase C
|
||||
current:
|
||||
name: Growatt Current Phase C
|
||||
active_power:
|
||||
name: Growatt Power Phase C
|
||||
pv1:
|
||||
voltage:
|
||||
name: Growatt PV1 Voltage
|
||||
current:
|
||||
name: Growatt PV1 Current
|
||||
active_power:
|
||||
name: Growatt PV1 Active Power
|
||||
pv2:
|
||||
voltage:
|
||||
name: Growatt PV2 Voltage
|
||||
current:
|
||||
name: Growatt PV2 Current
|
||||
active_power:
|
||||
name: Growatt PV2 Active Power
|
||||
active_power:
|
||||
name: Growatt Grid Active Power
|
||||
pv_active_power:
|
||||
name: Growatt PV Active Power
|
||||
frequency:
|
||||
name: Growatt Frequency
|
||||
energy_production_day:
|
||||
name: Growatt Today's Generation
|
||||
total_energy_production:
|
||||
name: Growatt Total Energy Production
|
||||
inverter_module_temp:
|
||||
name: Growatt Inverter Module Temp
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,62 +1,6 @@
|
||||
uart:
|
||||
- id: uart_growatt_solar
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
substitutions:
|
||||
tx_pin: GPIO4
|
||||
rx_pin: GPIO5
|
||||
flow_control_pin: GPIO3
|
||||
|
||||
modbus:
|
||||
flow_control_pin: 3
|
||||
|
||||
sensor:
|
||||
- platform: growatt_solar
|
||||
update_interval: 10s
|
||||
protocol_version: RTU
|
||||
inverter_status:
|
||||
name: Growatt Status Code
|
||||
phase_a:
|
||||
voltage:
|
||||
name: Growatt Voltage Phase A
|
||||
current:
|
||||
name: Growatt Current Phase A
|
||||
active_power:
|
||||
name: Growatt Power Phase A
|
||||
phase_b:
|
||||
voltage:
|
||||
name: Growatt Voltage Phase B
|
||||
current:
|
||||
name: Growatt Current Phase B
|
||||
active_power:
|
||||
name: Growatt Power Phase B
|
||||
phase_c:
|
||||
voltage:
|
||||
name: Growatt Voltage Phase C
|
||||
current:
|
||||
name: Growatt Current Phase C
|
||||
active_power:
|
||||
name: Growatt Power Phase C
|
||||
pv1:
|
||||
voltage:
|
||||
name: Growatt PV1 Voltage
|
||||
current:
|
||||
name: Growatt PV1 Current
|
||||
active_power:
|
||||
name: Growatt PV1 Active Power
|
||||
pv2:
|
||||
voltage:
|
||||
name: Growatt PV2 Voltage
|
||||
current:
|
||||
name: Growatt PV2 Current
|
||||
active_power:
|
||||
name: Growatt PV2 Active Power
|
||||
active_power:
|
||||
name: Growatt Grid Active Power
|
||||
pv_active_power:
|
||||
name: Growatt PV Active Power
|
||||
frequency:
|
||||
name: Growatt Frequency
|
||||
energy_production_day:
|
||||
name: Growatt Today's Generation
|
||||
total_energy_production:
|
||||
name: Growatt Total Energy Production
|
||||
inverter_module_temp:
|
||||
name: Growatt Inverter Module Temp
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,62 +1,6 @@
|
||||
uart:
|
||||
- id: uart_growatt_solar
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 9600
|
||||
substitutions:
|
||||
tx_pin: GPIO12
|
||||
rx_pin: GPIO14
|
||||
flow_control_pin: GPIO13
|
||||
|
||||
modbus:
|
||||
flow_control_pin: 13
|
||||
|
||||
sensor:
|
||||
- platform: growatt_solar
|
||||
update_interval: 10s
|
||||
protocol_version: RTU
|
||||
inverter_status:
|
||||
name: Growatt Status Code
|
||||
phase_a:
|
||||
voltage:
|
||||
name: Growatt Voltage Phase A
|
||||
current:
|
||||
name: Growatt Current Phase A
|
||||
active_power:
|
||||
name: Growatt Power Phase A
|
||||
phase_b:
|
||||
voltage:
|
||||
name: Growatt Voltage Phase B
|
||||
current:
|
||||
name: Growatt Current Phase B
|
||||
active_power:
|
||||
name: Growatt Power Phase B
|
||||
phase_c:
|
||||
voltage:
|
||||
name: Growatt Voltage Phase C
|
||||
current:
|
||||
name: Growatt Current Phase C
|
||||
active_power:
|
||||
name: Growatt Power Phase C
|
||||
pv1:
|
||||
voltage:
|
||||
name: Growatt PV1 Voltage
|
||||
current:
|
||||
name: Growatt PV1 Current
|
||||
active_power:
|
||||
name: Growatt PV1 Active Power
|
||||
pv2:
|
||||
voltage:
|
||||
name: Growatt PV2 Voltage
|
||||
current:
|
||||
name: Growatt PV2 Current
|
||||
active_power:
|
||||
name: Growatt PV2 Active Power
|
||||
active_power:
|
||||
name: Growatt Grid Active Power
|
||||
pv_active_power:
|
||||
name: Growatt PV Active Power
|
||||
frequency:
|
||||
name: Growatt Frequency
|
||||
energy_production_day:
|
||||
name: Growatt Today's Generation
|
||||
total_energy_production:
|
||||
name: Growatt Total Energy Production
|
||||
inverter_module_temp:
|
||||
name: Growatt Inverter Module Temp
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,62 +1,6 @@
|
||||
uart:
|
||||
- id: uart_growatt_solar
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
substitutions:
|
||||
tx_pin: GPIO4
|
||||
rx_pin: GPIO5
|
||||
flow_control_pin: GPIO13
|
||||
|
||||
modbus:
|
||||
flow_control_pin: 13
|
||||
|
||||
sensor:
|
||||
- platform: growatt_solar
|
||||
update_interval: 10s
|
||||
protocol_version: RTU
|
||||
inverter_status:
|
||||
name: Growatt Status Code
|
||||
phase_a:
|
||||
voltage:
|
||||
name: Growatt Voltage Phase A
|
||||
current:
|
||||
name: Growatt Current Phase A
|
||||
active_power:
|
||||
name: Growatt Power Phase A
|
||||
phase_b:
|
||||
voltage:
|
||||
name: Growatt Voltage Phase B
|
||||
current:
|
||||
name: Growatt Current Phase B
|
||||
active_power:
|
||||
name: Growatt Power Phase B
|
||||
phase_c:
|
||||
voltage:
|
||||
name: Growatt Voltage Phase C
|
||||
current:
|
||||
name: Growatt Current Phase C
|
||||
active_power:
|
||||
name: Growatt Power Phase C
|
||||
pv1:
|
||||
voltage:
|
||||
name: Growatt PV1 Voltage
|
||||
current:
|
||||
name: Growatt PV1 Current
|
||||
active_power:
|
||||
name: Growatt PV1 Active Power
|
||||
pv2:
|
||||
voltage:
|
||||
name: Growatt PV2 Voltage
|
||||
current:
|
||||
name: Growatt PV2 Current
|
||||
active_power:
|
||||
name: Growatt PV2 Active Power
|
||||
active_power:
|
||||
name: Growatt Grid Active Power
|
||||
pv_active_power:
|
||||
name: Growatt PV Active Power
|
||||
frequency:
|
||||
name: Growatt Frequency
|
||||
energy_production_day:
|
||||
name: Growatt Today's Generation
|
||||
total_energy_production:
|
||||
name: Growatt Total Energy Production
|
||||
inverter_module_temp:
|
||||
name: Growatt Inverter Module Temp
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,62 +1,6 @@
|
||||
uart:
|
||||
- id: uart_growatt_solar
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
substitutions:
|
||||
tx_pin: GPIO4
|
||||
rx_pin: GPIO5
|
||||
flow_control_pin: GPIO3
|
||||
|
||||
modbus:
|
||||
flow_control_pin: 3
|
||||
|
||||
sensor:
|
||||
- platform: growatt_solar
|
||||
update_interval: 10s
|
||||
protocol_version: RTU
|
||||
inverter_status:
|
||||
name: Growatt Status Code
|
||||
phase_a:
|
||||
voltage:
|
||||
name: Growatt Voltage Phase A
|
||||
current:
|
||||
name: Growatt Current Phase A
|
||||
active_power:
|
||||
name: Growatt Power Phase A
|
||||
phase_b:
|
||||
voltage:
|
||||
name: Growatt Voltage Phase B
|
||||
current:
|
||||
name: Growatt Current Phase B
|
||||
active_power:
|
||||
name: Growatt Power Phase B
|
||||
phase_c:
|
||||
voltage:
|
||||
name: Growatt Voltage Phase C
|
||||
current:
|
||||
name: Growatt Current Phase C
|
||||
active_power:
|
||||
name: Growatt Power Phase C
|
||||
pv1:
|
||||
voltage:
|
||||
name: Growatt PV1 Voltage
|
||||
current:
|
||||
name: Growatt PV1 Current
|
||||
active_power:
|
||||
name: Growatt PV1 Active Power
|
||||
pv2:
|
||||
voltage:
|
||||
name: Growatt PV2 Voltage
|
||||
current:
|
||||
name: Growatt PV2 Current
|
||||
active_power:
|
||||
name: Growatt PV2 Active Power
|
||||
active_power:
|
||||
name: Growatt Grid Active Power
|
||||
pv_active_power:
|
||||
name: Growatt PV Active Power
|
||||
frequency:
|
||||
name: Growatt Frequency
|
||||
energy_production_day:
|
||||
name: Growatt Today's Generation
|
||||
total_energy_production:
|
||||
name: Growatt Total Energy Production
|
||||
inverter_module_temp:
|
||||
name: Growatt Inverter Module Temp
|
||||
<<: !include common.yaml
|
||||
|
Reference in New Issue
Block a user