Add some components to the new testing framework (H) (#6179)

* Add some components to the new testing framework (H)

* Remove C3

* Fix indentation

---------

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Keith Burzinski
2024-04-10 03:57:22 -05:00
committed by GitHub
co-authored by Jesse Hills
parent 1e0f6e139a
commit e59b81612f
117 changed files with 2319 additions and 0 deletions
@@ -0,0 +1,79 @@
uart:
- id: uart_havells_solar
tx_pin: 4
rx_pin: 5
baud_rate: 9600
modbus:
flow_control_pin: 3
sensor:
- platform: havells_solar
update_interval: 60s
phase_a:
voltage:
name: Phase A Voltage
current:
name: Phase A Current
phase_b:
voltage:
name: Voltage Phase B
current:
name: Current Phase B
phase_c:
voltage:
name: Voltage Phase C
current:
name: Current Phase C
pv1:
voltage:
name: PV1 Voltage
current:
name: PV1 Current
active_power:
name: PV1 Active Power
voltage_sampled_by_secondary_cpu:
name: PV1 Voltage Sampled By Secondary CPU
insulation_of_p_to_ground:
name: PV1 Insulation Of +VE To Ground
pv2:
voltage:
name: PV2 Voltage
current:
name: PV2 Current
active_power:
name: PV2 Active Power
voltage_sampled_by_secondary_cpu:
name: PV2 Voltage Sampled By Secondary CPU
insulation_of_p_to_ground:
name: PV2 Insulation Of +VE To Ground
active_power:
name: Active Power
reactive_power:
name: Reactive Power
frequency:
name: Frequency
energy_production_day:
name: Today's Generation
total_energy_production:
name: Total Energy Production
total_generation_time:
name: Total Generation Time
today_generation_time:
name: Today Generation Time
inverter_module_temp:
name: Inverter Module Temp
inverter_inner_temp:
name: Inverter Inner Temp
inverter_bus_voltage:
name: Inverter BUS Voltage
insulation_of_pv_n_to_ground:
name: Insulation Of PV- To Ground
gfci_value:
name: GFCI Value
dci_of_r:
name: DCI Of R
dci_of_s:
name: DCI Of S
dci_of_t:
name: DCI Of T
@@ -0,0 +1,79 @@
uart:
- id: uart_havells_solar
tx_pin: 4
rx_pin: 5
baud_rate: 9600
modbus:
flow_control_pin: 3
sensor:
- platform: havells_solar
update_interval: 60s
phase_a:
voltage:
name: Phase A Voltage
current:
name: Phase A Current
phase_b:
voltage:
name: Voltage Phase B
current:
name: Current Phase B
phase_c:
voltage:
name: Voltage Phase C
current:
name: Current Phase C
pv1:
voltage:
name: PV1 Voltage
current:
name: PV1 Current
active_power:
name: PV1 Active Power
voltage_sampled_by_secondary_cpu:
name: PV1 Voltage Sampled By Secondary CPU
insulation_of_p_to_ground:
name: PV1 Insulation Of +VE To Ground
pv2:
voltage:
name: PV2 Voltage
current:
name: PV2 Current
active_power:
name: PV2 Active Power
voltage_sampled_by_secondary_cpu:
name: PV2 Voltage Sampled By Secondary CPU
insulation_of_p_to_ground:
name: PV2 Insulation Of +VE To Ground
active_power:
name: Active Power
reactive_power:
name: Reactive Power
frequency:
name: Frequency
energy_production_day:
name: Today's Generation
total_energy_production:
name: Total Energy Production
total_generation_time:
name: Total Generation Time
today_generation_time:
name: Today Generation Time
inverter_module_temp:
name: Inverter Module Temp
inverter_inner_temp:
name: Inverter Inner Temp
inverter_bus_voltage:
name: Inverter BUS Voltage
insulation_of_pv_n_to_ground:
name: Insulation Of PV- To Ground
gfci_value:
name: GFCI Value
dci_of_r:
name: DCI Of R
dci_of_s:
name: DCI Of S
dci_of_t:
name: DCI Of T
@@ -0,0 +1,79 @@
uart:
- id: uart_havells_solar
tx_pin: 17
rx_pin: 16
baud_rate: 9600
modbus:
flow_control_pin: 3
sensor:
- platform: havells_solar
update_interval: 60s
phase_a:
voltage:
name: Phase A Voltage
current:
name: Phase A Current
phase_b:
voltage:
name: Voltage Phase B
current:
name: Current Phase B
phase_c:
voltage:
name: Voltage Phase C
current:
name: Current Phase C
pv1:
voltage:
name: PV1 Voltage
current:
name: PV1 Current
active_power:
name: PV1 Active Power
voltage_sampled_by_secondary_cpu:
name: PV1 Voltage Sampled By Secondary CPU
insulation_of_p_to_ground:
name: PV1 Insulation Of +VE To Ground
pv2:
voltage:
name: PV2 Voltage
current:
name: PV2 Current
active_power:
name: PV2 Active Power
voltage_sampled_by_secondary_cpu:
name: PV2 Voltage Sampled By Secondary CPU
insulation_of_p_to_ground:
name: PV2 Insulation Of +VE To Ground
active_power:
name: Active Power
reactive_power:
name: Reactive Power
frequency:
name: Frequency
energy_production_day:
name: Today's Generation
total_energy_production:
name: Total Energy Production
total_generation_time:
name: Total Generation Time
today_generation_time:
name: Today Generation Time
inverter_module_temp:
name: Inverter Module Temp
inverter_inner_temp:
name: Inverter Inner Temp
inverter_bus_voltage:
name: Inverter BUS Voltage
insulation_of_pv_n_to_ground:
name: Insulation Of PV- To Ground
gfci_value:
name: GFCI Value
dci_of_r:
name: DCI Of R
dci_of_s:
name: DCI Of S
dci_of_t:
name: DCI Of T
@@ -0,0 +1,79 @@
uart:
- id: uart_havells_solar
tx_pin: 17
rx_pin: 16
baud_rate: 9600
modbus:
flow_control_pin: 3
sensor:
- platform: havells_solar
update_interval: 60s
phase_a:
voltage:
name: Phase A Voltage
current:
name: Phase A Current
phase_b:
voltage:
name: Voltage Phase B
current:
name: Current Phase B
phase_c:
voltage:
name: Voltage Phase C
current:
name: Current Phase C
pv1:
voltage:
name: PV1 Voltage
current:
name: PV1 Current
active_power:
name: PV1 Active Power
voltage_sampled_by_secondary_cpu:
name: PV1 Voltage Sampled By Secondary CPU
insulation_of_p_to_ground:
name: PV1 Insulation Of +VE To Ground
pv2:
voltage:
name: PV2 Voltage
current:
name: PV2 Current
active_power:
name: PV2 Active Power
voltage_sampled_by_secondary_cpu:
name: PV2 Voltage Sampled By Secondary CPU
insulation_of_p_to_ground:
name: PV2 Insulation Of +VE To Ground
active_power:
name: Active Power
reactive_power:
name: Reactive Power
frequency:
name: Frequency
energy_production_day:
name: Today's Generation
total_energy_production:
name: Total Energy Production
total_generation_time:
name: Total Generation Time
today_generation_time:
name: Today Generation Time
inverter_module_temp:
name: Inverter Module Temp
inverter_inner_temp:
name: Inverter Inner Temp
inverter_bus_voltage:
name: Inverter BUS Voltage
insulation_of_pv_n_to_ground:
name: Insulation Of PV- To Ground
gfci_value:
name: GFCI Value
dci_of_r:
name: DCI Of R
dci_of_s:
name: DCI Of S
dci_of_t:
name: DCI Of T
@@ -0,0 +1,79 @@
uart:
- id: uart_havells_solar
tx_pin: 4
rx_pin: 5
baud_rate: 9600
modbus:
flow_control_pin: 3
sensor:
- platform: havells_solar
update_interval: 60s
phase_a:
voltage:
name: Phase A Voltage
current:
name: Phase A Current
phase_b:
voltage:
name: Voltage Phase B
current:
name: Current Phase B
phase_c:
voltage:
name: Voltage Phase C
current:
name: Current Phase C
pv1:
voltage:
name: PV1 Voltage
current:
name: PV1 Current
active_power:
name: PV1 Active Power
voltage_sampled_by_secondary_cpu:
name: PV1 Voltage Sampled By Secondary CPU
insulation_of_p_to_ground:
name: PV1 Insulation Of +VE To Ground
pv2:
voltage:
name: PV2 Voltage
current:
name: PV2 Current
active_power:
name: PV2 Active Power
voltage_sampled_by_secondary_cpu:
name: PV2 Voltage Sampled By Secondary CPU
insulation_of_p_to_ground:
name: PV2 Insulation Of +VE To Ground
active_power:
name: Active Power
reactive_power:
name: Reactive Power
frequency:
name: Frequency
energy_production_day:
name: Today's Generation
total_energy_production:
name: Total Energy Production
total_generation_time:
name: Total Generation Time
today_generation_time:
name: Today Generation Time
inverter_module_temp:
name: Inverter Module Temp
inverter_inner_temp:
name: Inverter Inner Temp
inverter_bus_voltage:
name: Inverter BUS Voltage
insulation_of_pv_n_to_ground:
name: Insulation Of PV- To Ground
gfci_value:
name: GFCI Value
dci_of_r:
name: DCI Of R
dci_of_s:
name: DCI Of S
dci_of_t:
name: DCI Of T
@@ -0,0 +1,79 @@
uart:
- id: uart_havells_solar
tx_pin: 4
rx_pin: 5
baud_rate: 9600
modbus:
flow_control_pin: 3
sensor:
- platform: havells_solar
update_interval: 60s
phase_a:
voltage:
name: Phase A Voltage
current:
name: Phase A Current
phase_b:
voltage:
name: Voltage Phase B
current:
name: Current Phase B
phase_c:
voltage:
name: Voltage Phase C
current:
name: Current Phase C
pv1:
voltage:
name: PV1 Voltage
current:
name: PV1 Current
active_power:
name: PV1 Active Power
voltage_sampled_by_secondary_cpu:
name: PV1 Voltage Sampled By Secondary CPU
insulation_of_p_to_ground:
name: PV1 Insulation Of +VE To Ground
pv2:
voltage:
name: PV2 Voltage
current:
name: PV2 Current
active_power:
name: PV2 Active Power
voltage_sampled_by_secondary_cpu:
name: PV2 Voltage Sampled By Secondary CPU
insulation_of_p_to_ground:
name: PV2 Insulation Of +VE To Ground
active_power:
name: Active Power
reactive_power:
name: Reactive Power
frequency:
name: Frequency
energy_production_day:
name: Today's Generation
total_energy_production:
name: Total Energy Production
total_generation_time:
name: Total Generation Time
today_generation_time:
name: Today Generation Time
inverter_module_temp:
name: Inverter Module Temp
inverter_inner_temp:
name: Inverter Inner Temp
inverter_bus_voltage:
name: Inverter BUS Voltage
insulation_of_pv_n_to_ground:
name: Insulation Of PV- To Ground
gfci_value:
name: GFCI Value
dci_of_r:
name: DCI Of R
dci_of_s:
name: DCI Of S
dci_of_t:
name: DCI Of T
@@ -0,0 +1,33 @@
output:
- platform: ledc
pin: 4
id: gpio_output1
- platform: ledc
pin: 5
id: gpio_output2
- platform: ledc
pin: 6
id: gpio_output3
- platform: ledc
pin: 7
id: gpio_output4
light:
- platform: hbridge
name: Icicle Lights
pin_a: gpio_output3
pin_b: gpio_output4
fan:
- platform: hbridge
id: fan_hbridge
speed_count: 4
name: H-bridge Fan with Presets
pin_a: gpio_output1
pin_b: gpio_output2
preset_modes:
- Preset 1
- Preset 2
on_preset_set:
then:
- logger.log: Preset mode was changed!
@@ -0,0 +1,33 @@
output:
- platform: ledc
pin: 4
id: gpio_output1
- platform: ledc
pin: 5
id: gpio_output2
- platform: ledc
pin: 6
id: gpio_output3
- platform: ledc
pin: 7
id: gpio_output4
light:
- platform: hbridge
name: Icicle Lights
pin_a: gpio_output3
pin_b: gpio_output4
fan:
- platform: hbridge
id: fan_hbridge
speed_count: 4
name: H-bridge Fan with Presets
pin_a: gpio_output1
pin_b: gpio_output2
preset_modes:
- Preset 1
- Preset 2
on_preset_set:
then:
- logger.log: Preset mode was changed!
@@ -0,0 +1,33 @@
output:
- platform: ledc
pin: 14
id: gpio_output1
- platform: ledc
pin: 15
id: gpio_output2
- platform: ledc
pin: 12
id: gpio_output3
- platform: ledc
pin: 13
id: gpio_output4
light:
- platform: hbridge
name: Icicle Lights
pin_a: gpio_output3
pin_b: gpio_output4
fan:
- platform: hbridge
id: fan_hbridge
speed_count: 4
name: H-bridge Fan with Presets
pin_a: gpio_output1
pin_b: gpio_output2
preset_modes:
- Preset 1
- Preset 2
on_preset_set:
then:
- logger.log: Preset mode was changed!
+33
View File
@@ -0,0 +1,33 @@
output:
- platform: ledc
pin: 14
id: gpio_output1
- platform: ledc
pin: 15
id: gpio_output2
- platform: ledc
pin: 12
id: gpio_output3
- platform: ledc
pin: 13
id: gpio_output4
light:
- platform: hbridge
name: Icicle Lights
pin_a: gpio_output3
pin_b: gpio_output4
fan:
- platform: hbridge
id: fan_hbridge
speed_count: 4
name: H-bridge Fan with Presets
pin_a: gpio_output1
pin_b: gpio_output2
preset_modes:
- Preset 1
- Preset 2
on_preset_set:
then:
- logger.log: Preset mode was changed!
@@ -0,0 +1,33 @@
output:
- platform: esp8266_pwm
pin: 4
id: gpio_output1
- platform: esp8266_pwm
pin: 5
id: gpio_output2
- platform: esp8266_pwm
pin: 12
id: gpio_output3
- platform: esp8266_pwm
pin: 13
id: gpio_output4
light:
- platform: hbridge
name: Icicle Lights
pin_a: gpio_output3
pin_b: gpio_output4
fan:
- platform: hbridge
id: fan_hbridge
speed_count: 4
name: H-bridge Fan with Presets
pin_a: gpio_output1
pin_b: gpio_output2
preset_modes:
- Preset 1
- Preset 2
on_preset_set:
then:
- logger.log: Preset mode was changed!
+33
View File
@@ -0,0 +1,33 @@
output:
- platform: rp2040_pwm
pin: 4
id: gpio_output1
- platform: rp2040_pwm
pin: 5
id: gpio_output2
- platform: rp2040_pwm
pin: 6
id: gpio_output3
- platform: rp2040_pwm
pin: 7
id: gpio_output4
light:
- platform: hbridge
name: Icicle Lights
pin_a: gpio_output3
pin_b: gpio_output4
fan:
- platform: hbridge
id: fan_hbridge
speed_count: 4
name: H-bridge Fan with Presets
pin_a: gpio_output1
pin_b: gpio_output2
preset_modes:
- Preset 1
- Preset 2
on_preset_set:
then:
- logger.log: Preset mode was changed!
@@ -0,0 +1,12 @@
i2c:
- id: i2c_hdc1080
scl: 5
sda: 4
sensor:
- platform: hdc1080
temperature:
name: Temperature
humidity:
name: Humidity
update_interval: 15s
@@ -0,0 +1,12 @@
i2c:
- id: i2c_hdc1080
scl: 5
sda: 4
sensor:
- platform: hdc1080
temperature:
name: Temperature
humidity:
name: Humidity
update_interval: 15s
@@ -0,0 +1,12 @@
i2c:
- id: i2c_hdc1080
scl: 16
sda: 17
sensor:
- platform: hdc1080
temperature:
name: Temperature
humidity:
name: Humidity
update_interval: 15s
+12
View File
@@ -0,0 +1,12 @@
i2c:
- id: i2c_hdc1080
scl: 16
sda: 17
sensor:
- platform: hdc1080
temperature:
name: Temperature
humidity:
name: Humidity
update_interval: 15s
@@ -0,0 +1,12 @@
i2c:
- id: i2c_hdc1080
scl: 5
sda: 4
sensor:
- platform: hdc1080
temperature:
name: Temperature
humidity:
name: Humidity
update_interval: 15s
+12
View File
@@ -0,0 +1,12 @@
i2c:
- id: i2c_hdc1080
scl: 5
sda: 4
sensor:
- platform: hdc1080
temperature:
name: Temperature
humidity:
name: Humidity
update_interval: 15s
@@ -0,0 +1,13 @@
uart:
- id: uart_he60r
tx_pin: 4
rx_pin: 5
baud_rate: 1200
parity: EVEN
cover:
- platform: he60r
id: garage_door
name: Garage Door
open_duration: 14s
close_duration: 14s
+13
View File
@@ -0,0 +1,13 @@
uart:
- id: uart_he60r
tx_pin: 4
rx_pin: 5
baud_rate: 1200
parity: EVEN
cover:
- platform: he60r
id: garage_door
name: Garage Door
open_duration: 14s
close_duration: 14s

Some files were not shown because too many files have changed in this diff Show More