mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
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:
parent
1e0f6e139a
commit
e59b81612f
117 changed files with 2319 additions and 0 deletions
79
tests/components/havells_solar/test.esp32-c3-idf.yaml
Normal file
79
tests/components/havells_solar/test.esp32-c3-idf.yaml
Normal file
|
@ -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
|
79
tests/components/havells_solar/test.esp32-c3.yaml
Normal file
79
tests/components/havells_solar/test.esp32-c3.yaml
Normal file
|
@ -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
|
79
tests/components/havells_solar/test.esp32-idf.yaml
Normal file
79
tests/components/havells_solar/test.esp32-idf.yaml
Normal file
|
@ -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
|
79
tests/components/havells_solar/test.esp32.yaml
Normal file
79
tests/components/havells_solar/test.esp32.yaml
Normal file
|
@ -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
|
79
tests/components/havells_solar/test.esp8266.yaml
Normal file
79
tests/components/havells_solar/test.esp8266.yaml
Normal file
|
@ -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
|
79
tests/components/havells_solar/test.rp2040.yaml
Normal file
79
tests/components/havells_solar/test.rp2040.yaml
Normal file
|
@ -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
|
33
tests/components/hbridge/test.esp32-c3-idf.yaml
Normal file
33
tests/components/hbridge/test.esp32-c3-idf.yaml
Normal file
|
@ -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!
|
33
tests/components/hbridge/test.esp32-c3.yaml
Normal file
33
tests/components/hbridge/test.esp32-c3.yaml
Normal file
|
@ -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!
|
33
tests/components/hbridge/test.esp32-idf.yaml
Normal file
33
tests/components/hbridge/test.esp32-idf.yaml
Normal 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!
|
33
tests/components/hbridge/test.esp32.yaml
Normal file
33
tests/components/hbridge/test.esp32.yaml
Normal 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!
|
33
tests/components/hbridge/test.esp8266.yaml
Normal file
33
tests/components/hbridge/test.esp8266.yaml
Normal file
|
@ -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
tests/components/hbridge/test.rp2040.yaml
Normal file
33
tests/components/hbridge/test.rp2040.yaml
Normal 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!
|
12
tests/components/hdc1080/test.esp32-c3-idf.yaml
Normal file
12
tests/components/hdc1080/test.esp32-c3-idf.yaml
Normal 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
|
12
tests/components/hdc1080/test.esp32-c3.yaml
Normal file
12
tests/components/hdc1080/test.esp32-c3.yaml
Normal 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
|
12
tests/components/hdc1080/test.esp32-idf.yaml
Normal file
12
tests/components/hdc1080/test.esp32-idf.yaml
Normal 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
|
12
tests/components/hdc1080/test.esp32.yaml
Normal file
12
tests/components/hdc1080/test.esp32.yaml
Normal 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
|
12
tests/components/hdc1080/test.esp8266.yaml
Normal file
12
tests/components/hdc1080/test.esp8266.yaml
Normal 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
|
12
tests/components/hdc1080/test.rp2040.yaml
Normal file
12
tests/components/hdc1080/test.rp2040.yaml
Normal 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
|
13
tests/components/he60r/test.esp32-c3-idf.yaml
Normal file
13
tests/components/he60r/test.esp32-c3-idf.yaml
Normal 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
|
13
tests/components/he60r/test.esp32-c3.yaml
Normal file
13
tests/components/he60r/test.esp32-c3.yaml
Normal 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
|
13
tests/components/he60r/test.esp32-idf.yaml
Normal file
13
tests/components/he60r/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
uart:
|
||||
- id: uart_he60r
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 1200
|
||||
parity: EVEN
|
||||
|
||||
cover:
|
||||
- platform: he60r
|
||||
id: garage_door
|
||||
name: Garage Door
|
||||
open_duration: 14s
|
||||
close_duration: 14s
|
13
tests/components/he60r/test.esp32.yaml
Normal file
13
tests/components/he60r/test.esp32.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
uart:
|
||||
- id: uart_he60r
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 1200
|
||||
parity: EVEN
|
||||
|
||||
cover:
|
||||
- platform: he60r
|
||||
id: garage_door
|
||||
name: Garage Door
|
||||
open_duration: 14s
|
||||
close_duration: 14s
|
13
tests/components/he60r/test.esp8266.yaml
Normal file
13
tests/components/he60r/test.esp8266.yaml
Normal 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
|
13
tests/components/he60r/test.rp2040.yaml
Normal file
13
tests/components/he60r/test.rp2040.yaml
Normal 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
|
19
tests/components/heatpumpir/test.esp32.yaml
Normal file
19
tests/components/heatpumpir/test.esp32.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
remote_transmitter:
|
||||
pin: 2
|
||||
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: greeyt
|
||||
horizontal_default: left
|
||||
vertical_default: up
|
||||
name: HeatpumpIR Climate
|
||||
min_temperature: 18
|
||||
max_temperature: 30
|
19
tests/components/heatpumpir/test.esp8266.yaml
Normal file
19
tests/components/heatpumpir/test.esp8266.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
remote_transmitter:
|
||||
pin: 5
|
||||
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: greeyt
|
||||
horizontal_default: left
|
||||
vertical_default: up
|
||||
name: HeatpumpIR Climate
|
||||
min_temperature: 18
|
||||
max_temperature: 30
|
7
tests/components/hitachi_ac344/test.esp32-c3-idf.yaml
Normal file
7
tests/components/hitachi_ac344/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
remote_transmitter:
|
||||
pin: 2
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: hitachi_ac344
|
||||
name: Hitachi Climate
|
7
tests/components/hitachi_ac344/test.esp32-c3.yaml
Normal file
7
tests/components/hitachi_ac344/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
remote_transmitter:
|
||||
pin: 2
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: hitachi_ac344
|
||||
name: Hitachi Climate
|
7
tests/components/hitachi_ac344/test.esp32-idf.yaml
Normal file
7
tests/components/hitachi_ac344/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
remote_transmitter:
|
||||
pin: 2
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: hitachi_ac344
|
||||
name: Hitachi Climate
|
7
tests/components/hitachi_ac344/test.esp32.yaml
Normal file
7
tests/components/hitachi_ac344/test.esp32.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
remote_transmitter:
|
||||
pin: 2
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: hitachi_ac344
|
||||
name: Hitachi Climate
|
7
tests/components/hitachi_ac344/test.esp8266.yaml
Normal file
7
tests/components/hitachi_ac344/test.esp8266.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
remote_transmitter:
|
||||
pin: 5
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: hitachi_ac344
|
||||
name: Hitachi Climate
|
7
tests/components/hitachi_ac424/test.esp32-c3-idf.yaml
Normal file
7
tests/components/hitachi_ac424/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
remote_transmitter:
|
||||
pin: 2
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: hitachi_ac424
|
||||
name: Hitachi Climate
|
7
tests/components/hitachi_ac424/test.esp32-c3.yaml
Normal file
7
tests/components/hitachi_ac424/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
remote_transmitter:
|
||||
pin: 2
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: hitachi_ac424
|
||||
name: Hitachi Climate
|
7
tests/components/hitachi_ac424/test.esp32-idf.yaml
Normal file
7
tests/components/hitachi_ac424/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
remote_transmitter:
|
||||
pin: 2
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: hitachi_ac424
|
||||
name: Hitachi Climate
|
7
tests/components/hitachi_ac424/test.esp32.yaml
Normal file
7
tests/components/hitachi_ac424/test.esp32.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
remote_transmitter:
|
||||
pin: 2
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: hitachi_ac424
|
||||
name: Hitachi Climate
|
7
tests/components/hitachi_ac424/test.esp8266.yaml
Normal file
7
tests/components/hitachi_ac424/test.esp8266.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
remote_transmitter:
|
||||
pin: 5
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: hitachi_ac424
|
||||
name: Hitachi Climate
|
21
tests/components/hlw8012/test.esp32-c3-idf.yaml
Normal file
21
tests/components/hlw8012/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
sensor:
|
||||
- platform: hlw8012
|
||||
model: hlw8012
|
||||
sel_pin: 2
|
||||
cf_pin: 4
|
||||
cf1_pin: 3
|
||||
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
|
21
tests/components/hlw8012/test.esp32-c3.yaml
Normal file
21
tests/components/hlw8012/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
sensor:
|
||||
- platform: hlw8012
|
||||
model: hlw8012
|
||||
sel_pin: 2
|
||||
cf_pin: 4
|
||||
cf1_pin: 3
|
||||
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
|
21
tests/components/hlw8012/test.esp32-idf.yaml
Normal file
21
tests/components/hlw8012/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
sensor:
|
||||
- platform: hlw8012
|
||||
model: hlw8012
|
||||
sel_pin: 12
|
||||
cf_pin: 14
|
||||
cf1_pin: 13
|
||||
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
|
21
tests/components/hlw8012/test.esp32.yaml
Normal file
21
tests/components/hlw8012/test.esp32.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
sensor:
|
||||
- platform: hlw8012
|
||||
model: hlw8012
|
||||
sel_pin: 12
|
||||
cf_pin: 14
|
||||
cf1_pin: 13
|
||||
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
|
21
tests/components/hlw8012/test.esp8266.yaml
Normal file
21
tests/components/hlw8012/test.esp8266.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
sensor:
|
||||
- platform: hlw8012
|
||||
model: hlw8012
|
||||
sel_pin: 12
|
||||
cf_pin: 14
|
||||
cf1_pin: 13
|
||||
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
|
21
tests/components/hlw8012/test.rp2040.yaml
Normal file
21
tests/components/hlw8012/test.rp2040.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
sensor:
|
||||
- platform: hlw8012
|
||||
model: hlw8012
|
||||
sel_pin: 2
|
||||
cf_pin: 4
|
||||
cf1_pin: 3
|
||||
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
tests/components/hm3301/test.esp32-c3-idf.yaml
Normal file
16
tests/components/hm3301/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
i2c:
|
||||
- id: i2c_hm3301
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
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
|
16
tests/components/hm3301/test.esp32-c3.yaml
Normal file
16
tests/components/hm3301/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
i2c:
|
||||
- id: i2c_hm3301
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
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
|
16
tests/components/hm3301/test.esp32-idf.yaml
Normal file
16
tests/components/hm3301/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
i2c:
|
||||
- id: i2c_hm3301
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
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
|
16
tests/components/hm3301/test.esp32.yaml
Normal file
16
tests/components/hm3301/test.esp32.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
i2c:
|
||||
- id: i2c_hm3301
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
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
|
16
tests/components/hm3301/test.esp8266.yaml
Normal file
16
tests/components/hm3301/test.esp8266.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
i2c:
|
||||
- id: i2c_hm3301
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
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
|
16
tests/components/hm3301/test.rp2040.yaml
Normal file
16
tests/components/hm3301/test.rp2040.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
i2c:
|
||||
- id: i2c_hm3301
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
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
|
19
tests/components/hmc5883l/test.esp32-c3-idf.yaml
Normal file
19
tests/components/hmc5883l/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
i2c:
|
||||
- id: i2c_hmc5883l
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: hmc5883l
|
||||
address: 0x68
|
||||
field_strength_x:
|
||||
name: HMC5883L Field Strength X
|
||||
field_strength_y:
|
||||
name: HMC5883L Field Strength Y
|
||||
field_strength_z:
|
||||
name: HMC5883L Field Strength Z
|
||||
heading:
|
||||
name: HMC5883L Heading
|
||||
range: 130uT
|
||||
oversampling: 8x
|
||||
update_interval: 15s
|
19
tests/components/hmc5883l/test.esp32-c3.yaml
Normal file
19
tests/components/hmc5883l/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
i2c:
|
||||
- id: i2c_hmc5883l
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: hmc5883l
|
||||
address: 0x68
|
||||
field_strength_x:
|
||||
name: HMC5883L Field Strength X
|
||||
field_strength_y:
|
||||
name: HMC5883L Field Strength Y
|
||||
field_strength_z:
|
||||
name: HMC5883L Field Strength Z
|
||||
heading:
|
||||
name: HMC5883L Heading
|
||||
range: 130uT
|
||||
oversampling: 8x
|
||||
update_interval: 15s
|
19
tests/components/hmc5883l/test.esp32-idf.yaml
Normal file
19
tests/components/hmc5883l/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
i2c:
|
||||
- id: i2c_hmc5883l
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: hmc5883l
|
||||
address: 0x68
|
||||
field_strength_x:
|
||||
name: HMC5883L Field Strength X
|
||||
field_strength_y:
|
||||
name: HMC5883L Field Strength Y
|
||||
field_strength_z:
|
||||
name: HMC5883L Field Strength Z
|
||||
heading:
|
||||
name: HMC5883L Heading
|
||||
range: 130uT
|
||||
oversampling: 8x
|
||||
update_interval: 15s
|
19
tests/components/hmc5883l/test.esp32.yaml
Normal file
19
tests/components/hmc5883l/test.esp32.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
i2c:
|
||||
- id: i2c_hmc5883l
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: hmc5883l
|
||||
address: 0x68
|
||||
field_strength_x:
|
||||
name: HMC5883L Field Strength X
|
||||
field_strength_y:
|
||||
name: HMC5883L Field Strength Y
|
||||
field_strength_z:
|
||||
name: HMC5883L Field Strength Z
|
||||
heading:
|
||||
name: HMC5883L Heading
|
||||
range: 130uT
|
||||
oversampling: 8x
|
||||
update_interval: 15s
|
19
tests/components/hmc5883l/test.esp8266.yaml
Normal file
19
tests/components/hmc5883l/test.esp8266.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
i2c:
|
||||
- id: i2c_hmc5883l
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: hmc5883l
|
||||
address: 0x68
|
||||
field_strength_x:
|
||||
name: HMC5883L Field Strength X
|
||||
field_strength_y:
|
||||
name: HMC5883L Field Strength Y
|
||||
field_strength_z:
|
||||
name: HMC5883L Field Strength Z
|
||||
heading:
|
||||
name: HMC5883L Heading
|
||||
range: 130uT
|
||||
oversampling: 8x
|
||||
update_interval: 15s
|
19
tests/components/hmc5883l/test.rp2040.yaml
Normal file
19
tests/components/hmc5883l/test.rp2040.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
i2c:
|
||||
- id: i2c_hmc5883l
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: hmc5883l
|
||||
address: 0x68
|
||||
field_strength_x:
|
||||
name: HMC5883L Field Strength X
|
||||
field_strength_y:
|
||||
name: HMC5883L Field Strength Y
|
||||
field_strength_z:
|
||||
name: HMC5883L Field Strength Z
|
||||
heading:
|
||||
name: HMC5883L Heading
|
||||
range: 130uT
|
||||
oversampling: 8x
|
||||
update_interval: 15s
|
39
tests/components/homeassistant/test.esp32-c3-idf.yaml
Normal file
39
tests/components/homeassistant/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,39 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
api:
|
||||
|
||||
binary_sensor:
|
||||
- platform: homeassistant
|
||||
entity_id: binary_sensor.hello_world
|
||||
id: ha_hello_world_binary
|
||||
- platform: homeassistant
|
||||
entity_id: binary_sensor.hello
|
||||
attribute: world
|
||||
id: ha_hello_world_binary_attribute
|
||||
|
||||
sensor:
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.hello_world
|
||||
id: ha_hello_world
|
||||
- platform: homeassistant
|
||||
entity_id: climate.living_room
|
||||
attribute: temperature
|
||||
id: ha_hello_world_temperature
|
||||
|
||||
text_sensor:
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.hello_world
|
||||
id: ha_hello_world_text
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.hello_world1
|
||||
id: ha_hello_world_text2
|
||||
attribute: some_attribute
|
||||
|
||||
time:
|
||||
- platform: homeassistant
|
||||
on_time:
|
||||
- at: "16:00:00"
|
||||
then:
|
||||
- logger.log: It's 16:00
|
39
tests/components/homeassistant/test.esp32-c3.yaml
Normal file
39
tests/components/homeassistant/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,39 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
api:
|
||||
|
||||
binary_sensor:
|
||||
- platform: homeassistant
|
||||
entity_id: binary_sensor.hello_world
|
||||
id: ha_hello_world_binary
|
||||
- platform: homeassistant
|
||||
entity_id: binary_sensor.hello
|
||||
attribute: world
|
||||
id: ha_hello_world_binary_attribute
|
||||
|
||||
sensor:
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.hello_world
|
||||
id: ha_hello_world
|
||||
- platform: homeassistant
|
||||
entity_id: climate.living_room
|
||||
attribute: temperature
|
||||
id: ha_hello_world_temperature
|
||||
|
||||
text_sensor:
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.hello_world
|
||||
id: ha_hello_world_text
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.hello_world1
|
||||
id: ha_hello_world_text2
|
||||
attribute: some_attribute
|
||||
|
||||
time:
|
||||
- platform: homeassistant
|
||||
on_time:
|
||||
- at: "16:00:00"
|
||||
then:
|
||||
- logger.log: It's 16:00
|
39
tests/components/homeassistant/test.esp32-idf.yaml
Normal file
39
tests/components/homeassistant/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,39 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
api:
|
||||
|
||||
binary_sensor:
|
||||
- platform: homeassistant
|
||||
entity_id: binary_sensor.hello_world
|
||||
id: ha_hello_world_binary
|
||||
- platform: homeassistant
|
||||
entity_id: binary_sensor.hello
|
||||
attribute: world
|
||||
id: ha_hello_world_binary_attribute
|
||||
|
||||
sensor:
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.hello_world
|
||||
id: ha_hello_world
|
||||
- platform: homeassistant
|
||||
entity_id: climate.living_room
|
||||
attribute: temperature
|
||||
id: ha_hello_world_temperature
|
||||
|
||||
text_sensor:
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.hello_world
|
||||
id: ha_hello_world_text
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.hello_world1
|
||||
id: ha_hello_world_text2
|
||||
attribute: some_attribute
|
||||
|
||||
time:
|
||||
- platform: homeassistant
|
||||
on_time:
|
||||
- at: "16:00:00"
|
||||
then:
|
||||
- logger.log: It's 16:00
|
39
tests/components/homeassistant/test.esp32.yaml
Normal file
39
tests/components/homeassistant/test.esp32.yaml
Normal file
|
@ -0,0 +1,39 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
api:
|
||||
|
||||
binary_sensor:
|
||||
- platform: homeassistant
|
||||
entity_id: binary_sensor.hello_world
|
||||
id: ha_hello_world_binary
|
||||
- platform: homeassistant
|
||||
entity_id: binary_sensor.hello
|
||||
attribute: world
|
||||
id: ha_hello_world_binary_attribute
|
||||
|
||||
sensor:
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.hello_world
|
||||
id: ha_hello_world
|
||||
- platform: homeassistant
|
||||
entity_id: climate.living_room
|
||||
attribute: temperature
|
||||
id: ha_hello_world_temperature
|
||||
|
||||
text_sensor:
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.hello_world
|
||||
id: ha_hello_world_text
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.hello_world1
|
||||
id: ha_hello_world_text2
|
||||
attribute: some_attribute
|
||||
|
||||
time:
|
||||
- platform: homeassistant
|
||||
on_time:
|
||||
- at: "16:00:00"
|
||||
then:
|
||||
- logger.log: It's 16:00
|
39
tests/components/homeassistant/test.esp8266.yaml
Normal file
39
tests/components/homeassistant/test.esp8266.yaml
Normal file
|
@ -0,0 +1,39 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
api:
|
||||
|
||||
binary_sensor:
|
||||
- platform: homeassistant
|
||||
entity_id: binary_sensor.hello_world
|
||||
id: ha_hello_world_binary
|
||||
- platform: homeassistant
|
||||
entity_id: binary_sensor.hello
|
||||
attribute: world
|
||||
id: ha_hello_world_binary_attribute
|
||||
|
||||
sensor:
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.hello_world
|
||||
id: ha_hello_world
|
||||
- platform: homeassistant
|
||||
entity_id: climate.living_room
|
||||
attribute: temperature
|
||||
id: ha_hello_world_temperature
|
||||
|
||||
text_sensor:
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.hello_world
|
||||
id: ha_hello_world_text
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.hello_world1
|
||||
id: ha_hello_world_text2
|
||||
attribute: some_attribute
|
||||
|
||||
time:
|
||||
- platform: homeassistant
|
||||
on_time:
|
||||
- at: "16:00:00"
|
||||
then:
|
||||
- logger.log: It's 16:00
|
39
tests/components/homeassistant/test.rp2040.yaml
Normal file
39
tests/components/homeassistant/test.rp2040.yaml
Normal file
|
@ -0,0 +1,39 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
api:
|
||||
|
||||
binary_sensor:
|
||||
- platform: homeassistant
|
||||
entity_id: binary_sensor.hello_world
|
||||
id: ha_hello_world_binary
|
||||
- platform: homeassistant
|
||||
entity_id: binary_sensor.hello
|
||||
attribute: world
|
||||
id: ha_hello_world_binary_attribute
|
||||
|
||||
sensor:
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.hello_world
|
||||
id: ha_hello_world
|
||||
- platform: homeassistant
|
||||
entity_id: climate.living_room
|
||||
attribute: temperature
|
||||
id: ha_hello_world_temperature
|
||||
|
||||
text_sensor:
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.hello_world
|
||||
id: ha_hello_world_text
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.hello_world1
|
||||
id: ha_hello_world_text2
|
||||
attribute: some_attribute
|
||||
|
||||
time:
|
||||
- platform: homeassistant
|
||||
on_time:
|
||||
- at: "16:00:00"
|
||||
then:
|
||||
- logger.log: It's 16:00
|
12
tests/components/honeywell_hih_i2c/test.esp32-c3-idf.yaml
Normal file
12
tests/components/honeywell_hih_i2c/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
i2c:
|
||||
- id: i2c_honeywell_hih
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: honeywell_hih_i2c
|
||||
temperature:
|
||||
name: Temperature
|
||||
humidity:
|
||||
name: Humidity
|
||||
update_interval: 15s
|
12
tests/components/honeywell_hih_i2c/test.esp32-c3.yaml
Normal file
12
tests/components/honeywell_hih_i2c/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
i2c:
|
||||
- id: i2c_honeywell_hih
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: honeywell_hih_i2c
|
||||
temperature:
|
||||
name: Temperature
|
||||
humidity:
|
||||
name: Humidity
|
||||
update_interval: 15s
|
12
tests/components/honeywell_hih_i2c/test.esp32-idf.yaml
Normal file
12
tests/components/honeywell_hih_i2c/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
i2c:
|
||||
- id: i2c_honeywell_hih
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: honeywell_hih_i2c
|
||||
temperature:
|
||||
name: Temperature
|
||||
humidity:
|
||||
name: Humidity
|
||||
update_interval: 15s
|
12
tests/components/honeywell_hih_i2c/test.esp32.yaml
Normal file
12
tests/components/honeywell_hih_i2c/test.esp32.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
i2c:
|
||||
- id: i2c_honeywell_hih
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: honeywell_hih_i2c
|
||||
temperature:
|
||||
name: Temperature
|
||||
humidity:
|
||||
name: Humidity
|
||||
update_interval: 15s
|
12
tests/components/honeywell_hih_i2c/test.esp8266.yaml
Normal file
12
tests/components/honeywell_hih_i2c/test.esp8266.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
i2c:
|
||||
- id: i2c_honeywell_hih
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: honeywell_hih_i2c
|
||||
temperature:
|
||||
name: Temperature
|
||||
humidity:
|
||||
name: Humidity
|
||||
update_interval: 15s
|
12
tests/components/honeywell_hih_i2c/test.rp2040.yaml
Normal file
12
tests/components/honeywell_hih_i2c/test.rp2040.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
i2c:
|
||||
- id: i2c_honeywell_hih
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: honeywell_hih_i2c
|
||||
temperature:
|
||||
name: Temperature
|
||||
humidity:
|
||||
name: Humidity
|
||||
update_interval: 15s
|
15
tests/components/honeywellabp/test.esp32-c3-idf.yaml
Normal file
15
tests/components/honeywellabp/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
spi:
|
||||
- id: spi_honeywellabp
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
sensor:
|
||||
- platform: honeywellabp
|
||||
cs_pin: 8
|
||||
pressure:
|
||||
name: Honeywell pressure
|
||||
min_pressure: 0
|
||||
max_pressure: 15
|
||||
temperature:
|
||||
name: Honeywell temperature
|
15
tests/components/honeywellabp/test.esp32-c3.yaml
Normal file
15
tests/components/honeywellabp/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
spi:
|
||||
- id: spi_honeywellabp
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
sensor:
|
||||
- platform: honeywellabp
|
||||
cs_pin: 8
|
||||
pressure:
|
||||
name: Honeywell pressure
|
||||
min_pressure: 0
|
||||
max_pressure: 15
|
||||
temperature:
|
||||
name: Honeywell temperature
|
15
tests/components/honeywellabp/test.esp32-idf.yaml
Normal file
15
tests/components/honeywellabp/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
spi:
|
||||
- id: spi_bme280
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
sensor:
|
||||
- platform: honeywellabp
|
||||
cs_pin: 12
|
||||
pressure:
|
||||
name: Honeywell pressure
|
||||
min_pressure: 0
|
||||
max_pressure: 15
|
||||
temperature:
|
||||
name: Honeywell temperature
|
15
tests/components/honeywellabp/test.esp32.yaml
Normal file
15
tests/components/honeywellabp/test.esp32.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
spi:
|
||||
- id: spi_bme280
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
sensor:
|
||||
- platform: honeywellabp
|
||||
cs_pin: 12
|
||||
pressure:
|
||||
name: Honeywell pressure
|
||||
min_pressure: 0
|
||||
max_pressure: 15
|
||||
temperature:
|
||||
name: Honeywell temperature
|
15
tests/components/honeywellabp/test.esp8266.yaml
Normal file
15
tests/components/honeywellabp/test.esp8266.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
spi:
|
||||
- id: spi_bme280
|
||||
clk_pin: 14
|
||||
mosi_pin: 13
|
||||
miso_pin: 12
|
||||
|
||||
sensor:
|
||||
- platform: honeywellabp
|
||||
cs_pin: 15
|
||||
pressure:
|
||||
name: Honeywell pressure
|
||||
min_pressure: 0
|
||||
max_pressure: 15
|
||||
temperature:
|
||||
name: Honeywell temperature
|
15
tests/components/honeywellabp/test.rp2040.yaml
Normal file
15
tests/components/honeywellabp/test.rp2040.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
spi:
|
||||
- id: spi_bme280
|
||||
clk_pin: 2
|
||||
mosi_pin: 3
|
||||
miso_pin: 4
|
||||
|
||||
sensor:
|
||||
- platform: honeywellabp
|
||||
cs_pin: 6
|
||||
pressure:
|
||||
name: Honeywell pressure
|
||||
min_pressure: 0
|
||||
max_pressure: 15
|
||||
temperature:
|
||||
name: Honeywell temperature
|
15
tests/components/honeywellabp2_i2c/test.esp32-c3-idf.yaml
Normal file
15
tests/components/honeywellabp2_i2c/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_honeywellabp2
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: honeywellabp2_i2c
|
||||
address: 0x28
|
||||
pressure:
|
||||
name: Honeywell2 pressure
|
||||
min_pressure: 0
|
||||
max_pressure: 16000
|
||||
transfer_function: A
|
||||
temperature:
|
||||
name: Honeywell temperature
|
15
tests/components/honeywellabp2_i2c/test.esp32-c3.yaml
Normal file
15
tests/components/honeywellabp2_i2c/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_honeywellabp2
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: honeywellabp2_i2c
|
||||
address: 0x28
|
||||
pressure:
|
||||
name: Honeywell2 pressure
|
||||
min_pressure: 0
|
||||
max_pressure: 16000
|
||||
transfer_function: A
|
||||
temperature:
|
||||
name: Honeywell temperature
|
15
tests/components/honeywellabp2_i2c/test.esp32-idf.yaml
Normal file
15
tests/components/honeywellabp2_i2c/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_honeywellabp2
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: honeywellabp2_i2c
|
||||
address: 0x28
|
||||
pressure:
|
||||
name: Honeywell2 pressure
|
||||
min_pressure: 0
|
||||
max_pressure: 16000
|
||||
transfer_function: A
|
||||
temperature:
|
||||
name: Honeywell temperature
|
15
tests/components/honeywellabp2_i2c/test.esp32.yaml
Normal file
15
tests/components/honeywellabp2_i2c/test.esp32.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_honeywellabp2
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: honeywellabp2_i2c
|
||||
address: 0x28
|
||||
pressure:
|
||||
name: Honeywell2 pressure
|
||||
min_pressure: 0
|
||||
max_pressure: 16000
|
||||
transfer_function: A
|
||||
temperature:
|
||||
name: Honeywell temperature
|
15
tests/components/honeywellabp2_i2c/test.esp8266.yaml
Normal file
15
tests/components/honeywellabp2_i2c/test.esp8266.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_honeywellabp2
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: honeywellabp2_i2c
|
||||
address: 0x28
|
||||
pressure:
|
||||
name: Honeywell2 pressure
|
||||
min_pressure: 0
|
||||
max_pressure: 16000
|
||||
transfer_function: A
|
||||
temperature:
|
||||
name: Honeywell temperature
|
15
tests/components/honeywellabp2_i2c/test.rp2040.yaml
Normal file
15
tests/components/honeywellabp2_i2c/test.rp2040.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_honeywellabp2
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: honeywellabp2_i2c
|
||||
address: 0x28
|
||||
pressure:
|
||||
name: Honeywell2 pressure
|
||||
min_pressure: 0
|
||||
max_pressure: 16000
|
||||
transfer_function: A
|
||||
temperature:
|
||||
name: Honeywell temperature
|
10
tests/components/hrxl_maxsonar_wr/test.esp32-c3-idf.yaml
Normal file
10
tests/components/hrxl_maxsonar_wr/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
uart:
|
||||
- id: uart_hrxl_maxsonar_wr
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 115200
|
||||
|
||||
sensor:
|
||||
- platform: hrxl_maxsonar_wr
|
||||
id: hrxl_maxsonar_wr_sensor
|
||||
name: Rainwater Tank Level
|
10
tests/components/hrxl_maxsonar_wr/test.esp32-c3.yaml
Normal file
10
tests/components/hrxl_maxsonar_wr/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
uart:
|
||||
- id: uart_hrxl_maxsonar_wr
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 115200
|
||||
|
||||
sensor:
|
||||
- platform: hrxl_maxsonar_wr
|
||||
id: hrxl_maxsonar_wr_sensor
|
||||
name: Rainwater Tank Level
|
10
tests/components/hrxl_maxsonar_wr/test.esp32-idf.yaml
Normal file
10
tests/components/hrxl_maxsonar_wr/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
uart:
|
||||
- id: uart_hrxl_maxsonar_wr
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 115200
|
||||
|
||||
sensor:
|
||||
- platform: hrxl_maxsonar_wr
|
||||
id: hrxl_maxsonar_wr_sensor
|
||||
name: Rainwater Tank Level
|
10
tests/components/hrxl_maxsonar_wr/test.esp32.yaml
Normal file
10
tests/components/hrxl_maxsonar_wr/test.esp32.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
uart:
|
||||
- id: uart_hrxl_maxsonar_wr
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 115200
|
||||
|
||||
sensor:
|
||||
- platform: hrxl_maxsonar_wr
|
||||
id: hrxl_maxsonar_wr_sensor
|
||||
name: Rainwater Tank Level
|
10
tests/components/hrxl_maxsonar_wr/test.esp8266.yaml
Normal file
10
tests/components/hrxl_maxsonar_wr/test.esp8266.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
uart:
|
||||
- id: uart_hrxl_maxsonar_wr
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 115200
|
||||
|
||||
sensor:
|
||||
- platform: hrxl_maxsonar_wr
|
||||
id: hrxl_maxsonar_wr_sensor
|
||||
name: Rainwater Tank Level
|
10
tests/components/hrxl_maxsonar_wr/test.rp2040.yaml
Normal file
10
tests/components/hrxl_maxsonar_wr/test.rp2040.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
uart:
|
||||
- id: uart_hrxl_maxsonar_wr
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 115200
|
||||
|
||||
sensor:
|
||||
- platform: hrxl_maxsonar_wr
|
||||
id: hrxl_maxsonar_wr_sensor
|
||||
name: Rainwater Tank Level
|
12
tests/components/hte501/test.esp32-c3-idf.yaml
Normal file
12
tests/components/hte501/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
i2c:
|
||||
- id: i2c_hte501
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: hte501
|
||||
address: 0x40
|
||||
temperature:
|
||||
name: Temperature
|
||||
humidity:
|
||||
name: Humidity
|
12
tests/components/hte501/test.esp32-c3.yaml
Normal file
12
tests/components/hte501/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
i2c:
|
||||
- id: i2c_hte501
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: hte501
|
||||
address: 0x40
|
||||
temperature:
|
||||
name: Temperature
|
||||
humidity:
|
||||
name: Humidity
|
12
tests/components/hte501/test.esp32-idf.yaml
Normal file
12
tests/components/hte501/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
i2c:
|
||||
- id: i2c_hte501
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: hte501
|
||||
address: 0x40
|
||||
temperature:
|
||||
name: Temperature
|
||||
humidity:
|
||||
name: Humidity
|
12
tests/components/hte501/test.esp32.yaml
Normal file
12
tests/components/hte501/test.esp32.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
i2c:
|
||||
- id: i2c_hte501
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: hte501
|
||||
address: 0x40
|
||||
temperature:
|
||||
name: Temperature
|
||||
humidity:
|
||||
name: Humidity
|
12
tests/components/hte501/test.esp8266.yaml
Normal file
12
tests/components/hte501/test.esp8266.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
i2c:
|
||||
- id: i2c_hte501
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: hte501
|
||||
address: 0x40
|
||||
temperature:
|
||||
name: Temperature
|
||||
humidity:
|
||||
name: Humidity
|
12
tests/components/hte501/test.rp2040.yaml
Normal file
12
tests/components/hte501/test.rp2040.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
i2c:
|
||||
- id: i2c_hte501
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: hte501
|
||||
address: 0x40
|
||||
temperature:
|
||||
name: Temperature
|
||||
humidity:
|
||||
name: Humidity
|
7
tests/components/http_request/test.esp32-c3.yaml
Normal file
7
tests/components/http_request/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
http_request:
|
||||
useragent: esphome/tagreader
|
||||
timeout: 10s
|
7
tests/components/http_request/test.esp32.yaml
Normal file
7
tests/components/http_request/test.esp32.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
http_request:
|
||||
useragent: esphome/tagreader
|
||||
timeout: 10s
|
7
tests/components/http_request/test.esp8266.yaml
Normal file
7
tests/components/http_request/test.esp8266.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
http_request:
|
||||
useragent: esphome/tagreader
|
||||
timeout: 10s
|
14
tests/components/htu21d/test.esp32-c3-idf.yaml
Normal file
14
tests/components/htu21d/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
i2c:
|
||||
- id: i2c_htu21d
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: htu21d
|
||||
temperature:
|
||||
name: Temperature
|
||||
humidity:
|
||||
name: Humidity
|
||||
heater:
|
||||
name: Heater
|
||||
update_interval: 15s
|
14
tests/components/htu21d/test.esp32-c3.yaml
Normal file
14
tests/components/htu21d/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
i2c:
|
||||
- id: i2c_htu21d
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: htu21d
|
||||
temperature:
|
||||
name: Temperature
|
||||
humidity:
|
||||
name: Humidity
|
||||
heater:
|
||||
name: Heater
|
||||
update_interval: 15s
|
14
tests/components/htu21d/test.esp32-idf.yaml
Normal file
14
tests/components/htu21d/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
i2c:
|
||||
- id: i2c_htu21d
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: htu21d
|
||||
temperature:
|
||||
name: Temperature
|
||||
humidity:
|
||||
name: Humidity
|
||||
heater:
|
||||
name: Heater
|
||||
update_interval: 15s
|
14
tests/components/htu21d/test.esp32.yaml
Normal file
14
tests/components/htu21d/test.esp32.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
i2c:
|
||||
- id: i2c_htu21d
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: htu21d
|
||||
temperature:
|
||||
name: Temperature
|
||||
humidity:
|
||||
name: Humidity
|
||||
heater:
|
||||
name: Heater
|
||||
update_interval: 15s
|
14
tests/components/htu21d/test.esp8266.yaml
Normal file
14
tests/components/htu21d/test.esp8266.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
i2c:
|
||||
- id: i2c_htu21d
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: htu21d
|
||||
temperature:
|
||||
name: Temperature
|
||||
humidity:
|
||||
name: Humidity
|
||||
heater:
|
||||
name: Heater
|
||||
update_interval: 15s
|
14
tests/components/htu21d/test.rp2040.yaml
Normal file
14
tests/components/htu21d/test.rp2040.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
i2c:
|
||||
- id: i2c_htu21d
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: htu21d
|
||||
temperature:
|
||||
name: Temperature
|
||||
humidity:
|
||||
name: Humidity
|
||||
heater:
|
||||
name: Heater
|
||||
update_interval: 15s
|
7
tests/components/hx711/test.esp32-c3-idf.yaml
Normal file
7
tests/components/hx711/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
sensor:
|
||||
- platform: hx711
|
||||
name: HX711 Value
|
||||
dout_pin: 4
|
||||
clk_pin: 5
|
||||
gain: 128
|
||||
update_interval: 15s
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue