[CI] Consolidate some tests (H) (#8198)

This commit is contained in:
Keith Burzinski
2025-02-04 17:05:50 -06:00
committed by GitHub
parent 211aee91e5
commit f8fae676b1
131 changed files with 813 additions and 1809 deletions
@@ -0,0 +1,79 @@
uart:
- id: uart_havells_solar
tx_pin: ${tx_pin}
rx_pin: ${rx_pin}
baud_rate: 9600
modbus:
flow_control_pin: ${flow_control_pin}
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
@@ -1,79 +1,6 @@
uart: substitutions:
- id: uart_havells_solar tx_pin: GPIO12
tx_pin: 17 rx_pin: GPIO14
rx_pin: 16 flow_control_pin: GPIO13
baud_rate: 9600
modbus: <<: !include common.yaml
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
@@ -1,79 +1,6 @@
uart: substitutions:
- id: uart_havells_solar tx_pin: GPIO4
tx_pin: 4 rx_pin: GPIO5
rx_pin: 5 flow_control_pin: GPIO3
baud_rate: 9600
modbus: <<: !include common.yaml
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
@@ -1,79 +1,6 @@
uart: substitutions:
- id: uart_havells_solar tx_pin: GPIO4
tx_pin: 4 rx_pin: GPIO5
rx_pin: 5 flow_control_pin: GPIO3
baud_rate: 9600
modbus: <<: !include common.yaml
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
@@ -1,79 +1,6 @@
uart: substitutions:
- id: uart_havells_solar tx_pin: GPIO12
tx_pin: 17 rx_pin: GPIO14
rx_pin: 16 flow_control_pin: GPIO13
baud_rate: 9600
modbus: <<: !include common.yaml
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
@@ -1,79 +1,6 @@
uart: substitutions:
- id: uart_havells_solar tx_pin: GPIO4
tx_pin: 4 rx_pin: GPIO5
rx_pin: 5 flow_control_pin: GPIO13
baud_rate: 9600
modbus: <<: !include common.yaml
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
@@ -1,79 +1,6 @@
uart: substitutions:
- id: uart_havells_solar tx_pin: GPIO4
tx_pin: 4 rx_pin: GPIO5
rx_pin: 5 flow_control_pin: GPIO3
baud_rate: 9600
modbus: <<: !include common.yaml
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
+12
View File
@@ -0,0 +1,12 @@
i2c:
- id: i2c_hdc1080
scl: ${scl_pin}
sda: ${sda_pin}
sensor:
- platform: hdc1080
temperature:
name: Temperature
humidity:
name: Humidity
update_interval: 15s
+4 -11
View File
@@ -1,12 +1,5 @@
i2c: substitutions:
- id: i2c_hdc1080 scl_pin: GPIO16
scl: 16 sda_pin: GPIO17
sda: 17
sensor: <<: !include common.yaml
- platform: hdc1080
temperature:
name: Temperature
humidity:
name: Humidity
update_interval: 15s
@@ -1,12 +1,5 @@
i2c: substitutions:
- id: i2c_hdc1080 scl_pin: GPIO5
scl: 5 sda_pin: GPIO4
sda: 4
sensor: <<: !include common.yaml
- platform: hdc1080
temperature:
name: Temperature
humidity:
name: Humidity
update_interval: 15s
@@ -1,12 +1,5 @@
i2c: substitutions:
- id: i2c_hdc1080 scl_pin: GPIO5
scl: 5 sda_pin: GPIO4
sda: 4
sensor: <<: !include common.yaml
- platform: hdc1080
temperature:
name: Temperature
humidity:
name: Humidity
update_interval: 15s
+4 -11
View File
@@ -1,12 +1,5 @@
i2c: substitutions:
- id: i2c_hdc1080 scl_pin: GPIO16
scl: 16 sda_pin: GPIO17
sda: 17
sensor: <<: !include common.yaml
- platform: hdc1080
temperature:
name: Temperature
humidity:
name: Humidity
update_interval: 15s
+4 -11
View File
@@ -1,12 +1,5 @@
i2c: substitutions:
- id: i2c_hdc1080 scl_pin: GPIO5
scl: 5 sda_pin: GPIO4
sda: 4
sensor: <<: !include common.yaml
- platform: hdc1080
temperature:
name: Temperature
humidity:
name: Humidity
update_interval: 15s
+4 -11
View File
@@ -1,12 +1,5 @@
i2c: substitutions:
- id: i2c_hdc1080 scl_pin: GPIO5
scl: 5 sda_pin: GPIO4
sda: 4
sensor: <<: !include common.yaml
- platform: hdc1080
temperature:
name: Temperature
humidity:
name: Humidity
update_interval: 15s
+13
View File
@@ -0,0 +1,13 @@
uart:
- id: uart_he60r
tx_pin: ${tx_pin}
rx_pin: ${rx_pin}
baud_rate: 1200
parity: EVEN
cover:
- platform: he60r
id: garage_door
name: Garage Door
open_duration: 14s
close_duration: 14s
+4 -12
View File
@@ -1,13 +1,5 @@
uart: substitutions:
- id: uart_he60r tx_pin: GPIO17
tx_pin: 17 rx_pin: GPIO16
rx_pin: 16
baud_rate: 1200
parity: EVEN
cover: <<: !include common.yaml
- platform: he60r
id: garage_door
name: Garage Door
open_duration: 14s
close_duration: 14s
+4 -12
View File
@@ -1,13 +1,5 @@
uart: substitutions:
- id: uart_he60r tx_pin: GPIO4
tx_pin: 4 rx_pin: GPIO5
rx_pin: 5
baud_rate: 1200
parity: EVEN
cover: <<: !include common.yaml
- platform: he60r
id: garage_door
name: Garage Door
open_duration: 14s
close_duration: 14s
+4 -12
View File
@@ -1,13 +1,5 @@
uart: substitutions:
- id: uart_he60r tx_pin: GPIO4
tx_pin: 4 rx_pin: GPIO5
rx_pin: 5
baud_rate: 1200
parity: EVEN
cover: <<: !include common.yaml
- platform: he60r
id: garage_door
name: Garage Door
open_duration: 14s
close_duration: 14s
+4 -12
View File
@@ -1,13 +1,5 @@
uart: substitutions:
- id: uart_he60r tx_pin: GPIO17
tx_pin: 17 rx_pin: GPIO16
rx_pin: 16
baud_rate: 1200
parity: EVEN
cover: <<: !include common.yaml
- platform: he60r
id: garage_door
name: Garage Door
open_duration: 14s
close_duration: 14s
+4 -12
View File
@@ -1,13 +1,5 @@
uart: substitutions:
- id: uart_he60r tx_pin: GPIO4
tx_pin: 4 rx_pin: GPIO5
rx_pin: 5
baud_rate: 1200
parity: EVEN
cover: <<: !include common.yaml
- platform: he60r
id: garage_door
name: Garage Door
open_duration: 14s
close_duration: 14s
+4 -12
View File
@@ -1,13 +1,5 @@
uart: substitutions:
- id: uart_he60r tx_pin: GPIO4
tx_pin: 4 rx_pin: GPIO5
rx_pin: 5
baud_rate: 1200
parity: EVEN
cover: <<: !include common.yaml
- platform: he60r
id: garage_door
name: Garage Door
open_duration: 14s
close_duration: 14s
+26
View File
@@ -0,0 +1,26 @@
remote_transmitter:
pin: ${pin}
carrier_duty_percent: 50%
climate:
- platform: heatpumpir
protocol: mitsubishi_heavy_zm
horizontal_default: left
vertical_default: up
name: HeatpumpIR Climate
min_temperature: 18
max_temperature: 30
- platform: heatpumpir
protocol: daikin
horizontal_default: mleft
vertical_default: mup
name: HeatpumpIR Climate
min_temperature: 18
max_temperature: 30
- platform: heatpumpir
protocol: panasonic_altdke
horizontal_default: mright
vertical_default: mdown
name: HeatpumpIR Climate
min_temperature: 18
max_temperature: 30
@@ -1,26 +1,4 @@
remote_transmitter: substitutions:
pin: 6 pin: GPIO6
carrier_duty_percent: 50%
climate: <<: !include common.yaml
- platform: heatpumpir
protocol: mitsubishi_heavy_zm
horizontal_default: left
vertical_default: up
name: HeatpumpIR Climate
min_temperature: 18
max_temperature: 30
- platform: heatpumpir
protocol: daikin
horizontal_default: mleft
vertical_default: mup
name: HeatpumpIR Climate
min_temperature: 18
max_temperature: 30
- platform: heatpumpir
protocol: panasonic_altdke
horizontal_default: mright
vertical_default: mdown
name: HeatpumpIR Climate
min_temperature: 18
max_temperature: 30
@@ -1,19 +1,4 @@
remote_transmitter: substitutions:
pin: 2 pin: GPIO2
carrier_duty_percent: 50%
climate: <<: !include common.yaml
- platform: heatpumpir
protocol: mitsubishi_heavy_zm
horizontal_default: left
vertical_default: up
name: HeatpumpIR Climate
min_temperature: 18
max_temperature: 30
- platform: heatpumpir
protocol: greeyt
horizontal_default: left
vertical_default: up
name: HeatpumpIR Climate
min_temperature: 18
max_temperature: 30
@@ -0,0 +1,4 @@
substitutions:
pin: GPIO2
<<: !include common.yaml
@@ -1,19 +1,4 @@
remote_transmitter: substitutions:
pin: 5 pin: GPIO5
carrier_duty_percent: 50%
climate: <<: !include common.yaml
- platform: heatpumpir
protocol: mitsubishi_heavy_zm
horizontal_default: left
vertical_default: up
name: HeatpumpIR Climate
min_temperature: 18
max_temperature: 30
- platform: heatpumpir
protocol: greeyt
horizontal_default: left
vertical_default: up
name: HeatpumpIR Climate
min_temperature: 18
max_temperature: 30
@@ -0,0 +1,7 @@
remote_transmitter:
pin: ${pin}
carrier_duty_percent: 50%
climate:
- platform: hitachi_ac344
name: Hitachi Climate
@@ -0,0 +1,4 @@
substitutions:
pin: GPIO6
<<: !include common.yaml
@@ -1,7 +1,4 @@
remote_transmitter: substitutions:
pin: 2 pin: GPIO2
carrier_duty_percent: 50%
climate: <<: !include common.yaml
- platform: hitachi_ac344
name: Hitachi Climate
@@ -1,7 +1,4 @@
remote_transmitter: substitutions:
pin: 2 pin: GPIO2
carrier_duty_percent: 50%
climate: <<: !include common.yaml
- platform: hitachi_ac344
name: Hitachi Climate
@@ -1,7 +1,4 @@
remote_transmitter: substitutions:
pin: 2 pin: GPIO2
carrier_duty_percent: 50%
climate: <<: !include common.yaml
- platform: hitachi_ac344
name: Hitachi Climate
@@ -1,7 +1,4 @@
remote_transmitter: substitutions:
pin: 2 pin: GPIO2
carrier_duty_percent: 50%
climate: <<: !include common.yaml
- platform: hitachi_ac344
name: Hitachi Climate
@@ -1,7 +1,4 @@
remote_transmitter: substitutions:
pin: 5 pin: GPIO5
carrier_duty_percent: 50%
climate: <<: !include common.yaml
- platform: hitachi_ac344
name: Hitachi Climate
@@ -0,0 +1,7 @@
remote_transmitter:
pin: ${pin}
carrier_duty_percent: 50%
climate:
- platform: hitachi_ac424
name: Hitachi Climate
@@ -0,0 +1,4 @@
substitutions:
pin: GPIO6
<<: !include common.yaml
@@ -1,7 +1,4 @@
remote_transmitter: substitutions:
pin: 2 pin: GPIO2
carrier_duty_percent: 50%
climate: <<: !include common.yaml
- platform: hitachi_ac424
name: Hitachi Climate
@@ -1,7 +1,4 @@
remote_transmitter: substitutions:
pin: 2 pin: GPIO2
carrier_duty_percent: 50%
climate: <<: !include common.yaml
- platform: hitachi_ac424
name: Hitachi Climate
@@ -1,7 +1,4 @@
remote_transmitter: substitutions:
pin: 2 pin: GPIO2
carrier_duty_percent: 50%
climate: <<: !include common.yaml
- platform: hitachi_ac424
name: Hitachi Climate
@@ -1,7 +1,4 @@
remote_transmitter: substitutions:
pin: 2 pin: GPIO2
carrier_duty_percent: 50%
climate: <<: !include common.yaml
- platform: hitachi_ac424
name: Hitachi Climate
@@ -1,7 +1,4 @@
remote_transmitter: substitutions:
pin: 5 pin: GPIO5
carrier_duty_percent: 50%
climate: <<: !include common.yaml
- platform: hitachi_ac424
name: Hitachi Climate
+21
View File
@@ -0,0 +1,21 @@
sensor:
- platform: hlw8012
model: hlw8012
sel_pin: ${sel_pin}
cf_pin: ${cf_pin}
cf1_pin: ${cf1_pin}
current:
name: HLW8012 Current
voltage:
name: HLW8012 Voltage
power:
name: HLW8012 Power
id: hlw8012_power
energy:
name: HLW8012 Energy
id: hlw8012_energy
update_interval: 15s
current_resistor: 0.001 ohm
voltage_divider: 2351
change_mode_every: "never"
initial_mode: VOLTAGE
+6 -21
View File
@@ -1,21 +1,6 @@
sensor: substitutions:
- platform: hlw8012 sel_pin: GPIO12
model: hlw8012 cf_pin: GPIO13
sel_pin: 12 cf1_pin: GPIO14
cf_pin: 14
cf1_pin: 13 <<: !include common.yaml
current:
name: HLW8012 Current
voltage:
name: HLW8012 Voltage
power:
name: HLW8012 Power
id: hlw8012_power
energy:
name: HLW8012 Energy
id: hlw8012_energy
update_interval: 15s
current_resistor: 0.001 ohm
voltage_divider: 2351
change_mode_every: "never"
initial_mode: VOLTAGE
@@ -1,21 +1,6 @@
sensor: substitutions:
- platform: hlw8012 sel_pin: GPIO2
model: hlw8012 cf_pin: GPIO3
sel_pin: 2 cf1_pin: GPIO4
cf_pin: 4
cf1_pin: 3 <<: !include common.yaml
current:
name: HLW8012 Current
voltage:
name: HLW8012 Voltage
power:
name: HLW8012 Power
id: hlw8012_power
energy:
name: HLW8012 Energy
id: hlw8012_energy
update_interval: 15s
current_resistor: 0.001 ohm
voltage_divider: 2351
change_mode_every: "never"
initial_mode: VOLTAGE
@@ -1,21 +1,6 @@
sensor: substitutions:
- platform: hlw8012 sel_pin: GPIO2
model: hlw8012 cf_pin: GPIO3
sel_pin: 2 cf1_pin: GPIO4
cf_pin: 4
cf1_pin: 3 <<: !include common.yaml
current:
name: HLW8012 Current
voltage:
name: HLW8012 Voltage
power:
name: HLW8012 Power
id: hlw8012_power
energy:
name: HLW8012 Energy
id: hlw8012_energy
update_interval: 15s
current_resistor: 0.001 ohm
voltage_divider: 2351
change_mode_every: "never"
initial_mode: VOLTAGE
+6 -21
View File
@@ -1,21 +1,6 @@
sensor: substitutions:
- platform: hlw8012 sel_pin: GPIO12
model: hlw8012 cf_pin: GPIO13
sel_pin: 12 cf1_pin: GPIO14
cf_pin: 14
cf1_pin: 13 <<: !include common.yaml
current:
name: HLW8012 Current
voltage:
name: HLW8012 Voltage
power:
name: HLW8012 Power
id: hlw8012_power
energy:
name: HLW8012 Energy
id: hlw8012_energy
update_interval: 15s
current_resistor: 0.001 ohm
voltage_divider: 2351
change_mode_every: "never"
initial_mode: VOLTAGE
+6 -21
View File
@@ -1,21 +1,6 @@
sensor: substitutions:
- platform: hlw8012 sel_pin: GPIO12
model: hlw8012 cf_pin: GPIO13
sel_pin: 12 cf1_pin: GPIO14
cf_pin: 14
cf1_pin: 13 <<: !include common.yaml
current:
name: HLW8012 Current
voltage:
name: HLW8012 Voltage
power:
name: HLW8012 Power
id: hlw8012_power
energy:
name: HLW8012 Energy
id: hlw8012_energy
update_interval: 15s
current_resistor: 0.001 ohm
voltage_divider: 2351
change_mode_every: "never"
initial_mode: VOLTAGE
+6 -21
View File
@@ -1,21 +1,6 @@
sensor: substitutions:
- platform: hlw8012 sel_pin: GPIO2
model: hlw8012 cf_pin: GPIO3
sel_pin: 2 cf1_pin: GPIO4
cf_pin: 4
cf1_pin: 3 <<: !include common.yaml
current:
name: HLW8012 Current
voltage:
name: HLW8012 Voltage
power:
name: HLW8012 Power
id: hlw8012_power
energy:
name: HLW8012 Energy
id: hlw8012_energy
update_interval: 15s
current_resistor: 0.001 ohm
voltage_divider: 2351
change_mode_every: "never"
initial_mode: VOLTAGE
+16
View File
@@ -0,0 +1,16 @@
i2c:
- id: i2c_hm3301
scl: ${scl_pin}
sda: ${sda_pin}
sensor:
- platform: hm3301
pm_1_0:
name: PM1.0
pm_2_5:
name: PM2.5
pm_10_0:
name: PM10.0
aqi:
name: AQI
calculation_type: CAQI
+4 -15
View File
@@ -1,16 +1,5 @@
i2c: substitutions:
- id: i2c_hm3301 scl_pin: GPIO16
scl: 16 sda_pin: GPIO17
sda: 17
sensor: <<: !include common.yaml
- platform: hm3301
pm_1_0:
name: PM1.0
pm_2_5:
name: PM2.5
pm_10_0:
name: PM10.0
aqi:
name: AQI
calculation_type: CAQI
+4 -15
View File
@@ -1,16 +1,5 @@
i2c: substitutions:
- id: i2c_hm3301 scl_pin: GPIO5
scl: 5 sda_pin: GPIO4
sda: 4
sensor: <<: !include common.yaml
- platform: hm3301
pm_1_0:
name: PM1.0
pm_2_5:
name: PM2.5
pm_10_0:
name: PM10.0
aqi:
name: AQI
calculation_type: CAQI

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