mirror of
https://github.com/esphome/esphome.git
synced 2024-11-21 22:48:10 +01:00
Add some components to the new testing framework (B) (#6173)
This commit is contained in:
parent
cfe16c92ee
commit
05da0fb4cf
130 changed files with 2650 additions and 0 deletions
15
tests/components/b_parasite/test.esp32-c3-idf.yaml
Normal file
15
tests/components/b_parasite/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: b_parasite
|
||||
mac_address: F0:CA:F0:CA:01:01
|
||||
humidity:
|
||||
name: b-parasite Air Humidity
|
||||
temperature:
|
||||
name: b-parasite Air Temperature
|
||||
moisture:
|
||||
name: b-parasite Soil Moisture
|
||||
battery_voltage:
|
||||
name: b-parasite Battery Voltage
|
||||
illuminance:
|
||||
name: b-parasite Illuminance
|
15
tests/components/b_parasite/test.esp32-c3.yaml
Normal file
15
tests/components/b_parasite/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: b_parasite
|
||||
mac_address: F0:CA:F0:CA:01:01
|
||||
humidity:
|
||||
name: b-parasite Air Humidity
|
||||
temperature:
|
||||
name: b-parasite Air Temperature
|
||||
moisture:
|
||||
name: b-parasite Soil Moisture
|
||||
battery_voltage:
|
||||
name: b-parasite Battery Voltage
|
||||
illuminance:
|
||||
name: b-parasite Illuminance
|
15
tests/components/b_parasite/test.esp32-idf.yaml
Normal file
15
tests/components/b_parasite/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: b_parasite
|
||||
mac_address: F0:CA:F0:CA:01:01
|
||||
humidity:
|
||||
name: b-parasite Air Humidity
|
||||
temperature:
|
||||
name: b-parasite Air Temperature
|
||||
moisture:
|
||||
name: b-parasite Soil Moisture
|
||||
battery_voltage:
|
||||
name: b-parasite Battery Voltage
|
||||
illuminance:
|
||||
name: b-parasite Illuminance
|
15
tests/components/b_parasite/test.esp32.yaml
Normal file
15
tests/components/b_parasite/test.esp32.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: b_parasite
|
||||
mac_address: F0:CA:F0:CA:01:01
|
||||
humidity:
|
||||
name: b-parasite Air Humidity
|
||||
temperature:
|
||||
name: b-parasite Air Temperature
|
||||
moisture:
|
||||
name: b-parasite Soil Moisture
|
||||
battery_voltage:
|
||||
name: b-parasite Battery Voltage
|
||||
illuminance:
|
||||
name: b-parasite Illuminance
|
12
tests/components/ballu/test.esp32.yaml
Normal file
12
tests/components/ballu/test.esp32.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
remote_transmitter:
|
||||
pin: 2
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: heatpumpir
|
||||
protocol: ballu
|
||||
horizontal_default: middle
|
||||
vertical_default: middle
|
||||
name: HeatpumpIR Climate
|
||||
min_temperature: 18
|
||||
max_temperature: 30
|
12
tests/components/ballu/test.esp8266.yaml
Normal file
12
tests/components/ballu/test.esp8266.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
remote_transmitter:
|
||||
pin: 5
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: heatpumpir
|
||||
protocol: ballu
|
||||
horizontal_default: middle
|
||||
vertical_default: middle
|
||||
name: HeatpumpIR Climate
|
||||
min_temperature: 18
|
||||
max_temperature: 30
|
35
tests/components/bang_bang/test.esp32-c3-idf.yaml
Normal file
35
tests/components/bang_bang/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,35 @@
|
|||
switch:
|
||||
- platform: template
|
||||
id: template_switch1
|
||||
optimistic: true
|
||||
- platform: template
|
||||
id: template_switch2
|
||||
optimistic: true
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: template_sensor1
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return 42.0;
|
||||
} else {
|
||||
return 0.0;
|
||||
}
|
||||
update_interval: 60s
|
||||
|
||||
climate:
|
||||
- platform: bang_bang
|
||||
name: Bang Bang Climate
|
||||
sensor: template_sensor1
|
||||
humidity_sensor: template_sensor1
|
||||
default_target_temperature_low: 18°C
|
||||
default_target_temperature_high: 24°C
|
||||
idle_action:
|
||||
- switch.turn_on: template_switch1
|
||||
cool_action:
|
||||
- switch.turn_on: template_switch2
|
||||
heat_action:
|
||||
- switch.turn_on: template_switch1
|
||||
away_config:
|
||||
default_target_temperature_low: 16°C
|
||||
default_target_temperature_high: 20°C
|
35
tests/components/bang_bang/test.esp32-c3.yaml
Normal file
35
tests/components/bang_bang/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,35 @@
|
|||
switch:
|
||||
- platform: template
|
||||
id: template_switch1
|
||||
optimistic: true
|
||||
- platform: template
|
||||
id: template_switch2
|
||||
optimistic: true
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: template_sensor1
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return 42.0;
|
||||
} else {
|
||||
return 0.0;
|
||||
}
|
||||
update_interval: 60s
|
||||
|
||||
climate:
|
||||
- platform: bang_bang
|
||||
name: Bang Bang Climate
|
||||
sensor: template_sensor1
|
||||
humidity_sensor: template_sensor1
|
||||
default_target_temperature_low: 18°C
|
||||
default_target_temperature_high: 24°C
|
||||
idle_action:
|
||||
- switch.turn_on: template_switch1
|
||||
cool_action:
|
||||
- switch.turn_on: template_switch2
|
||||
heat_action:
|
||||
- switch.turn_on: template_switch1
|
||||
away_config:
|
||||
default_target_temperature_low: 16°C
|
||||
default_target_temperature_high: 20°C
|
35
tests/components/bang_bang/test.esp32-idf.yaml
Normal file
35
tests/components/bang_bang/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,35 @@
|
|||
switch:
|
||||
- platform: template
|
||||
id: template_switch1
|
||||
optimistic: true
|
||||
- platform: template
|
||||
id: template_switch2
|
||||
optimistic: true
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: template_sensor1
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return 42.0;
|
||||
} else {
|
||||
return 0.0;
|
||||
}
|
||||
update_interval: 60s
|
||||
|
||||
climate:
|
||||
- platform: bang_bang
|
||||
name: Bang Bang Climate
|
||||
sensor: template_sensor1
|
||||
humidity_sensor: template_sensor1
|
||||
default_target_temperature_low: 18°C
|
||||
default_target_temperature_high: 24°C
|
||||
idle_action:
|
||||
- switch.turn_on: template_switch1
|
||||
cool_action:
|
||||
- switch.turn_on: template_switch2
|
||||
heat_action:
|
||||
- switch.turn_on: template_switch1
|
||||
away_config:
|
||||
default_target_temperature_low: 16°C
|
||||
default_target_temperature_high: 20°C
|
35
tests/components/bang_bang/test.esp32.yaml
Normal file
35
tests/components/bang_bang/test.esp32.yaml
Normal file
|
@ -0,0 +1,35 @@
|
|||
switch:
|
||||
- platform: template
|
||||
id: template_switch1
|
||||
optimistic: true
|
||||
- platform: template
|
||||
id: template_switch2
|
||||
optimistic: true
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: template_sensor1
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return 42.0;
|
||||
} else {
|
||||
return 0.0;
|
||||
}
|
||||
update_interval: 60s
|
||||
|
||||
climate:
|
||||
- platform: bang_bang
|
||||
name: Bang Bang Climate
|
||||
sensor: template_sensor1
|
||||
humidity_sensor: template_sensor1
|
||||
default_target_temperature_low: 18°C
|
||||
default_target_temperature_high: 24°C
|
||||
idle_action:
|
||||
- switch.turn_on: template_switch1
|
||||
cool_action:
|
||||
- switch.turn_on: template_switch2
|
||||
heat_action:
|
||||
- switch.turn_on: template_switch1
|
||||
away_config:
|
||||
default_target_temperature_low: 16°C
|
||||
default_target_temperature_high: 20°C
|
35
tests/components/bang_bang/test.esp8266.yaml
Normal file
35
tests/components/bang_bang/test.esp8266.yaml
Normal file
|
@ -0,0 +1,35 @@
|
|||
switch:
|
||||
- platform: template
|
||||
id: template_switch1
|
||||
optimistic: true
|
||||
- platform: template
|
||||
id: template_switch2
|
||||
optimistic: true
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: template_sensor1
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return 42.0;
|
||||
} else {
|
||||
return 0.0;
|
||||
}
|
||||
update_interval: 60s
|
||||
|
||||
climate:
|
||||
- platform: bang_bang
|
||||
name: Bang Bang Climate
|
||||
sensor: template_sensor1
|
||||
humidity_sensor: template_sensor1
|
||||
default_target_temperature_low: 18°C
|
||||
default_target_temperature_high: 24°C
|
||||
idle_action:
|
||||
- switch.turn_on: template_switch1
|
||||
cool_action:
|
||||
- switch.turn_on: template_switch2
|
||||
heat_action:
|
||||
- switch.turn_on: template_switch1
|
||||
away_config:
|
||||
default_target_temperature_low: 16°C
|
||||
default_target_temperature_high: 20°C
|
35
tests/components/bang_bang/test.rp2040.yaml
Normal file
35
tests/components/bang_bang/test.rp2040.yaml
Normal file
|
@ -0,0 +1,35 @@
|
|||
switch:
|
||||
- platform: template
|
||||
id: template_switch1
|
||||
optimistic: true
|
||||
- platform: template
|
||||
id: template_switch2
|
||||
optimistic: true
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: template_sensor1
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return 42.0;
|
||||
} else {
|
||||
return 0.0;
|
||||
}
|
||||
update_interval: 60s
|
||||
|
||||
climate:
|
||||
- platform: bang_bang
|
||||
name: Bang Bang Climate
|
||||
sensor: template_sensor1
|
||||
humidity_sensor: template_sensor1
|
||||
default_target_temperature_low: 18°C
|
||||
default_target_temperature_high: 24°C
|
||||
idle_action:
|
||||
- switch.turn_on: template_switch1
|
||||
cool_action:
|
||||
- switch.turn_on: template_switch2
|
||||
heat_action:
|
||||
- switch.turn_on: template_switch1
|
||||
away_config:
|
||||
default_target_temperature_low: 16°C
|
||||
default_target_temperature_high: 20°C
|
33
tests/components/bedjet/test.esp32-c3-idf.yaml
Normal file
33
tests/components/bedjet/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,33 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
time:
|
||||
- platform: sntp
|
||||
id: sntp_time
|
||||
servers:
|
||||
- 0.pool.ntp.org
|
||||
- 1.pool.ntp.org
|
||||
- 192.168.178.1
|
||||
|
||||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: bedjet_blec
|
||||
|
||||
bedjet:
|
||||
- id: bedjet_hub
|
||||
ble_client_id: bedjet_blec
|
||||
time_id: sntp_time
|
||||
|
||||
climate:
|
||||
- platform: bedjet
|
||||
name: My Bedjet
|
||||
bedjet_id: bedjet_hub
|
||||
heat_mode: extended
|
||||
|
||||
fan:
|
||||
- platform: bedjet
|
||||
name: My Bedjet fan
|
||||
bedjet_id: bedjet_hub
|
33
tests/components/bedjet/test.esp32-c3.yaml
Normal file
33
tests/components/bedjet/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,33 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
time:
|
||||
- platform: sntp
|
||||
id: sntp_time
|
||||
servers:
|
||||
- 0.pool.ntp.org
|
||||
- 1.pool.ntp.org
|
||||
- 192.168.178.1
|
||||
|
||||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: bedjet_blec
|
||||
|
||||
bedjet:
|
||||
- id: bedjet_hub
|
||||
ble_client_id: bedjet_blec
|
||||
time_id: sntp_time
|
||||
|
||||
climate:
|
||||
- platform: bedjet
|
||||
name: My Bedjet
|
||||
bedjet_id: bedjet_hub
|
||||
heat_mode: extended
|
||||
|
||||
fan:
|
||||
- platform: bedjet
|
||||
name: My Bedjet fan
|
||||
bedjet_id: bedjet_hub
|
33
tests/components/bedjet/test.esp32-idf.yaml
Normal file
33
tests/components/bedjet/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,33 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
time:
|
||||
- platform: sntp
|
||||
id: sntp_time
|
||||
servers:
|
||||
- 0.pool.ntp.org
|
||||
- 1.pool.ntp.org
|
||||
- 192.168.178.1
|
||||
|
||||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: bedjet_blec
|
||||
|
||||
bedjet:
|
||||
- id: bedjet_hub
|
||||
ble_client_id: bedjet_blec
|
||||
time_id: sntp_time
|
||||
|
||||
climate:
|
||||
- platform: bedjet
|
||||
name: My Bedjet
|
||||
bedjet_id: bedjet_hub
|
||||
heat_mode: extended
|
||||
|
||||
fan:
|
||||
- platform: bedjet
|
||||
name: My Bedjet fan
|
||||
bedjet_id: bedjet_hub
|
33
tests/components/bedjet/test.esp32.yaml
Normal file
33
tests/components/bedjet/test.esp32.yaml
Normal file
|
@ -0,0 +1,33 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
time:
|
||||
- platform: sntp
|
||||
id: sntp_time
|
||||
servers:
|
||||
- 0.pool.ntp.org
|
||||
- 1.pool.ntp.org
|
||||
- 192.168.178.1
|
||||
|
||||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: bedjet_blec
|
||||
|
||||
bedjet:
|
||||
- id: bedjet_hub
|
||||
ble_client_id: bedjet_blec
|
||||
time_id: sntp_time
|
||||
|
||||
climate:
|
||||
- platform: bedjet
|
||||
name: My Bedjet
|
||||
bedjet_id: bedjet_hub
|
||||
heat_mode: extended
|
||||
|
||||
fan:
|
||||
- platform: bedjet
|
||||
name: My Bedjet fan
|
||||
bedjet_id: bedjet_hub
|
10
tests/components/bh1750/test.esp32-c3-idf.yaml
Normal file
10
tests/components/bh1750/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
i2c:
|
||||
- id: i2c_bh1750
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: bh1750
|
||||
name: Living Room Brightness
|
||||
address: 0x23
|
||||
update_interval: 30s
|
10
tests/components/bh1750/test.esp32-c3.yaml
Normal file
10
tests/components/bh1750/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
i2c:
|
||||
- id: i2c_bh1750
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: bh1750
|
||||
name: Living Room Brightness
|
||||
address: 0x23
|
||||
update_interval: 30s
|
10
tests/components/bh1750/test.esp32-idf.yaml
Normal file
10
tests/components/bh1750/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
i2c:
|
||||
- id: i2c_bh1750
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: bh1750
|
||||
name: Living Room Brightness
|
||||
address: 0x23
|
||||
update_interval: 30s
|
10
tests/components/bh1750/test.esp32.yaml
Normal file
10
tests/components/bh1750/test.esp32.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
i2c:
|
||||
- id: i2c_bh1750
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: bh1750
|
||||
name: Living Room Brightness
|
||||
address: 0x23
|
||||
update_interval: 30s
|
10
tests/components/bh1750/test.esp8266.yaml
Normal file
10
tests/components/bh1750/test.esp8266.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
i2c:
|
||||
- id: i2c_bh1750
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: bh1750
|
||||
name: Living Room Brightness
|
||||
address: 0x23
|
||||
update_interval: 30s
|
10
tests/components/bh1750/test.rp2040.yaml
Normal file
10
tests/components/bh1750/test.rp2040.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
i2c:
|
||||
- id: i2c_bh1750
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: bh1750
|
||||
name: Living Room Brightness
|
||||
address: 0x23
|
||||
update_interval: 30s
|
61
tests/components/binary_sensor_map/test.esp32-c3-idf.yaml
Normal file
61
tests/components/binary_sensor_map/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,61 @@
|
|||
binary_sensor:
|
||||
- platform: template
|
||||
id: bin1
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
- platform: template
|
||||
id: bin2
|
||||
lambda: |-
|
||||
if (millis() > 20000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
- platform: template
|
||||
id: bin3
|
||||
lambda: |-
|
||||
if (millis() > 30000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
sensor:
|
||||
- platform: binary_sensor_map
|
||||
name: Binary Sensor Map
|
||||
type: group
|
||||
channels:
|
||||
- binary_sensor: bin1
|
||||
value: 10.0
|
||||
- binary_sensor: bin2
|
||||
value: 15.0
|
||||
- binary_sensor: bin3
|
||||
value: 100.0
|
||||
- platform: binary_sensor_map
|
||||
name: Binary Sensor Map
|
||||
type: sum
|
||||
channels:
|
||||
- binary_sensor: bin1
|
||||
value: 10.0
|
||||
- binary_sensor: bin2
|
||||
value: 15.0
|
||||
- binary_sensor: bin3
|
||||
value: 100.0
|
||||
- platform: binary_sensor_map
|
||||
name: Binary Sensor Map
|
||||
type: bayesian
|
||||
prior: 0.4
|
||||
observations:
|
||||
- binary_sensor: bin1
|
||||
prob_given_true: 0.9
|
||||
prob_given_false: 0.4
|
||||
- binary_sensor: bin2
|
||||
prob_given_true: 0.7
|
||||
prob_given_false: 0.05
|
||||
- binary_sensor: bin3
|
||||
prob_given_true: 0.8
|
||||
prob_given_false: 0.2
|
61
tests/components/binary_sensor_map/test.esp32-c3.yaml
Normal file
61
tests/components/binary_sensor_map/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,61 @@
|
|||
binary_sensor:
|
||||
- platform: template
|
||||
id: bin1
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
- platform: template
|
||||
id: bin2
|
||||
lambda: |-
|
||||
if (millis() > 20000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
- platform: template
|
||||
id: bin3
|
||||
lambda: |-
|
||||
if (millis() > 30000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
sensor:
|
||||
- platform: binary_sensor_map
|
||||
name: Binary Sensor Map
|
||||
type: group
|
||||
channels:
|
||||
- binary_sensor: bin1
|
||||
value: 10.0
|
||||
- binary_sensor: bin2
|
||||
value: 15.0
|
||||
- binary_sensor: bin3
|
||||
value: 100.0
|
||||
- platform: binary_sensor_map
|
||||
name: Binary Sensor Map
|
||||
type: sum
|
||||
channels:
|
||||
- binary_sensor: bin1
|
||||
value: 10.0
|
||||
- binary_sensor: bin2
|
||||
value: 15.0
|
||||
- binary_sensor: bin3
|
||||
value: 100.0
|
||||
- platform: binary_sensor_map
|
||||
name: Binary Sensor Map
|
||||
type: bayesian
|
||||
prior: 0.4
|
||||
observations:
|
||||
- binary_sensor: bin1
|
||||
prob_given_true: 0.9
|
||||
prob_given_false: 0.4
|
||||
- binary_sensor: bin2
|
||||
prob_given_true: 0.7
|
||||
prob_given_false: 0.05
|
||||
- binary_sensor: bin3
|
||||
prob_given_true: 0.8
|
||||
prob_given_false: 0.2
|
61
tests/components/binary_sensor_map/test.esp32-idf.yaml
Normal file
61
tests/components/binary_sensor_map/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,61 @@
|
|||
binary_sensor:
|
||||
- platform: template
|
||||
id: bin1
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
- platform: template
|
||||
id: bin2
|
||||
lambda: |-
|
||||
if (millis() > 20000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
- platform: template
|
||||
id: bin3
|
||||
lambda: |-
|
||||
if (millis() > 30000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
sensor:
|
||||
- platform: binary_sensor_map
|
||||
name: Binary Sensor Map
|
||||
type: group
|
||||
channels:
|
||||
- binary_sensor: bin1
|
||||
value: 10.0
|
||||
- binary_sensor: bin2
|
||||
value: 15.0
|
||||
- binary_sensor: bin3
|
||||
value: 100.0
|
||||
- platform: binary_sensor_map
|
||||
name: Binary Sensor Map
|
||||
type: sum
|
||||
channels:
|
||||
- binary_sensor: bin1
|
||||
value: 10.0
|
||||
- binary_sensor: bin2
|
||||
value: 15.0
|
||||
- binary_sensor: bin3
|
||||
value: 100.0
|
||||
- platform: binary_sensor_map
|
||||
name: Binary Sensor Map
|
||||
type: bayesian
|
||||
prior: 0.4
|
||||
observations:
|
||||
- binary_sensor: bin1
|
||||
prob_given_true: 0.9
|
||||
prob_given_false: 0.4
|
||||
- binary_sensor: bin2
|
||||
prob_given_true: 0.7
|
||||
prob_given_false: 0.05
|
||||
- binary_sensor: bin3
|
||||
prob_given_true: 0.8
|
||||
prob_given_false: 0.2
|
61
tests/components/binary_sensor_map/test.esp32.yaml
Normal file
61
tests/components/binary_sensor_map/test.esp32.yaml
Normal file
|
@ -0,0 +1,61 @@
|
|||
binary_sensor:
|
||||
- platform: template
|
||||
id: bin1
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
- platform: template
|
||||
id: bin2
|
||||
lambda: |-
|
||||
if (millis() > 20000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
- platform: template
|
||||
id: bin3
|
||||
lambda: |-
|
||||
if (millis() > 30000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
sensor:
|
||||
- platform: binary_sensor_map
|
||||
name: Binary Sensor Map
|
||||
type: group
|
||||
channels:
|
||||
- binary_sensor: bin1
|
||||
value: 10.0
|
||||
- binary_sensor: bin2
|
||||
value: 15.0
|
||||
- binary_sensor: bin3
|
||||
value: 100.0
|
||||
- platform: binary_sensor_map
|
||||
name: Binary Sensor Map
|
||||
type: sum
|
||||
channels:
|
||||
- binary_sensor: bin1
|
||||
value: 10.0
|
||||
- binary_sensor: bin2
|
||||
value: 15.0
|
||||
- binary_sensor: bin3
|
||||
value: 100.0
|
||||
- platform: binary_sensor_map
|
||||
name: Binary Sensor Map
|
||||
type: bayesian
|
||||
prior: 0.4
|
||||
observations:
|
||||
- binary_sensor: bin1
|
||||
prob_given_true: 0.9
|
||||
prob_given_false: 0.4
|
||||
- binary_sensor: bin2
|
||||
prob_given_true: 0.7
|
||||
prob_given_false: 0.05
|
||||
- binary_sensor: bin3
|
||||
prob_given_true: 0.8
|
||||
prob_given_false: 0.2
|
61
tests/components/binary_sensor_map/test.esp8266.yaml
Normal file
61
tests/components/binary_sensor_map/test.esp8266.yaml
Normal file
|
@ -0,0 +1,61 @@
|
|||
binary_sensor:
|
||||
- platform: template
|
||||
id: bin1
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
- platform: template
|
||||
id: bin2
|
||||
lambda: |-
|
||||
if (millis() > 20000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
- platform: template
|
||||
id: bin3
|
||||
lambda: |-
|
||||
if (millis() > 30000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
sensor:
|
||||
- platform: binary_sensor_map
|
||||
name: Binary Sensor Map
|
||||
type: group
|
||||
channels:
|
||||
- binary_sensor: bin1
|
||||
value: 10.0
|
||||
- binary_sensor: bin2
|
||||
value: 15.0
|
||||
- binary_sensor: bin3
|
||||
value: 100.0
|
||||
- platform: binary_sensor_map
|
||||
name: Binary Sensor Map
|
||||
type: sum
|
||||
channels:
|
||||
- binary_sensor: bin1
|
||||
value: 10.0
|
||||
- binary_sensor: bin2
|
||||
value: 15.0
|
||||
- binary_sensor: bin3
|
||||
value: 100.0
|
||||
- platform: binary_sensor_map
|
||||
name: Binary Sensor Map
|
||||
type: bayesian
|
||||
prior: 0.4
|
||||
observations:
|
||||
- binary_sensor: bin1
|
||||
prob_given_true: 0.9
|
||||
prob_given_false: 0.4
|
||||
- binary_sensor: bin2
|
||||
prob_given_true: 0.7
|
||||
prob_given_false: 0.05
|
||||
- binary_sensor: bin3
|
||||
prob_given_true: 0.8
|
||||
prob_given_false: 0.2
|
61
tests/components/binary_sensor_map/test.rp2040.yaml
Normal file
61
tests/components/binary_sensor_map/test.rp2040.yaml
Normal file
|
@ -0,0 +1,61 @@
|
|||
binary_sensor:
|
||||
- platform: template
|
||||
id: bin1
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
- platform: template
|
||||
id: bin2
|
||||
lambda: |-
|
||||
if (millis() > 20000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
- platform: template
|
||||
id: bin3
|
||||
lambda: |-
|
||||
if (millis() > 30000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
sensor:
|
||||
- platform: binary_sensor_map
|
||||
name: Binary Sensor Map
|
||||
type: group
|
||||
channels:
|
||||
- binary_sensor: bin1
|
||||
value: 10.0
|
||||
- binary_sensor: bin2
|
||||
value: 15.0
|
||||
- binary_sensor: bin3
|
||||
value: 100.0
|
||||
- platform: binary_sensor_map
|
||||
name: Binary Sensor Map
|
||||
type: sum
|
||||
channels:
|
||||
- binary_sensor: bin1
|
||||
value: 10.0
|
||||
- binary_sensor: bin2
|
||||
value: 15.0
|
||||
- binary_sensor: bin3
|
||||
value: 100.0
|
||||
- platform: binary_sensor_map
|
||||
name: Binary Sensor Map
|
||||
type: bayesian
|
||||
prior: 0.4
|
||||
observations:
|
||||
- binary_sensor: bin1
|
||||
prob_given_true: 0.9
|
||||
prob_given_false: 0.4
|
||||
- binary_sensor: bin2
|
||||
prob_given_true: 0.7
|
||||
prob_given_false: 0.05
|
||||
- binary_sensor: bin3
|
||||
prob_given_true: 0.8
|
||||
prob_given_false: 0.2
|
26
tests/components/bl0939/test.esp32-c3-idf.yaml
Normal file
26
tests/components/bl0939/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,26 @@
|
|||
uart:
|
||||
- id: uart_bl0939
|
||||
tx_pin:
|
||||
number: 4
|
||||
rx_pin:
|
||||
number: 5
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: bl0939
|
||||
voltage:
|
||||
name: BL0939 Voltage
|
||||
current_1:
|
||||
name: BL0939 Current 1
|
||||
current_2:
|
||||
name: BL0939 Current 2
|
||||
active_power_1:
|
||||
name: BL0939 Active Power 1
|
||||
active_power_2:
|
||||
name: BL0939 Active Power 2
|
||||
energy_1:
|
||||
name: BL0939 Energy 1
|
||||
energy_2:
|
||||
name: BL0939 Energy 2
|
||||
energy_total:
|
||||
name: BL0939 Total energy
|
26
tests/components/bl0939/test.esp32-c3.yaml
Normal file
26
tests/components/bl0939/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,26 @@
|
|||
uart:
|
||||
- id: uart_bl0939
|
||||
tx_pin:
|
||||
number: 4
|
||||
rx_pin:
|
||||
number: 5
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: bl0939
|
||||
voltage:
|
||||
name: BL0939 Voltage
|
||||
current_1:
|
||||
name: BL0939 Current 1
|
||||
current_2:
|
||||
name: BL0939 Current 2
|
||||
active_power_1:
|
||||
name: BL0939 Active Power 1
|
||||
active_power_2:
|
||||
name: BL0939 Active Power 2
|
||||
energy_1:
|
||||
name: BL0939 Energy 1
|
||||
energy_2:
|
||||
name: BL0939 Energy 2
|
||||
energy_total:
|
||||
name: BL0939 Total energy
|
26
tests/components/bl0939/test.esp32-idf.yaml
Normal file
26
tests/components/bl0939/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,26 @@
|
|||
uart:
|
||||
- id: uart_bl0939
|
||||
tx_pin:
|
||||
number: 17
|
||||
rx_pin:
|
||||
number: 16
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: bl0939
|
||||
voltage:
|
||||
name: BL0939 Voltage
|
||||
current_1:
|
||||
name: BL0939 Current 1
|
||||
current_2:
|
||||
name: BL0939 Current 2
|
||||
active_power_1:
|
||||
name: BL0939 Active Power 1
|
||||
active_power_2:
|
||||
name: BL0939 Active Power 2
|
||||
energy_1:
|
||||
name: BL0939 Energy 1
|
||||
energy_2:
|
||||
name: BL0939 Energy 2
|
||||
energy_total:
|
||||
name: BL0939 Total energy
|
26
tests/components/bl0939/test.esp32.yaml
Normal file
26
tests/components/bl0939/test.esp32.yaml
Normal file
|
@ -0,0 +1,26 @@
|
|||
uart:
|
||||
- id: uart_bl0939
|
||||
tx_pin:
|
||||
number: 17
|
||||
rx_pin:
|
||||
number: 16
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: bl0939
|
||||
voltage:
|
||||
name: BL0939 Voltage
|
||||
current_1:
|
||||
name: BL0939 Current 1
|
||||
current_2:
|
||||
name: BL0939 Current 2
|
||||
active_power_1:
|
||||
name: BL0939 Active Power 1
|
||||
active_power_2:
|
||||
name: BL0939 Active Power 2
|
||||
energy_1:
|
||||
name: BL0939 Energy 1
|
||||
energy_2:
|
||||
name: BL0939 Energy 2
|
||||
energy_total:
|
||||
name: BL0939 Total energy
|
26
tests/components/bl0939/test.esp8266.yaml
Normal file
26
tests/components/bl0939/test.esp8266.yaml
Normal file
|
@ -0,0 +1,26 @@
|
|||
uart:
|
||||
- id: uart_bl0939
|
||||
tx_pin:
|
||||
number: 4
|
||||
rx_pin:
|
||||
number: 5
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: bl0939
|
||||
voltage:
|
||||
name: BL0939 Voltage
|
||||
current_1:
|
||||
name: BL0939 Current 1
|
||||
current_2:
|
||||
name: BL0939 Current 2
|
||||
active_power_1:
|
||||
name: BL0939 Active Power 1
|
||||
active_power_2:
|
||||
name: BL0939 Active Power 2
|
||||
energy_1:
|
||||
name: BL0939 Energy 1
|
||||
energy_2:
|
||||
name: BL0939 Energy 2
|
||||
energy_total:
|
||||
name: BL0939 Total energy
|
26
tests/components/bl0939/test.rp2040.yaml
Normal file
26
tests/components/bl0939/test.rp2040.yaml
Normal file
|
@ -0,0 +1,26 @@
|
|||
uart:
|
||||
- id: uart_bl0939
|
||||
tx_pin:
|
||||
number: 4
|
||||
rx_pin:
|
||||
number: 5
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: bl0939
|
||||
voltage:
|
||||
name: BL0939 Voltage
|
||||
current_1:
|
||||
name: BL0939 Current 1
|
||||
current_2:
|
||||
name: BL0939 Current 2
|
||||
active_power_1:
|
||||
name: BL0939 Active Power 1
|
||||
active_power_2:
|
||||
name: BL0939 Active Power 2
|
||||
energy_1:
|
||||
name: BL0939 Energy 1
|
||||
energy_2:
|
||||
name: BL0939 Energy 2
|
||||
energy_total:
|
||||
name: BL0939 Total energy
|
22
tests/components/bl0940/test.esp32-c3-idf.yaml
Normal file
22
tests/components/bl0940/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
uart:
|
||||
- id: uart_bl0939
|
||||
tx_pin:
|
||||
number: 4
|
||||
rx_pin:
|
||||
number: 5
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: bl0940
|
||||
voltage:
|
||||
name: BL0940 Voltage
|
||||
current:
|
||||
name: BL0940 Current
|
||||
power:
|
||||
name: BL0940 Power
|
||||
energy:
|
||||
name: BL0940 Energy
|
||||
internal_temperature:
|
||||
name: BL0940 Internal temperature
|
||||
external_temperature:
|
||||
name: BL0940 External temperature
|
22
tests/components/bl0940/test.esp32-c3.yaml
Normal file
22
tests/components/bl0940/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
uart:
|
||||
- id: uart_bl0939
|
||||
tx_pin:
|
||||
number: 4
|
||||
rx_pin:
|
||||
number: 5
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: bl0940
|
||||
voltage:
|
||||
name: BL0940 Voltage
|
||||
current:
|
||||
name: BL0940 Current
|
||||
power:
|
||||
name: BL0940 Power
|
||||
energy:
|
||||
name: BL0940 Energy
|
||||
internal_temperature:
|
||||
name: BL0940 Internal temperature
|
||||
external_temperature:
|
||||
name: BL0940 External temperature
|
22
tests/components/bl0940/test.esp32-idf.yaml
Normal file
22
tests/components/bl0940/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
uart:
|
||||
- id: uart_bl0939
|
||||
tx_pin:
|
||||
number: 17
|
||||
rx_pin:
|
||||
number: 16
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: bl0940
|
||||
voltage:
|
||||
name: BL0940 Voltage
|
||||
current:
|
||||
name: BL0940 Current
|
||||
power:
|
||||
name: BL0940 Power
|
||||
energy:
|
||||
name: BL0940 Energy
|
||||
internal_temperature:
|
||||
name: BL0940 Internal temperature
|
||||
external_temperature:
|
||||
name: BL0940 External temperature
|
22
tests/components/bl0940/test.esp32.yaml
Normal file
22
tests/components/bl0940/test.esp32.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
uart:
|
||||
- id: uart_bl0939
|
||||
tx_pin:
|
||||
number: 17
|
||||
rx_pin:
|
||||
number: 16
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: bl0940
|
||||
voltage:
|
||||
name: BL0940 Voltage
|
||||
current:
|
||||
name: BL0940 Current
|
||||
power:
|
||||
name: BL0940 Power
|
||||
energy:
|
||||
name: BL0940 Energy
|
||||
internal_temperature:
|
||||
name: BL0940 Internal temperature
|
||||
external_temperature:
|
||||
name: BL0940 External temperature
|
22
tests/components/bl0940/test.esp8266.yaml
Normal file
22
tests/components/bl0940/test.esp8266.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
uart:
|
||||
- id: uart_bl0939
|
||||
tx_pin:
|
||||
number: 4
|
||||
rx_pin:
|
||||
number: 5
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: bl0940
|
||||
voltage:
|
||||
name: BL0940 Voltage
|
||||
current:
|
||||
name: BL0940 Current
|
||||
power:
|
||||
name: BL0940 Power
|
||||
energy:
|
||||
name: BL0940 Energy
|
||||
internal_temperature:
|
||||
name: BL0940 Internal temperature
|
||||
external_temperature:
|
||||
name: BL0940 External temperature
|
22
tests/components/bl0940/test.rp2040.yaml
Normal file
22
tests/components/bl0940/test.rp2040.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
uart:
|
||||
- id: uart_bl0939
|
||||
tx_pin:
|
||||
number: 4
|
||||
rx_pin:
|
||||
number: 5
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: bl0940
|
||||
voltage:
|
||||
name: BL0940 Voltage
|
||||
current:
|
||||
name: BL0940 Current
|
||||
power:
|
||||
name: BL0940 Power
|
||||
energy:
|
||||
name: BL0940 Energy
|
||||
internal_temperature:
|
||||
name: BL0940 Internal temperature
|
||||
external_temperature:
|
||||
name: BL0940 External temperature
|
20
tests/components/bl0942/test.esp32-c3-idf.yaml
Normal file
20
tests/components/bl0942/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
uart:
|
||||
- id: uart_bl0939
|
||||
tx_pin:
|
||||
number: 4
|
||||
rx_pin:
|
||||
number: 5
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: bl0942
|
||||
voltage:
|
||||
name: BL0942 Voltage
|
||||
current:
|
||||
name: BL0942 Current
|
||||
power:
|
||||
name: BL0942 Power
|
||||
energy:
|
||||
name: BL0942 Energy
|
||||
frequency:
|
||||
name: BL0942 Frequency
|
20
tests/components/bl0942/test.esp32-c3.yaml
Normal file
20
tests/components/bl0942/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
uart:
|
||||
- id: uart_bl0939
|
||||
tx_pin:
|
||||
number: 4
|
||||
rx_pin:
|
||||
number: 5
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: bl0942
|
||||
voltage:
|
||||
name: BL0942 Voltage
|
||||
current:
|
||||
name: BL0942 Current
|
||||
power:
|
||||
name: BL0942 Power
|
||||
energy:
|
||||
name: BL0942 Energy
|
||||
frequency:
|
||||
name: BL0942 Frequency
|
20
tests/components/bl0942/test.esp32-idf.yaml
Normal file
20
tests/components/bl0942/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
uart:
|
||||
- id: uart_bl0939
|
||||
tx_pin:
|
||||
number: 17
|
||||
rx_pin:
|
||||
number: 16
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: bl0942
|
||||
voltage:
|
||||
name: BL0942 Voltage
|
||||
current:
|
||||
name: BL0942 Current
|
||||
power:
|
||||
name: BL0942 Power
|
||||
energy:
|
||||
name: BL0942 Energy
|
||||
frequency:
|
||||
name: BL0942 Frequency
|
20
tests/components/bl0942/test.esp32.yaml
Normal file
20
tests/components/bl0942/test.esp32.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
uart:
|
||||
- id: uart_bl0939
|
||||
tx_pin:
|
||||
number: 17
|
||||
rx_pin:
|
||||
number: 16
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: bl0942
|
||||
voltage:
|
||||
name: BL0942 Voltage
|
||||
current:
|
||||
name: BL0942 Current
|
||||
power:
|
||||
name: BL0942 Power
|
||||
energy:
|
||||
name: BL0942 Energy
|
||||
frequency:
|
||||
name: BL0942 Frequency
|
20
tests/components/bl0942/test.esp8266.yaml
Normal file
20
tests/components/bl0942/test.esp8266.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
uart:
|
||||
- id: uart_bl0939
|
||||
tx_pin:
|
||||
number: 4
|
||||
rx_pin:
|
||||
number: 5
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: bl0942
|
||||
voltage:
|
||||
name: BL0942 Voltage
|
||||
current:
|
||||
name: BL0942 Current
|
||||
power:
|
||||
name: BL0942 Power
|
||||
energy:
|
||||
name: BL0942 Energy
|
||||
frequency:
|
||||
name: BL0942 Frequency
|
20
tests/components/bl0942/test.rp2040.yaml
Normal file
20
tests/components/bl0942/test.rp2040.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
uart:
|
||||
- id: uart_bl0939
|
||||
tx_pin:
|
||||
number: 4
|
||||
rx_pin:
|
||||
number: 5
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: bl0942
|
||||
voltage:
|
||||
name: BL0942 Voltage
|
||||
current:
|
||||
name: BL0942 Current
|
||||
power:
|
||||
name: BL0942 Power
|
||||
energy:
|
||||
name: BL0942 Energy
|
||||
frequency:
|
||||
name: BL0942 Frequency
|
5
tests/components/ble_client/test.esp32-c3-idf.yaml
Normal file
5
tests/components/ble_client/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: test_blec
|
5
tests/components/ble_client/test.esp32-c3.yaml
Normal file
5
tests/components/ble_client/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: test_blec
|
5
tests/components/ble_client/test.esp32-idf.yaml
Normal file
5
tests/components/ble_client/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: test_blec
|
5
tests/components/ble_client/test.esp32.yaml
Normal file
5
tests/components/ble_client/test.esp32.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: test_blec
|
20
tests/components/ble_presence/test.esp32-c3-idf.yaml
Normal file
20
tests/components/ble_presence/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
binary_sensor:
|
||||
- platform: ble_presence
|
||||
mac_address: AC:37:43:77:5F:4C
|
||||
name: ESP32 BLE Tracker Google Home Mini
|
||||
- platform: ble_presence
|
||||
service_uuid: 11aa
|
||||
name: BLE Test Service 16 Presence
|
||||
- platform: ble_presence
|
||||
service_uuid: "11223344"
|
||||
name: BLE Test Service 32 Presence
|
||||
- platform: ble_presence
|
||||
service_uuid: 11223344-5566-7788-99aa-bbccddeeff00
|
||||
name: BLE Test Service 128 Presence
|
||||
- platform: ble_presence
|
||||
ibeacon_uuid: 11223344-5566-7788-99aa-bbccddeeff00
|
||||
ibeacon_major: 100
|
||||
ibeacon_minor: 1
|
||||
name: BLE Test iBeacon Presence
|
20
tests/components/ble_presence/test.esp32-c3.yaml
Normal file
20
tests/components/ble_presence/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
binary_sensor:
|
||||
- platform: ble_presence
|
||||
mac_address: AC:37:43:77:5F:4C
|
||||
name: ESP32 BLE Tracker Google Home Mini
|
||||
- platform: ble_presence
|
||||
service_uuid: 11aa
|
||||
name: BLE Test Service 16 Presence
|
||||
- platform: ble_presence
|
||||
service_uuid: "11223344"
|
||||
name: BLE Test Service 32 Presence
|
||||
- platform: ble_presence
|
||||
service_uuid: 11223344-5566-7788-99aa-bbccddeeff00
|
||||
name: BLE Test Service 128 Presence
|
||||
- platform: ble_presence
|
||||
ibeacon_uuid: 11223344-5566-7788-99aa-bbccddeeff00
|
||||
ibeacon_major: 100
|
||||
ibeacon_minor: 1
|
||||
name: BLE Test iBeacon Presence
|
20
tests/components/ble_presence/test.esp32-idf.yaml
Normal file
20
tests/components/ble_presence/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
binary_sensor:
|
||||
- platform: ble_presence
|
||||
mac_address: AC:37:43:77:5F:4C
|
||||
name: ESP32 BLE Tracker Google Home Mini
|
||||
- platform: ble_presence
|
||||
service_uuid: 11aa
|
||||
name: BLE Test Service 16 Presence
|
||||
- platform: ble_presence
|
||||
service_uuid: "11223344"
|
||||
name: BLE Test Service 32 Presence
|
||||
- platform: ble_presence
|
||||
service_uuid: 11223344-5566-7788-99aa-bbccddeeff00
|
||||
name: BLE Test Service 128 Presence
|
||||
- platform: ble_presence
|
||||
ibeacon_uuid: 11223344-5566-7788-99aa-bbccddeeff00
|
||||
ibeacon_major: 100
|
||||
ibeacon_minor: 1
|
||||
name: BLE Test iBeacon Presence
|
20
tests/components/ble_presence/test.esp32.yaml
Normal file
20
tests/components/ble_presence/test.esp32.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
binary_sensor:
|
||||
- platform: ble_presence
|
||||
mac_address: AC:37:43:77:5F:4C
|
||||
name: ESP32 BLE Tracker Google Home Mini
|
||||
- platform: ble_presence
|
||||
service_uuid: 11aa
|
||||
name: BLE Test Service 16 Presence
|
||||
- platform: ble_presence
|
||||
service_uuid: "11223344"
|
||||
name: BLE Test Service 32 Presence
|
||||
- platform: ble_presence
|
||||
service_uuid: 11223344-5566-7788-99aa-bbccddeeff00
|
||||
name: BLE Test Service 128 Presence
|
||||
- platform: ble_presence
|
||||
ibeacon_uuid: 11223344-5566-7788-99aa-bbccddeeff00
|
||||
ibeacon_major: 100
|
||||
ibeacon_minor: 1
|
||||
name: BLE Test iBeacon Presence
|
18
tests/components/ble_rssi/test.esp32-c3-idf.yaml
Normal file
18
tests/components/ble_rssi/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: ble_rssi
|
||||
mac_address: AC:37:43:77:5F:4C
|
||||
name: BLE Google Home Mini RSSI value
|
||||
- platform: ble_rssi
|
||||
service_uuid: 11aa
|
||||
name: BLE Test Service 16
|
||||
- platform: ble_rssi
|
||||
service_uuid: "11223344"
|
||||
name: BLE Test Service 32
|
||||
- platform: ble_rssi
|
||||
service_uuid: 11223344-5566-7788-99aa-bbccddeeff00
|
||||
name: BLE Test Service 128
|
||||
- platform: ble_rssi
|
||||
service_uuid: 11223344-5566-7788-99aa-bbccddeeff00
|
||||
name: BLE Test iBeacon UUID
|
18
tests/components/ble_rssi/test.esp32-c3.yaml
Normal file
18
tests/components/ble_rssi/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: ble_rssi
|
||||
mac_address: AC:37:43:77:5F:4C
|
||||
name: BLE Google Home Mini RSSI value
|
||||
- platform: ble_rssi
|
||||
service_uuid: 11aa
|
||||
name: BLE Test Service 16
|
||||
- platform: ble_rssi
|
||||
service_uuid: "11223344"
|
||||
name: BLE Test Service 32
|
||||
- platform: ble_rssi
|
||||
service_uuid: 11223344-5566-7788-99aa-bbccddeeff00
|
||||
name: BLE Test Service 128
|
||||
- platform: ble_rssi
|
||||
service_uuid: 11223344-5566-7788-99aa-bbccddeeff00
|
||||
name: BLE Test iBeacon UUID
|
18
tests/components/ble_rssi/test.esp32-idf.yaml
Normal file
18
tests/components/ble_rssi/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: ble_rssi
|
||||
mac_address: AC:37:43:77:5F:4C
|
||||
name: BLE Google Home Mini RSSI value
|
||||
- platform: ble_rssi
|
||||
service_uuid: 11aa
|
||||
name: BLE Test Service 16
|
||||
- platform: ble_rssi
|
||||
service_uuid: "11223344"
|
||||
name: BLE Test Service 32
|
||||
- platform: ble_rssi
|
||||
service_uuid: 11223344-5566-7788-99aa-bbccddeeff00
|
||||
name: BLE Test Service 128
|
||||
- platform: ble_rssi
|
||||
service_uuid: 11223344-5566-7788-99aa-bbccddeeff00
|
||||
name: BLE Test iBeacon UUID
|
18
tests/components/ble_rssi/test.esp32.yaml
Normal file
18
tests/components/ble_rssi/test.esp32.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: ble_rssi
|
||||
mac_address: AC:37:43:77:5F:4C
|
||||
name: BLE Google Home Mini RSSI value
|
||||
- platform: ble_rssi
|
||||
service_uuid: 11aa
|
||||
name: BLE Test Service 16
|
||||
- platform: ble_rssi
|
||||
service_uuid: "11223344"
|
||||
name: BLE Test Service 32
|
||||
- platform: ble_rssi
|
||||
service_uuid: 11223344-5566-7788-99aa-bbccddeeff00
|
||||
name: BLE Test Service 128
|
||||
- platform: ble_rssi
|
||||
service_uuid: 11223344-5566-7788-99aa-bbccddeeff00
|
||||
name: BLE Test iBeacon UUID
|
5
tests/components/ble_scanner/test.esp32-c3-idf.yaml
Normal file
5
tests/components/ble_scanner/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
text_sensor:
|
||||
- platform: ble_scanner
|
||||
name: Scanner
|
5
tests/components/ble_scanner/test.esp32-c3.yaml
Normal file
5
tests/components/ble_scanner/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
text_sensor:
|
||||
- platform: ble_scanner
|
||||
name: Scanner
|
5
tests/components/ble_scanner/test.esp32-idf.yaml
Normal file
5
tests/components/ble_scanner/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
text_sensor:
|
||||
- platform: ble_scanner
|
||||
name: Scanner
|
5
tests/components/ble_scanner/test.esp32.yaml
Normal file
5
tests/components/ble_scanner/test.esp32.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
text_sensor:
|
||||
- platform: ble_scanner
|
||||
name: Scanner
|
18
tests/components/bme280_i2c/test.esp32-c3-idf.yaml
Normal file
18
tests/components/bme280_i2c/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
i2c:
|
||||
- id: i2c_bme280
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: bme280_i2c
|
||||
address: 0x76
|
||||
temperature:
|
||||
id: bme280_temperature
|
||||
name: BME280 Temperature
|
||||
humidity:
|
||||
id: bme280_humidity
|
||||
name: BME280 Humidity
|
||||
pressure:
|
||||
id: bme280_pressure
|
||||
name: BME280 Pressure
|
||||
update_interval: 15s
|
18
tests/components/bme280_i2c/test.esp32-c3.yaml
Normal file
18
tests/components/bme280_i2c/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
i2c:
|
||||
- id: i2c_bme280
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: bme280_i2c
|
||||
address: 0x76
|
||||
temperature:
|
||||
id: bme280_temperature
|
||||
name: BME280 Temperature
|
||||
humidity:
|
||||
id: bme280_humidity
|
||||
name: BME280 Humidity
|
||||
pressure:
|
||||
id: bme280_pressure
|
||||
name: BME280 Pressure
|
||||
update_interval: 15s
|
18
tests/components/bme280_i2c/test.esp32-idf.yaml
Normal file
18
tests/components/bme280_i2c/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
i2c:
|
||||
- id: i2c_bme280
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: bme280_i2c
|
||||
address: 0x76
|
||||
temperature:
|
||||
id: bme280_temperature
|
||||
name: BME280 Temperature
|
||||
humidity:
|
||||
id: bme280_humidity
|
||||
name: BME280 Humidity
|
||||
pressure:
|
||||
id: bme280_pressure
|
||||
name: BME280 Pressure
|
||||
update_interval: 15s
|
18
tests/components/bme280_i2c/test.esp32.yaml
Normal file
18
tests/components/bme280_i2c/test.esp32.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
i2c:
|
||||
- id: i2c_bme280
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: bme280_i2c
|
||||
address: 0x76
|
||||
temperature:
|
||||
id: bme280_temperature
|
||||
name: BME280 Temperature
|
||||
humidity:
|
||||
id: bme280_humidity
|
||||
name: BME280 Humidity
|
||||
pressure:
|
||||
id: bme280_pressure
|
||||
name: BME280 Pressure
|
||||
update_interval: 15s
|
18
tests/components/bme280_i2c/test.esp8266.yaml
Normal file
18
tests/components/bme280_i2c/test.esp8266.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
i2c:
|
||||
- id: i2c_bme280
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: bme280_i2c
|
||||
address: 0x76
|
||||
temperature:
|
||||
id: bme280_temperature
|
||||
name: BME280 Temperature
|
||||
humidity:
|
||||
id: bme280_humidity
|
||||
name: BME280 Humidity
|
||||
pressure:
|
||||
id: bme280_pressure
|
||||
name: BME280 Pressure
|
||||
update_interval: 15s
|
18
tests/components/bme280_i2c/test.rp2040.yaml
Normal file
18
tests/components/bme280_i2c/test.rp2040.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
i2c:
|
||||
- id: i2c_bme280
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: bme280_i2c
|
||||
address: 0x76
|
||||
temperature:
|
||||
id: bme280_temperature
|
||||
name: BME280 Temperature
|
||||
humidity:
|
||||
id: bme280_humidity
|
||||
name: BME280 Humidity
|
||||
pressure:
|
||||
id: bme280_pressure
|
||||
name: BME280 Pressure
|
||||
update_interval: 15s
|
19
tests/components/bme280_spi/test.esp32-c3-idf.yaml
Normal file
19
tests/components/bme280_spi/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
spi:
|
||||
- id: spi_bme280
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
sensor:
|
||||
- platform: bme280_spi
|
||||
cs_pin: 8
|
||||
temperature:
|
||||
id: bme280_temperature
|
||||
name: BME280 Temperature
|
||||
humidity:
|
||||
id: bme280_humidity
|
||||
name: BME280 Humidity
|
||||
pressure:
|
||||
id: bme280_pressure
|
||||
name: BME280 Pressure
|
||||
update_interval: 15s
|
19
tests/components/bme280_spi/test.esp32-c3.yaml
Normal file
19
tests/components/bme280_spi/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
spi:
|
||||
- id: spi_bme280
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
sensor:
|
||||
- platform: bme280_spi
|
||||
cs_pin: 8
|
||||
temperature:
|
||||
id: bme280_temperature
|
||||
name: BME280 Temperature
|
||||
humidity:
|
||||
id: bme280_humidity
|
||||
name: BME280 Humidity
|
||||
pressure:
|
||||
id: bme280_pressure
|
||||
name: BME280 Pressure
|
||||
update_interval: 15s
|
19
tests/components/bme280_spi/test.esp32-idf.yaml
Normal file
19
tests/components/bme280_spi/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
spi:
|
||||
- id: spi_bme280
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
sensor:
|
||||
- platform: bme280_spi
|
||||
cs_pin: 12
|
||||
temperature:
|
||||
id: bme280_temperature
|
||||
name: BME280 Temperature
|
||||
humidity:
|
||||
id: bme280_humidity
|
||||
name: BME280 Humidity
|
||||
pressure:
|
||||
id: bme280_pressure
|
||||
name: BME280 Pressure
|
||||
update_interval: 15s
|
19
tests/components/bme280_spi/test.esp32.yaml
Normal file
19
tests/components/bme280_spi/test.esp32.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
spi:
|
||||
- id: spi_bme280
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
sensor:
|
||||
- platform: bme280_spi
|
||||
cs_pin: 12
|
||||
temperature:
|
||||
id: bme280_temperature
|
||||
name: BME280 Temperature
|
||||
humidity:
|
||||
id: bme280_humidity
|
||||
name: BME280 Humidity
|
||||
pressure:
|
||||
id: bme280_pressure
|
||||
name: BME280 Pressure
|
||||
update_interval: 15s
|
19
tests/components/bme280_spi/test.esp8266.yaml
Normal file
19
tests/components/bme280_spi/test.esp8266.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
spi:
|
||||
- id: spi_bme280
|
||||
clk_pin: 14
|
||||
mosi_pin: 13
|
||||
miso_pin: 12
|
||||
|
||||
sensor:
|
||||
- platform: bme280_spi
|
||||
cs_pin: 15
|
||||
temperature:
|
||||
id: bme280_temperature
|
||||
name: BME280 Temperature
|
||||
humidity:
|
||||
id: bme280_humidity
|
||||
name: BME280 Humidity
|
||||
pressure:
|
||||
id: bme280_pressure
|
||||
name: BME280 Pressure
|
||||
update_interval: 15s
|
19
tests/components/bme280_spi/test.rp2040.yaml
Normal file
19
tests/components/bme280_spi/test.rp2040.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
spi:
|
||||
- id: spi_bme280
|
||||
clk_pin: 2
|
||||
mosi_pin: 3
|
||||
miso_pin: 4
|
||||
|
||||
sensor:
|
||||
- platform: bme280_spi
|
||||
cs_pin: 6
|
||||
temperature:
|
||||
id: bme280_temperature
|
||||
name: BME280 Temperature
|
||||
humidity:
|
||||
id: bme280_humidity
|
||||
name: BME280 Humidity
|
||||
pressure:
|
||||
id: bme280_pressure
|
||||
name: BME280 Pressure
|
||||
update_interval: 15s
|
21
tests/components/bme680/test.esp32-c3-idf.yaml
Normal file
21
tests/components/bme680/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
i2c:
|
||||
- id: i2c_bme680
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: bme680
|
||||
temperature:
|
||||
name: BME680 Temperature
|
||||
oversampling: 16x
|
||||
pressure:
|
||||
name: BME680 Pressure
|
||||
humidity:
|
||||
name: BME680 Humidity
|
||||
gas_resistance:
|
||||
name: BME680 Gas Sensor
|
||||
address: 0x77
|
||||
heater:
|
||||
temperature: 320
|
||||
duration: 150ms
|
||||
update_interval: 15s
|
21
tests/components/bme680/test.esp32-c3.yaml
Normal file
21
tests/components/bme680/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
i2c:
|
||||
- id: i2c_bme680
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: bme680
|
||||
temperature:
|
||||
name: BME680 Temperature
|
||||
oversampling: 16x
|
||||
pressure:
|
||||
name: BME680 Pressure
|
||||
humidity:
|
||||
name: BME680 Humidity
|
||||
gas_resistance:
|
||||
name: BME680 Gas Sensor
|
||||
address: 0x77
|
||||
heater:
|
||||
temperature: 320
|
||||
duration: 150ms
|
||||
update_interval: 15s
|
21
tests/components/bme680/test.esp32-idf.yaml
Normal file
21
tests/components/bme680/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
i2c:
|
||||
- id: i2c_bme680
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: bme680
|
||||
temperature:
|
||||
name: BME680 Temperature
|
||||
oversampling: 16x
|
||||
pressure:
|
||||
name: BME680 Pressure
|
||||
humidity:
|
||||
name: BME680 Humidity
|
||||
gas_resistance:
|
||||
name: BME680 Gas Sensor
|
||||
address: 0x77
|
||||
heater:
|
||||
temperature: 320
|
||||
duration: 150ms
|
||||
update_interval: 15s
|
21
tests/components/bme680/test.esp32.yaml
Normal file
21
tests/components/bme680/test.esp32.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
i2c:
|
||||
- id: i2c_bme680
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: bme680
|
||||
temperature:
|
||||
name: BME680 Temperature
|
||||
oversampling: 16x
|
||||
pressure:
|
||||
name: BME680 Pressure
|
||||
humidity:
|
||||
name: BME680 Humidity
|
||||
gas_resistance:
|
||||
name: BME680 Gas Sensor
|
||||
address: 0x77
|
||||
heater:
|
||||
temperature: 320
|
||||
duration: 150ms
|
||||
update_interval: 15s
|
21
tests/components/bme680/test.esp8266.yaml
Normal file
21
tests/components/bme680/test.esp8266.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
i2c:
|
||||
- id: i2c_bme680
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: bme680
|
||||
temperature:
|
||||
name: BME680 Temperature
|
||||
oversampling: 16x
|
||||
pressure:
|
||||
name: BME680 Pressure
|
||||
humidity:
|
||||
name: BME680 Humidity
|
||||
gas_resistance:
|
||||
name: BME680 Gas Sensor
|
||||
address: 0x77
|
||||
heater:
|
||||
temperature: 320
|
||||
duration: 150ms
|
||||
update_interval: 15s
|
21
tests/components/bme680/test.rp2040.yaml
Normal file
21
tests/components/bme680/test.rp2040.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
i2c:
|
||||
- id: i2c_bme680
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: bme680
|
||||
temperature:
|
||||
name: BME680 Temperature
|
||||
oversampling: 16x
|
||||
pressure:
|
||||
name: BME680 Pressure
|
||||
humidity:
|
||||
name: BME680 Humidity
|
||||
gas_resistance:
|
||||
name: BME680 Gas Sensor
|
||||
address: 0x77
|
||||
heater:
|
||||
temperature: 320
|
||||
duration: 150ms
|
||||
update_interval: 15s
|
29
tests/components/bme680_bsec/test.esp32.yaml
Normal file
29
tests/components/bme680_bsec/test.esp32.yaml
Normal file
|
@ -0,0 +1,29 @@
|
|||
i2c:
|
||||
- id: i2c_bme680
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
bme680_bsec:
|
||||
address: 0x77
|
||||
|
||||
sensor:
|
||||
- platform: bme680_bsec
|
||||
temperature:
|
||||
name: BME680 Temperature
|
||||
pressure:
|
||||
name: BME680 Pressure
|
||||
humidity:
|
||||
name: BME680 Humidity
|
||||
gas_resistance:
|
||||
name: BME680 Gas Sensor
|
||||
iaq:
|
||||
name: BME680 IAQ
|
||||
co2_equivalent:
|
||||
name: BME680 eCO2
|
||||
breath_voc_equivalent:
|
||||
name: BME680 Breath eVOC
|
||||
|
||||
text_sensor:
|
||||
- platform: bme680_bsec
|
||||
iaq_accuracy:
|
||||
name: BME680 Accuracy
|
29
tests/components/bme680_bsec/test.esp8266.yaml
Normal file
29
tests/components/bme680_bsec/test.esp8266.yaml
Normal file
|
@ -0,0 +1,29 @@
|
|||
i2c:
|
||||
- id: i2c_bme680
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
bme680_bsec:
|
||||
address: 0x77
|
||||
|
||||
sensor:
|
||||
- platform: bme680_bsec
|
||||
temperature:
|
||||
name: BME680 Temperature
|
||||
pressure:
|
||||
name: BME680 Pressure
|
||||
humidity:
|
||||
name: BME680 Humidity
|
||||
gas_resistance:
|
||||
name: BME680 Gas Sensor
|
||||
iaq:
|
||||
name: BME680 IAQ
|
||||
co2_equivalent:
|
||||
name: BME680 eCO2
|
||||
breath_voc_equivalent:
|
||||
name: BME680 Breath eVOC
|
||||
|
||||
text_sensor:
|
||||
- platform: bme680_bsec
|
||||
iaq_accuracy:
|
||||
name: BME680 Accuracy
|
22
tests/components/bmi160/test.esp32-c3-idf.yaml
Normal file
22
tests/components/bmi160/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
i2c:
|
||||
- id: i2c_bmi160
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: bmi160
|
||||
address: 0x68
|
||||
acceleration_x:
|
||||
name: BMI160 Accel X
|
||||
acceleration_y:
|
||||
name: BMI160 Accel Y
|
||||
acceleration_z:
|
||||
name: BMI160 Accel z
|
||||
gyroscope_x:
|
||||
name: BMI160 Gyro X
|
||||
gyroscope_y:
|
||||
name: BMI160 Gyro Y
|
||||
gyroscope_z:
|
||||
name: BMI160 Gyro z
|
||||
temperature:
|
||||
name: BMI160 Temperature
|
22
tests/components/bmi160/test.esp32-c3.yaml
Normal file
22
tests/components/bmi160/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
i2c:
|
||||
- id: i2c_bmi160
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: bmi160
|
||||
address: 0x68
|
||||
acceleration_x:
|
||||
name: BMI160 Accel X
|
||||
acceleration_y:
|
||||
name: BMI160 Accel Y
|
||||
acceleration_z:
|
||||
name: BMI160 Accel z
|
||||
gyroscope_x:
|
||||
name: BMI160 Gyro X
|
||||
gyroscope_y:
|
||||
name: BMI160 Gyro Y
|
||||
gyroscope_z:
|
||||
name: BMI160 Gyro z
|
||||
temperature:
|
||||
name: BMI160 Temperature
|
22
tests/components/bmi160/test.esp32-idf.yaml
Normal file
22
tests/components/bmi160/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
i2c:
|
||||
- id: i2c_bmi160
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: bmi160
|
||||
address: 0x68
|
||||
acceleration_x:
|
||||
name: BMI160 Accel X
|
||||
acceleration_y:
|
||||
name: BMI160 Accel Y
|
||||
acceleration_z:
|
||||
name: BMI160 Accel z
|
||||
gyroscope_x:
|
||||
name: BMI160 Gyro X
|
||||
gyroscope_y:
|
||||
name: BMI160 Gyro Y
|
||||
gyroscope_z:
|
||||
name: BMI160 Gyro z
|
||||
temperature:
|
||||
name: BMI160 Temperature
|
22
tests/components/bmi160/test.esp32.yaml
Normal file
22
tests/components/bmi160/test.esp32.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
i2c:
|
||||
- id: i2c_bmi160
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: bmi160
|
||||
address: 0x68
|
||||
acceleration_x:
|
||||
name: BMI160 Accel X
|
||||
acceleration_y:
|
||||
name: BMI160 Accel Y
|
||||
acceleration_z:
|
||||
name: BMI160 Accel z
|
||||
gyroscope_x:
|
||||
name: BMI160 Gyro X
|
||||
gyroscope_y:
|
||||
name: BMI160 Gyro Y
|
||||
gyroscope_z:
|
||||
name: BMI160 Gyro z
|
||||
temperature:
|
||||
name: BMI160 Temperature
|
22
tests/components/bmi160/test.esp8266.yaml
Normal file
22
tests/components/bmi160/test.esp8266.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
i2c:
|
||||
- id: i2c_bmi160
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: bmi160
|
||||
address: 0x68
|
||||
acceleration_x:
|
||||
name: BMI160 Accel X
|
||||
acceleration_y:
|
||||
name: BMI160 Accel Y
|
||||
acceleration_z:
|
||||
name: BMI160 Accel z
|
||||
gyroscope_x:
|
||||
name: BMI160 Gyro X
|
||||
gyroscope_y:
|
||||
name: BMI160 Gyro Y
|
||||
gyroscope_z:
|
||||
name: BMI160 Gyro z
|
||||
temperature:
|
||||
name: BMI160 Temperature
|
22
tests/components/bmi160/test.rp2040.yaml
Normal file
22
tests/components/bmi160/test.rp2040.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
i2c:
|
||||
- id: i2c_bmi160
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: bmi160
|
||||
address: 0x68
|
||||
acceleration_x:
|
||||
name: BMI160 Accel X
|
||||
acceleration_y:
|
||||
name: BMI160 Accel Y
|
||||
acceleration_z:
|
||||
name: BMI160 Accel z
|
||||
gyroscope_x:
|
||||
name: BMI160 Gyro X
|
||||
gyroscope_y:
|
||||
name: BMI160 Gyro Y
|
||||
gyroscope_z:
|
||||
name: BMI160 Gyro z
|
||||
temperature:
|
||||
name: BMI160 Temperature
|
15
tests/components/bmp085/test.esp32-c3-idf.yaml
Normal file
15
tests/components/bmp085/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_bmp085
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: bmp085
|
||||
temperature:
|
||||
name: Outside Temperature
|
||||
pressure:
|
||||
name: Outside Pressure
|
||||
filters:
|
||||
- lambda: >-
|
||||
return x / powf(1.0 - (x / 44330.0), 5.255);
|
||||
update_interval: 15s
|
15
tests/components/bmp085/test.esp32-c3.yaml
Normal file
15
tests/components/bmp085/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_bmp085
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: bmp085
|
||||
temperature:
|
||||
name: Outside Temperature
|
||||
pressure:
|
||||
name: Outside Pressure
|
||||
filters:
|
||||
- lambda: >-
|
||||
return x / powf(1.0 - (x / 44330.0), 5.255);
|
||||
update_interval: 15s
|
15
tests/components/bmp085/test.esp32-idf.yaml
Normal file
15
tests/components/bmp085/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_bmp085
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: bmp085
|
||||
temperature:
|
||||
name: Outside Temperature
|
||||
pressure:
|
||||
name: Outside Pressure
|
||||
filters:
|
||||
- lambda: >-
|
||||
return x / powf(1.0 - (x / 44330.0), 5.255);
|
||||
update_interval: 15s
|
15
tests/components/bmp085/test.esp32.yaml
Normal file
15
tests/components/bmp085/test.esp32.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_bmp085
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: bmp085
|
||||
temperature:
|
||||
name: Outside Temperature
|
||||
pressure:
|
||||
name: Outside Pressure
|
||||
filters:
|
||||
- lambda: >-
|
||||
return x / powf(1.0 - (x / 44330.0), 5.255);
|
||||
update_interval: 15s
|
15
tests/components/bmp085/test.esp8266.yaml
Normal file
15
tests/components/bmp085/test.esp8266.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_bmp085
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: bmp085
|
||||
temperature:
|
||||
name: Outside Temperature
|
||||
pressure:
|
||||
name: Outside Pressure
|
||||
filters:
|
||||
- lambda: >-
|
||||
return x / powf(1.0 - (x / 44330.0), 5.255);
|
||||
update_interval: 15s
|
15
tests/components/bmp085/test.rp2040.yaml
Normal file
15
tests/components/bmp085/test.rp2040.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_bmp085
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: bmp085
|
||||
temperature:
|
||||
name: Outside Temperature
|
||||
pressure:
|
||||
name: Outside Pressure
|
||||
filters:
|
||||
- lambda: >-
|
||||
return x / powf(1.0 - (x / 44330.0), 5.255);
|
||||
update_interval: 15s
|
15
tests/components/bmp280/test.esp32-c3-idf.yaml
Normal file
15
tests/components/bmp280/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_bmp280
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: bmp280
|
||||
address: 0x77
|
||||
temperature:
|
||||
name: Outside Temperature
|
||||
oversampling: 16x
|
||||
pressure:
|
||||
name: Outside Pressure
|
||||
iir_filter: 16x
|
||||
update_interval: 15s
|
15
tests/components/bmp280/test.esp32-c3.yaml
Normal file
15
tests/components/bmp280/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_bmp280
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: bmp280
|
||||
address: 0x77
|
||||
temperature:
|
||||
name: Outside Temperature
|
||||
oversampling: 16x
|
||||
pressure:
|
||||
name: Outside Pressure
|
||||
iir_filter: 16x
|
||||
update_interval: 15s
|
15
tests/components/bmp280/test.esp32-idf.yaml
Normal file
15
tests/components/bmp280/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_bmp280
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: bmp280
|
||||
address: 0x77
|
||||
temperature:
|
||||
name: Outside Temperature
|
||||
oversampling: 16x
|
||||
pressure:
|
||||
name: Outside Pressure
|
||||
iir_filter: 16x
|
||||
update_interval: 15s
|
15
tests/components/bmp280/test.esp32.yaml
Normal file
15
tests/components/bmp280/test.esp32.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_bmp280
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: bmp280
|
||||
address: 0x77
|
||||
temperature:
|
||||
name: Outside Temperature
|
||||
oversampling: 16x
|
||||
pressure:
|
||||
name: Outside Pressure
|
||||
iir_filter: 16x
|
||||
update_interval: 15s
|
15
tests/components/bmp280/test.esp8266.yaml
Normal file
15
tests/components/bmp280/test.esp8266.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_bmp280
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: bmp280
|
||||
address: 0x77
|
||||
temperature:
|
||||
name: Outside Temperature
|
||||
oversampling: 16x
|
||||
pressure:
|
||||
name: Outside Pressure
|
||||
iir_filter: 16x
|
||||
update_interval: 15s
|
15
tests/components/bmp280/test.rp2040.yaml
Normal file
15
tests/components/bmp280/test.rp2040.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
i2c:
|
||||
- id: i2c_bmp280
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: bmp280
|
||||
address: 0x77
|
||||
temperature:
|
||||
name: Outside Temperature
|
||||
oversampling: 16x
|
||||
pressure:
|
||||
name: Outside Pressure
|
||||
iir_filter: 16x
|
||||
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