mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 12:15:33 +01:00
Add some components to the new testing framework (X,Y,Z) (#6233)
This commit is contained in:
parent
d5a8bea8e9
commit
95443a4354
7
tests/components/x9c/test.esp32-c3-idf.yaml
Normal file
7
tests/components/x9c/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
output:
|
||||
- platform: x9c
|
||||
id: test_x9c
|
||||
cs_pin: 3
|
||||
inc_pin: 4
|
||||
ud_pin: 5
|
||||
initial_value: 0.5
|
7
tests/components/x9c/test.esp32-c3.yaml
Normal file
7
tests/components/x9c/test.esp32-c3.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
output:
|
||||
- platform: x9c
|
||||
id: test_x9c
|
||||
cs_pin: 3
|
||||
inc_pin: 4
|
||||
ud_pin: 5
|
||||
initial_value: 0.5
|
7
tests/components/x9c/test.esp32-idf.yaml
Normal file
7
tests/components/x9c/test.esp32-idf.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
output:
|
||||
- platform: x9c
|
||||
id: test_x9c
|
||||
cs_pin: 13
|
||||
inc_pin: 14
|
||||
ud_pin: 15
|
||||
initial_value: 0.5
|
7
tests/components/x9c/test.esp32.yaml
Normal file
7
tests/components/x9c/test.esp32.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
output:
|
||||
- platform: x9c
|
||||
id: test_x9c
|
||||
cs_pin: 13
|
||||
inc_pin: 14
|
||||
ud_pin: 15
|
||||
initial_value: 0.5
|
7
tests/components/x9c/test.esp8266.yaml
Normal file
7
tests/components/x9c/test.esp8266.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
output:
|
||||
- platform: x9c
|
||||
id: test_x9c
|
||||
cs_pin: 13
|
||||
inc_pin: 14
|
||||
ud_pin: 15
|
||||
initial_value: 0.5
|
7
tests/components/x9c/test.rp2040.yaml
Normal file
7
tests/components/x9c/test.rp2040.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
output:
|
||||
- platform: x9c
|
||||
id: test_x9c
|
||||
cs_pin: 3
|
||||
inc_pin: 4
|
||||
ud_pin: 5
|
||||
initial_value: 0.5
|
12
tests/components/xgzp68xx/test.esp32-c3-idf.yaml
Normal file
12
tests/components/xgzp68xx/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
i2c:
|
||||
- id: i2c_xgzp68xx
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: xgzp68xx
|
||||
k_value: 4096
|
||||
temperature:
|
||||
name: Pressure Temperature
|
||||
pressure:
|
||||
name: Differential pressure
|
12
tests/components/xgzp68xx/test.esp32-c3.yaml
Normal file
12
tests/components/xgzp68xx/test.esp32-c3.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
i2c:
|
||||
- id: i2c_xgzp68xx
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: xgzp68xx
|
||||
k_value: 4096
|
||||
temperature:
|
||||
name: Pressure Temperature
|
||||
pressure:
|
||||
name: Differential pressure
|
12
tests/components/xgzp68xx/test.esp32-idf.yaml
Normal file
12
tests/components/xgzp68xx/test.esp32-idf.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
i2c:
|
||||
- id: i2c_xgzp68xx
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: xgzp68xx
|
||||
k_value: 4096
|
||||
temperature:
|
||||
name: Pressure Temperature
|
||||
pressure:
|
||||
name: Differential pressure
|
12
tests/components/xgzp68xx/test.esp32.yaml
Normal file
12
tests/components/xgzp68xx/test.esp32.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
i2c:
|
||||
- id: i2c_xgzp68xx
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: xgzp68xx
|
||||
k_value: 4096
|
||||
temperature:
|
||||
name: Pressure Temperature
|
||||
pressure:
|
||||
name: Differential pressure
|
12
tests/components/xgzp68xx/test.esp8266.yaml
Normal file
12
tests/components/xgzp68xx/test.esp8266.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
i2c:
|
||||
- id: i2c_xgzp68xx
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: xgzp68xx
|
||||
k_value: 4096
|
||||
temperature:
|
||||
name: Pressure Temperature
|
||||
pressure:
|
||||
name: Differential pressure
|
12
tests/components/xgzp68xx/test.rp2040.yaml
Normal file
12
tests/components/xgzp68xx/test.rp2040.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
i2c:
|
||||
- id: i2c_xgzp68xx
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: xgzp68xx
|
||||
k_value: 4096
|
||||
temperature:
|
||||
name: Pressure Temperature
|
||||
pressure:
|
||||
name: Differential pressure
|
3
tests/components/xiaomi_ble/test.esp32-c3-idf.yaml
Normal file
3
tests/components/xiaomi_ble/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
xiaomi_ble:
|
3
tests/components/xiaomi_ble/test.esp32-c3.yaml
Normal file
3
tests/components/xiaomi_ble/test.esp32-c3.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
xiaomi_ble:
|
3
tests/components/xiaomi_ble/test.esp32-idf.yaml
Normal file
3
tests/components/xiaomi_ble/test.esp32-idf.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
xiaomi_ble:
|
3
tests/components/xiaomi_ble/test.esp32.yaml
Normal file
3
tests/components/xiaomi_ble/test.esp32.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
xiaomi_ble:
|
12
tests/components/xiaomi_cgd1/test.esp32-c3-idf.yaml
Normal file
12
tests/components/xiaomi_cgd1/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_cgd1
|
||||
mac_address: A4:C1:38:D1:61:7D
|
||||
bindkey: c99d2313182473b38001086febf781bd
|
||||
temperature:
|
||||
name: Xiaomi CGD1 Temperature
|
||||
humidity:
|
||||
name: Xiaomi CGD1 Humidity
|
||||
battery_level:
|
||||
name: Xiaomi CGD1 Battery Level
|
12
tests/components/xiaomi_cgd1/test.esp32-c3.yaml
Normal file
12
tests/components/xiaomi_cgd1/test.esp32-c3.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_cgd1
|
||||
mac_address: A4:C1:38:D1:61:7D
|
||||
bindkey: c99d2313182473b38001086febf781bd
|
||||
temperature:
|
||||
name: Xiaomi CGD1 Temperature
|
||||
humidity:
|
||||
name: Xiaomi CGD1 Humidity
|
||||
battery_level:
|
||||
name: Xiaomi CGD1 Battery Level
|
12
tests/components/xiaomi_cgd1/test.esp32-idf.yaml
Normal file
12
tests/components/xiaomi_cgd1/test.esp32-idf.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_cgd1
|
||||
mac_address: A4:C1:38:D1:61:7D
|
||||
bindkey: c99d2313182473b38001086febf781bd
|
||||
temperature:
|
||||
name: Xiaomi CGD1 Temperature
|
||||
humidity:
|
||||
name: Xiaomi CGD1 Humidity
|
||||
battery_level:
|
||||
name: Xiaomi CGD1 Battery Level
|
12
tests/components/xiaomi_cgd1/test.esp32.yaml
Normal file
12
tests/components/xiaomi_cgd1/test.esp32.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_cgd1
|
||||
mac_address: A4:C1:38:D1:61:7D
|
||||
bindkey: c99d2313182473b38001086febf781bd
|
||||
temperature:
|
||||
name: Xiaomi CGD1 Temperature
|
||||
humidity:
|
||||
name: Xiaomi CGD1 Humidity
|
||||
battery_level:
|
||||
name: Xiaomi CGD1 Battery Level
|
12
tests/components/xiaomi_cgdk2/test.esp32-c3-idf.yaml
Normal file
12
tests/components/xiaomi_cgdk2/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_cgdk2
|
||||
mac_address: A4:C1:38:D1:61:7D
|
||||
bindkey: c99d2313182473b38001086febf781bd
|
||||
temperature:
|
||||
name: Xiaomi CGD1 Temperature
|
||||
humidity:
|
||||
name: Xiaomi CGD1 Humidity
|
||||
battery_level:
|
||||
name: Xiaomi CGD1 Battery Level
|
12
tests/components/xiaomi_cgdk2/test.esp32-c3.yaml
Normal file
12
tests/components/xiaomi_cgdk2/test.esp32-c3.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_cgdk2
|
||||
mac_address: A4:C1:38:D1:61:7D
|
||||
bindkey: c99d2313182473b38001086febf781bd
|
||||
temperature:
|
||||
name: Xiaomi CGD1 Temperature
|
||||
humidity:
|
||||
name: Xiaomi CGD1 Humidity
|
||||
battery_level:
|
||||
name: Xiaomi CGD1 Battery Level
|
12
tests/components/xiaomi_cgdk2/test.esp32-idf.yaml
Normal file
12
tests/components/xiaomi_cgdk2/test.esp32-idf.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_cgdk2
|
||||
mac_address: A4:C1:38:D1:61:7D
|
||||
bindkey: c99d2313182473b38001086febf781bd
|
||||
temperature:
|
||||
name: Xiaomi CGD1 Temperature
|
||||
humidity:
|
||||
name: Xiaomi CGD1 Humidity
|
||||
battery_level:
|
||||
name: Xiaomi CGD1 Battery Level
|
12
tests/components/xiaomi_cgdk2/test.esp32.yaml
Normal file
12
tests/components/xiaomi_cgdk2/test.esp32.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_cgdk2
|
||||
mac_address: A4:C1:38:D1:61:7D
|
||||
bindkey: c99d2313182473b38001086febf781bd
|
||||
temperature:
|
||||
name: Xiaomi CGD1 Temperature
|
||||
humidity:
|
||||
name: Xiaomi CGD1 Humidity
|
||||
battery_level:
|
||||
name: Xiaomi CGD1 Battery Level
|
12
tests/components/xiaomi_cgg1/test.esp32-c3-idf.yaml
Normal file
12
tests/components/xiaomi_cgg1/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_cgg1
|
||||
mac_address: A4:C1:38:D1:61:7D
|
||||
bindkey: c99d2313182473b38001086febf781bd
|
||||
temperature:
|
||||
name: Xiaomi CGD1 Temperature
|
||||
humidity:
|
||||
name: Xiaomi CGD1 Humidity
|
||||
battery_level:
|
||||
name: Xiaomi CGD1 Battery Level
|
12
tests/components/xiaomi_cgg1/test.esp32-c3.yaml
Normal file
12
tests/components/xiaomi_cgg1/test.esp32-c3.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_cgg1
|
||||
mac_address: A4:C1:38:D1:61:7D
|
||||
bindkey: c99d2313182473b38001086febf781bd
|
||||
temperature:
|
||||
name: Xiaomi CGD1 Temperature
|
||||
humidity:
|
||||
name: Xiaomi CGD1 Humidity
|
||||
battery_level:
|
||||
name: Xiaomi CGD1 Battery Level
|
12
tests/components/xiaomi_cgg1/test.esp32-idf.yaml
Normal file
12
tests/components/xiaomi_cgg1/test.esp32-idf.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_cgg1
|
||||
mac_address: A4:C1:38:D1:61:7D
|
||||
bindkey: c99d2313182473b38001086febf781bd
|
||||
temperature:
|
||||
name: Xiaomi CGD1 Temperature
|
||||
humidity:
|
||||
name: Xiaomi CGD1 Humidity
|
||||
battery_level:
|
||||
name: Xiaomi CGD1 Battery Level
|
12
tests/components/xiaomi_cgg1/test.esp32.yaml
Normal file
12
tests/components/xiaomi_cgg1/test.esp32.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_cgg1
|
||||
mac_address: A4:C1:38:D1:61:7D
|
||||
bindkey: c99d2313182473b38001086febf781bd
|
||||
temperature:
|
||||
name: Xiaomi CGD1 Temperature
|
||||
humidity:
|
||||
name: Xiaomi CGD1 Humidity
|
||||
battery_level:
|
||||
name: Xiaomi CGD1 Battery Level
|
13
tests/components/xiaomi_cgpr1/test.esp32-c3-idf.yaml
Normal file
13
tests/components/xiaomi_cgpr1/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
binary_sensor:
|
||||
- platform: xiaomi_cgpr1
|
||||
name: CGPR1 Motion
|
||||
mac_address: "12:34:56:12:34:56"
|
||||
bindkey: 48403ebe2d385db8d0c187f81e62cb64
|
||||
battery_level:
|
||||
name: CGPR1 battery Level
|
||||
idle_time:
|
||||
name: CGPR1 Idle Time
|
||||
illuminance:
|
||||
name: CGPR1 Illuminance
|
13
tests/components/xiaomi_cgpr1/test.esp32-c3.yaml
Normal file
13
tests/components/xiaomi_cgpr1/test.esp32-c3.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
binary_sensor:
|
||||
- platform: xiaomi_cgpr1
|
||||
name: CGPR1 Motion
|
||||
mac_address: "12:34:56:12:34:56"
|
||||
bindkey: 48403ebe2d385db8d0c187f81e62cb64
|
||||
battery_level:
|
||||
name: CGPR1 battery Level
|
||||
idle_time:
|
||||
name: CGPR1 Idle Time
|
||||
illuminance:
|
||||
name: CGPR1 Illuminance
|
13
tests/components/xiaomi_cgpr1/test.esp32-idf.yaml
Normal file
13
tests/components/xiaomi_cgpr1/test.esp32-idf.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
binary_sensor:
|
||||
- platform: xiaomi_cgpr1
|
||||
name: CGPR1 Motion
|
||||
mac_address: "12:34:56:12:34:56"
|
||||
bindkey: 48403ebe2d385db8d0c187f81e62cb64
|
||||
battery_level:
|
||||
name: CGPR1 battery Level
|
||||
idle_time:
|
||||
name: CGPR1 Idle Time
|
||||
illuminance:
|
||||
name: CGPR1 Illuminance
|
13
tests/components/xiaomi_cgpr1/test.esp32.yaml
Normal file
13
tests/components/xiaomi_cgpr1/test.esp32.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
binary_sensor:
|
||||
- platform: xiaomi_cgpr1
|
||||
name: CGPR1 Motion
|
||||
mac_address: "12:34:56:12:34:56"
|
||||
bindkey: 48403ebe2d385db8d0c187f81e62cb64
|
||||
battery_level:
|
||||
name: CGPR1 battery Level
|
||||
idle_time:
|
||||
name: CGPR1 Idle Time
|
||||
illuminance:
|
||||
name: CGPR1 Illuminance
|
13
tests/components/xiaomi_gcls002/test.esp32-c3-idf.yaml
Normal file
13
tests/components/xiaomi_gcls002/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_gcls002
|
||||
mac_address: 94:2B:FF:5C:91:61
|
||||
temperature:
|
||||
name: GCLS02 Temperature
|
||||
moisture:
|
||||
name: GCLS02 Moisture
|
||||
conductivity:
|
||||
name: GCLS02 Soil Conductivity
|
||||
illuminance:
|
||||
name: GCLS02 Illuminance
|
13
tests/components/xiaomi_gcls002/test.esp32-c3.yaml
Normal file
13
tests/components/xiaomi_gcls002/test.esp32-c3.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_gcls002
|
||||
mac_address: 94:2B:FF:5C:91:61
|
||||
temperature:
|
||||
name: GCLS02 Temperature
|
||||
moisture:
|
||||
name: GCLS02 Moisture
|
||||
conductivity:
|
||||
name: GCLS02 Soil Conductivity
|
||||
illuminance:
|
||||
name: GCLS02 Illuminance
|
13
tests/components/xiaomi_gcls002/test.esp32-idf.yaml
Normal file
13
tests/components/xiaomi_gcls002/test.esp32-idf.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_gcls002
|
||||
mac_address: 94:2B:FF:5C:91:61
|
||||
temperature:
|
||||
name: GCLS02 Temperature
|
||||
moisture:
|
||||
name: GCLS02 Moisture
|
||||
conductivity:
|
||||
name: GCLS02 Soil Conductivity
|
||||
illuminance:
|
||||
name: GCLS02 Illuminance
|
13
tests/components/xiaomi_gcls002/test.esp32.yaml
Normal file
13
tests/components/xiaomi_gcls002/test.esp32.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_gcls002
|
||||
mac_address: 94:2B:FF:5C:91:61
|
||||
temperature:
|
||||
name: GCLS02 Temperature
|
||||
moisture:
|
||||
name: GCLS02 Moisture
|
||||
conductivity:
|
||||
name: GCLS02 Soil Conductivity
|
||||
illuminance:
|
||||
name: GCLS02 Illuminance
|
15
tests/components/xiaomi_hhccjcy01/test.esp32-c3-idf.yaml
Normal file
15
tests/components/xiaomi_hhccjcy01/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_hhccjcy01
|
||||
mac_address: 94:2B:FF:5C:91:61
|
||||
temperature:
|
||||
name: Xiaomi HHCCJCY01 Temperature
|
||||
moisture:
|
||||
name: Xiaomi HHCCJCY01 Moisture
|
||||
illuminance:
|
||||
name: Xiaomi HHCCJCY01 Illuminance
|
||||
conductivity:
|
||||
name: Xiaomi HHCCJCY01 Soil Conductivity
|
||||
battery_level:
|
||||
name: Xiaomi HHCCJCY01 Battery Level
|
15
tests/components/xiaomi_hhccjcy01/test.esp32-c3.yaml
Normal file
15
tests/components/xiaomi_hhccjcy01/test.esp32-c3.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_hhccjcy01
|
||||
mac_address: 94:2B:FF:5C:91:61
|
||||
temperature:
|
||||
name: Xiaomi HHCCJCY01 Temperature
|
||||
moisture:
|
||||
name: Xiaomi HHCCJCY01 Moisture
|
||||
illuminance:
|
||||
name: Xiaomi HHCCJCY01 Illuminance
|
||||
conductivity:
|
||||
name: Xiaomi HHCCJCY01 Soil Conductivity
|
||||
battery_level:
|
||||
name: Xiaomi HHCCJCY01 Battery Level
|
15
tests/components/xiaomi_hhccjcy01/test.esp32-idf.yaml
Normal file
15
tests/components/xiaomi_hhccjcy01/test.esp32-idf.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_hhccjcy01
|
||||
mac_address: 94:2B:FF:5C:91:61
|
||||
temperature:
|
||||
name: Xiaomi HHCCJCY01 Temperature
|
||||
moisture:
|
||||
name: Xiaomi HHCCJCY01 Moisture
|
||||
illuminance:
|
||||
name: Xiaomi HHCCJCY01 Illuminance
|
||||
conductivity:
|
||||
name: Xiaomi HHCCJCY01 Soil Conductivity
|
||||
battery_level:
|
||||
name: Xiaomi HHCCJCY01 Battery Level
|
15
tests/components/xiaomi_hhccjcy01/test.esp32.yaml
Normal file
15
tests/components/xiaomi_hhccjcy01/test.esp32.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_hhccjcy01
|
||||
mac_address: 94:2B:FF:5C:91:61
|
||||
temperature:
|
||||
name: Xiaomi HHCCJCY01 Temperature
|
||||
moisture:
|
||||
name: Xiaomi HHCCJCY01 Moisture
|
||||
illuminance:
|
||||
name: Xiaomi HHCCJCY01 Illuminance
|
||||
conductivity:
|
||||
name: Xiaomi HHCCJCY01 Soil Conductivity
|
||||
battery_level:
|
||||
name: Xiaomi HHCCJCY01 Battery Level
|
@ -0,0 +1,9 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_hhccpot002
|
||||
mac_address: 94:2B:FF:5C:91:61
|
||||
moisture:
|
||||
name: HHCCPOT002 Moisture
|
||||
conductivity:
|
||||
name: HHCCPOT002 Soil Conductivity
|
9
tests/components/xiaomi_hhccpot002/test.esp32-c3.yaml
Normal file
9
tests/components/xiaomi_hhccpot002/test.esp32-c3.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_hhccpot002
|
||||
mac_address: 94:2B:FF:5C:91:61
|
||||
moisture:
|
||||
name: HHCCPOT002 Moisture
|
||||
conductivity:
|
||||
name: HHCCPOT002 Soil Conductivity
|
9
tests/components/xiaomi_hhccpot002/test.esp32-idf.yaml
Normal file
9
tests/components/xiaomi_hhccpot002/test.esp32-idf.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_hhccpot002
|
||||
mac_address: 94:2B:FF:5C:91:61
|
||||
moisture:
|
||||
name: HHCCPOT002 Moisture
|
||||
conductivity:
|
||||
name: HHCCPOT002 Soil Conductivity
|
9
tests/components/xiaomi_hhccpot002/test.esp32.yaml
Normal file
9
tests/components/xiaomi_hhccpot002/test.esp32.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_hhccpot002
|
||||
mac_address: 94:2B:FF:5C:91:61
|
||||
moisture:
|
||||
name: HHCCPOT002 Moisture
|
||||
conductivity:
|
||||
name: HHCCPOT002 Soil Conductivity
|
13
tests/components/xiaomi_jqjcy01ym/test.esp32-c3-idf.yaml
Normal file
13
tests/components/xiaomi_jqjcy01ym/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_jqjcy01ym
|
||||
mac_address: 7A:80:8E:19:36:BA
|
||||
temperature:
|
||||
name: JQJCY01YM Temperature
|
||||
humidity:
|
||||
name: JQJCY01YM Humidity
|
||||
formaldehyde:
|
||||
name: JQJCY01YM Formaldehyde
|
||||
battery_level:
|
||||
name: JQJCY01YM Battery Level
|
13
tests/components/xiaomi_jqjcy01ym/test.esp32-c3.yaml
Normal file
13
tests/components/xiaomi_jqjcy01ym/test.esp32-c3.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_jqjcy01ym
|
||||
mac_address: 7A:80:8E:19:36:BA
|
||||
temperature:
|
||||
name: JQJCY01YM Temperature
|
||||
humidity:
|
||||
name: JQJCY01YM Humidity
|
||||
formaldehyde:
|
||||
name: JQJCY01YM Formaldehyde
|
||||
battery_level:
|
||||
name: JQJCY01YM Battery Level
|
13
tests/components/xiaomi_jqjcy01ym/test.esp32-idf.yaml
Normal file
13
tests/components/xiaomi_jqjcy01ym/test.esp32-idf.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_jqjcy01ym
|
||||
mac_address: 7A:80:8E:19:36:BA
|
||||
temperature:
|
||||
name: JQJCY01YM Temperature
|
||||
humidity:
|
||||
name: JQJCY01YM Humidity
|
||||
formaldehyde:
|
||||
name: JQJCY01YM Formaldehyde
|
||||
battery_level:
|
||||
name: JQJCY01YM Battery Level
|
13
tests/components/xiaomi_jqjcy01ym/test.esp32.yaml
Normal file
13
tests/components/xiaomi_jqjcy01ym/test.esp32.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_jqjcy01ym
|
||||
mac_address: 7A:80:8E:19:36:BA
|
||||
temperature:
|
||||
name: JQJCY01YM Temperature
|
||||
humidity:
|
||||
name: JQJCY01YM Humidity
|
||||
formaldehyde:
|
||||
name: JQJCY01YM Formaldehyde
|
||||
battery_level:
|
||||
name: JQJCY01YM Battery Level
|
11
tests/components/xiaomi_lywsd02/test.esp32-c3-idf.yaml
Normal file
11
tests/components/xiaomi_lywsd02/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_lywsd02
|
||||
mac_address: 3F:5B:7D:82:58:4E
|
||||
temperature:
|
||||
name: Xiaomi LYWSD02 Temperature
|
||||
humidity:
|
||||
name: Xiaomi LYWSD02 Humidity
|
||||
battery_level:
|
||||
name: Xiaomi LYWSD02 Battery Level
|
11
tests/components/xiaomi_lywsd02/test.esp32-c3.yaml
Normal file
11
tests/components/xiaomi_lywsd02/test.esp32-c3.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_lywsd02
|
||||
mac_address: 3F:5B:7D:82:58:4E
|
||||
temperature:
|
||||
name: Xiaomi LYWSD02 Temperature
|
||||
humidity:
|
||||
name: Xiaomi LYWSD02 Humidity
|
||||
battery_level:
|
||||
name: Xiaomi LYWSD02 Battery Level
|
11
tests/components/xiaomi_lywsd02/test.esp32-idf.yaml
Normal file
11
tests/components/xiaomi_lywsd02/test.esp32-idf.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_lywsd02
|
||||
mac_address: 3F:5B:7D:82:58:4E
|
||||
temperature:
|
||||
name: Xiaomi LYWSD02 Temperature
|
||||
humidity:
|
||||
name: Xiaomi LYWSD02 Humidity
|
||||
battery_level:
|
||||
name: Xiaomi LYWSD02 Battery Level
|
11
tests/components/xiaomi_lywsd02/test.esp32.yaml
Normal file
11
tests/components/xiaomi_lywsd02/test.esp32.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_lywsd02
|
||||
mac_address: 3F:5B:7D:82:58:4E
|
||||
temperature:
|
||||
name: Xiaomi LYWSD02 Temperature
|
||||
humidity:
|
||||
name: Xiaomi LYWSD02 Humidity
|
||||
battery_level:
|
||||
name: Xiaomi LYWSD02 Battery Level
|
12
tests/components/xiaomi_lywsd03mmc/test.esp32-c3-idf.yaml
Normal file
12
tests/components/xiaomi_lywsd03mmc/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_lywsd03mmc
|
||||
mac_address: A4:C1:38:4E:16:78
|
||||
bindkey: e9efaa6873f9f9c87a5e75a5f814801c
|
||||
temperature:
|
||||
name: Xiaomi LYWSD03MMC Temperature
|
||||
humidity:
|
||||
name: Xiaomi LYWSD03MMC Humidity
|
||||
battery_level:
|
||||
name: Xiaomi LYWSD03MMC Battery Level
|
12
tests/components/xiaomi_lywsd03mmc/test.esp32-c3.yaml
Normal file
12
tests/components/xiaomi_lywsd03mmc/test.esp32-c3.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_lywsd03mmc
|
||||
mac_address: A4:C1:38:4E:16:78
|
||||
bindkey: e9efaa6873f9f9c87a5e75a5f814801c
|
||||
temperature:
|
||||
name: Xiaomi LYWSD03MMC Temperature
|
||||
humidity:
|
||||
name: Xiaomi LYWSD03MMC Humidity
|
||||
battery_level:
|
||||
name: Xiaomi LYWSD03MMC Battery Level
|
12
tests/components/xiaomi_lywsd03mmc/test.esp32-idf.yaml
Normal file
12
tests/components/xiaomi_lywsd03mmc/test.esp32-idf.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_lywsd03mmc
|
||||
mac_address: A4:C1:38:4E:16:78
|
||||
bindkey: e9efaa6873f9f9c87a5e75a5f814801c
|
||||
temperature:
|
||||
name: Xiaomi LYWSD03MMC Temperature
|
||||
humidity:
|
||||
name: Xiaomi LYWSD03MMC Humidity
|
||||
battery_level:
|
||||
name: Xiaomi LYWSD03MMC Battery Level
|
12
tests/components/xiaomi_lywsd03mmc/test.esp32.yaml
Normal file
12
tests/components/xiaomi_lywsd03mmc/test.esp32.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_lywsd03mmc
|
||||
mac_address: A4:C1:38:4E:16:78
|
||||
bindkey: e9efaa6873f9f9c87a5e75a5f814801c
|
||||
temperature:
|
||||
name: Xiaomi LYWSD03MMC Temperature
|
||||
humidity:
|
||||
name: Xiaomi LYWSD03MMC Humidity
|
||||
battery_level:
|
||||
name: Xiaomi LYWSD03MMC Battery Level
|
11
tests/components/xiaomi_lywsdcgq/test.esp32-c3-idf.yaml
Normal file
11
tests/components/xiaomi_lywsdcgq/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_lywsdcgq
|
||||
mac_address: 7A:80:8E:19:36:BA
|
||||
temperature:
|
||||
name: Xiaomi LYWSDCGQ Temperature
|
||||
humidity:
|
||||
name: Xiaomi LYWSDCGQ Humidity
|
||||
battery_level:
|
||||
name: Xiaomi LYWSDCGQ Battery Level
|
11
tests/components/xiaomi_lywsdcgq/test.esp32-c3.yaml
Normal file
11
tests/components/xiaomi_lywsdcgq/test.esp32-c3.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_lywsdcgq
|
||||
mac_address: 7A:80:8E:19:36:BA
|
||||
temperature:
|
||||
name: Xiaomi LYWSDCGQ Temperature
|
||||
humidity:
|
||||
name: Xiaomi LYWSDCGQ Humidity
|
||||
battery_level:
|
||||
name: Xiaomi LYWSDCGQ Battery Level
|
11
tests/components/xiaomi_lywsdcgq/test.esp32-idf.yaml
Normal file
11
tests/components/xiaomi_lywsdcgq/test.esp32-idf.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_lywsdcgq
|
||||
mac_address: 7A:80:8E:19:36:BA
|
||||
temperature:
|
||||
name: Xiaomi LYWSDCGQ Temperature
|
||||
humidity:
|
||||
name: Xiaomi LYWSDCGQ Humidity
|
||||
battery_level:
|
||||
name: Xiaomi LYWSDCGQ Battery Level
|
11
tests/components/xiaomi_lywsdcgq/test.esp32.yaml
Normal file
11
tests/components/xiaomi_lywsdcgq/test.esp32.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_lywsdcgq
|
||||
mac_address: 7A:80:8E:19:36:BA
|
||||
temperature:
|
||||
name: Xiaomi LYWSDCGQ Temperature
|
||||
humidity:
|
||||
name: Xiaomi LYWSDCGQ Humidity
|
||||
battery_level:
|
||||
name: Xiaomi LYWSDCGQ Battery Level
|
11
tests/components/xiaomi_mhoc303/test.esp32-c3-idf.yaml
Normal file
11
tests/components/xiaomi_mhoc303/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_mhoc303
|
||||
mac_address: E7:50:59:32:A0:1C
|
||||
temperature:
|
||||
name: MHO-C303 Temperature
|
||||
humidity:
|
||||
name: MHO-C303 Humidity
|
||||
battery_level:
|
||||
name: MHO-C303 Battery Level
|
11
tests/components/xiaomi_mhoc303/test.esp32-c3.yaml
Normal file
11
tests/components/xiaomi_mhoc303/test.esp32-c3.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_mhoc303
|
||||
mac_address: E7:50:59:32:A0:1C
|
||||
temperature:
|
||||
name: MHO-C303 Temperature
|
||||
humidity:
|
||||
name: MHO-C303 Humidity
|
||||
battery_level:
|
||||
name: MHO-C303 Battery Level
|
11
tests/components/xiaomi_mhoc303/test.esp32-idf.yaml
Normal file
11
tests/components/xiaomi_mhoc303/test.esp32-idf.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_mhoc303
|
||||
mac_address: E7:50:59:32:A0:1C
|
||||
temperature:
|
||||
name: MHO-C303 Temperature
|
||||
humidity:
|
||||
name: MHO-C303 Humidity
|
||||
battery_level:
|
||||
name: MHO-C303 Battery Level
|
11
tests/components/xiaomi_mhoc303/test.esp32.yaml
Normal file
11
tests/components/xiaomi_mhoc303/test.esp32.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_mhoc303
|
||||
mac_address: E7:50:59:32:A0:1C
|
||||
temperature:
|
||||
name: MHO-C303 Temperature
|
||||
humidity:
|
||||
name: MHO-C303 Humidity
|
||||
battery_level:
|
||||
name: MHO-C303 Battery Level
|
12
tests/components/xiaomi_mhoc401/test.esp32-c3-idf.yaml
Normal file
12
tests/components/xiaomi_mhoc401/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_mhoc401
|
||||
mac_address: E7:50:59:32:A0:1C
|
||||
bindkey: "eef418daf699a0c188f3bfd17e4565d9"
|
||||
temperature:
|
||||
name: MHO-C303 Temperature
|
||||
humidity:
|
||||
name: MHO-C303 Humidity
|
||||
battery_level:
|
||||
name: MHO-C303 Battery Level
|
12
tests/components/xiaomi_mhoc401/test.esp32-c3.yaml
Normal file
12
tests/components/xiaomi_mhoc401/test.esp32-c3.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_mhoc401
|
||||
mac_address: E7:50:59:32:A0:1C
|
||||
bindkey: "eef418daf699a0c188f3bfd17e4565d9"
|
||||
temperature:
|
||||
name: MHO-C303 Temperature
|
||||
humidity:
|
||||
name: MHO-C303 Humidity
|
||||
battery_level:
|
||||
name: MHO-C303 Battery Level
|
12
tests/components/xiaomi_mhoc401/test.esp32-idf.yaml
Normal file
12
tests/components/xiaomi_mhoc401/test.esp32-idf.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_mhoc401
|
||||
mac_address: E7:50:59:32:A0:1C
|
||||
bindkey: "eef418daf699a0c188f3bfd17e4565d9"
|
||||
temperature:
|
||||
name: MHO-C303 Temperature
|
||||
humidity:
|
||||
name: MHO-C303 Humidity
|
||||
battery_level:
|
||||
name: MHO-C303 Battery Level
|
12
tests/components/xiaomi_mhoc401/test.esp32.yaml
Normal file
12
tests/components/xiaomi_mhoc401/test.esp32.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_mhoc401
|
||||
mac_address: E7:50:59:32:A0:1C
|
||||
bindkey: "eef418daf699a0c188f3bfd17e4565d9"
|
||||
temperature:
|
||||
name: MHO-C303 Temperature
|
||||
humidity:
|
||||
name: MHO-C303 Humidity
|
||||
battery_level:
|
||||
name: MHO-C303 Battery Level
|
@ -0,0 +1,9 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_miscale
|
||||
mac_address: '5C:CA:D3:70:D4:A2'
|
||||
weight:
|
||||
name: "Xiaomi Mi Scale Weight"
|
||||
impedance:
|
||||
name: "Xiaomi Mi Scale Impedance"
|
9
tests/components/xiaomi_miscale copy/test.esp32-c3.yaml
Normal file
9
tests/components/xiaomi_miscale copy/test.esp32-c3.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_miscale
|
||||
mac_address: '5C:CA:D3:70:D4:A2'
|
||||
weight:
|
||||
name: "Xiaomi Mi Scale Weight"
|
||||
impedance:
|
||||
name: "Xiaomi Mi Scale Impedance"
|
9
tests/components/xiaomi_miscale copy/test.esp32-idf.yaml
Normal file
9
tests/components/xiaomi_miscale copy/test.esp32-idf.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_miscale
|
||||
mac_address: '5C:CA:D3:70:D4:A2'
|
||||
weight:
|
||||
name: "Xiaomi Mi Scale Weight"
|
||||
impedance:
|
||||
name: "Xiaomi Mi Scale Impedance"
|
9
tests/components/xiaomi_miscale copy/test.esp32.yaml
Normal file
9
tests/components/xiaomi_miscale copy/test.esp32.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_miscale
|
||||
mac_address: '5C:CA:D3:70:D4:A2'
|
||||
weight:
|
||||
name: "Xiaomi Mi Scale Weight"
|
||||
impedance:
|
||||
name: "Xiaomi Mi Scale Impedance"
|
9
tests/components/xiaomi_miscale/test.esp32-c3-idf.yaml
Normal file
9
tests/components/xiaomi_miscale/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_miscale
|
||||
mac_address: '5C:CA:D3:70:D4:A2'
|
||||
weight:
|
||||
name: "Xiaomi Mi Scale Weight"
|
||||
impedance:
|
||||
name: "Xiaomi Mi Scale Impedance"
|
9
tests/components/xiaomi_miscale/test.esp32-c3.yaml
Normal file
9
tests/components/xiaomi_miscale/test.esp32-c3.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_miscale
|
||||
mac_address: '5C:CA:D3:70:D4:A2'
|
||||
weight:
|
||||
name: "Xiaomi Mi Scale Weight"
|
||||
impedance:
|
||||
name: "Xiaomi Mi Scale Impedance"
|
9
tests/components/xiaomi_miscale/test.esp32-idf.yaml
Normal file
9
tests/components/xiaomi_miscale/test.esp32-idf.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_miscale
|
||||
mac_address: '5C:CA:D3:70:D4:A2'
|
||||
weight:
|
||||
name: "Xiaomi Mi Scale Weight"
|
||||
impedance:
|
||||
name: "Xiaomi Mi Scale Impedance"
|
9
tests/components/xiaomi_miscale/test.esp32.yaml
Normal file
9
tests/components/xiaomi_miscale/test.esp32.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_miscale
|
||||
mac_address: '5C:CA:D3:70:D4:A2'
|
||||
weight:
|
||||
name: "Xiaomi Mi Scale Weight"
|
||||
impedance:
|
||||
name: "Xiaomi Mi Scale Impedance"
|
13
tests/components/xiaomi_mjyd02yla/test.esp32-c3-idf.yaml
Normal file
13
tests/components/xiaomi_mjyd02yla/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
binary_sensor:
|
||||
- platform: xiaomi_mjyd02yla
|
||||
name: MJYD02YL-A Motion
|
||||
mac_address: 50:EC:50:CD:32:02
|
||||
bindkey: 48403ebe2d385db8d0c187f81e62cb64
|
||||
idle_time:
|
||||
name: MJYD02YL-A Idle Time
|
||||
light:
|
||||
name: MJYD02YL-A Light Status
|
||||
battery_level:
|
||||
name: MJYD02YL-A Battery Level
|
13
tests/components/xiaomi_mjyd02yla/test.esp32-c3.yaml
Normal file
13
tests/components/xiaomi_mjyd02yla/test.esp32-c3.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
binary_sensor:
|
||||
- platform: xiaomi_mjyd02yla
|
||||
name: MJYD02YL-A Motion
|
||||
mac_address: 50:EC:50:CD:32:02
|
||||
bindkey: 48403ebe2d385db8d0c187f81e62cb64
|
||||
idle_time:
|
||||
name: MJYD02YL-A Idle Time
|
||||
light:
|
||||
name: MJYD02YL-A Light Status
|
||||
battery_level:
|
||||
name: MJYD02YL-A Battery Level
|
13
tests/components/xiaomi_mjyd02yla/test.esp32-idf.yaml
Normal file
13
tests/components/xiaomi_mjyd02yla/test.esp32-idf.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
binary_sensor:
|
||||
- platform: xiaomi_mjyd02yla
|
||||
name: MJYD02YL-A Motion
|
||||
mac_address: 50:EC:50:CD:32:02
|
||||
bindkey: 48403ebe2d385db8d0c187f81e62cb64
|
||||
idle_time:
|
||||
name: MJYD02YL-A Idle Time
|
||||
light:
|
||||
name: MJYD02YL-A Light Status
|
||||
battery_level:
|
||||
name: MJYD02YL-A Battery Level
|
13
tests/components/xiaomi_mjyd02yla/test.esp32.yaml
Normal file
13
tests/components/xiaomi_mjyd02yla/test.esp32.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
binary_sensor:
|
||||
- platform: xiaomi_mjyd02yla
|
||||
name: MJYD02YL-A Motion
|
||||
mac_address: 50:EC:50:CD:32:02
|
||||
bindkey: 48403ebe2d385db8d0c187f81e62cb64
|
||||
idle_time:
|
||||
name: MJYD02YL-A Idle Time
|
||||
light:
|
||||
name: MJYD02YL-A Light Status
|
||||
battery_level:
|
||||
name: MJYD02YL-A Battery Level
|
7
tests/components/xiaomi_mue4094rt/test.esp32-c3-idf.yaml
Normal file
7
tests/components/xiaomi_mue4094rt/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
binary_sensor:
|
||||
- platform: xiaomi_mue4094rt
|
||||
name: MUE4094RT Motion
|
||||
mac_address: 7A:80:8E:19:36:BA
|
||||
timeout: 5s
|
7
tests/components/xiaomi_mue4094rt/test.esp32-c3.yaml
Normal file
7
tests/components/xiaomi_mue4094rt/test.esp32-c3.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
binary_sensor:
|
||||
- platform: xiaomi_mue4094rt
|
||||
name: MUE4094RT Motion
|
||||
mac_address: 7A:80:8E:19:36:BA
|
||||
timeout: 5s
|
7
tests/components/xiaomi_mue4094rt/test.esp32-idf.yaml
Normal file
7
tests/components/xiaomi_mue4094rt/test.esp32-idf.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
binary_sensor:
|
||||
- platform: xiaomi_mue4094rt
|
||||
name: MUE4094RT Motion
|
||||
mac_address: 7A:80:8E:19:36:BA
|
||||
timeout: 5s
|
7
tests/components/xiaomi_mue4094rt/test.esp32.yaml
Normal file
7
tests/components/xiaomi_mue4094rt/test.esp32.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
binary_sensor:
|
||||
- platform: xiaomi_mue4094rt
|
||||
name: MUE4094RT Motion
|
||||
mac_address: 7A:80:8E:19:36:BA
|
||||
timeout: 5s
|
22
tests/components/xiaomi_rtcgq02lm/test.esp32-c3-idf.yaml
Normal file
22
tests/components/xiaomi_rtcgq02lm/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
xiaomi_rtcgq02lm:
|
||||
- id: motion_rtcgq02lm
|
||||
mac_address: 01:02:03:04:05:06
|
||||
bindkey: "48403ebe2d385db8d0c187f81e62cb64"
|
||||
|
||||
binary_sensor:
|
||||
- platform: xiaomi_rtcgq02lm
|
||||
id: motion_rtcgq02lm
|
||||
motion:
|
||||
name: Mi Motion Sensor 2
|
||||
light:
|
||||
name: Mi Motion Sensor 2 Light
|
||||
button:
|
||||
name: Mi Motion Sensor 2 Button
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_rtcgq02lm
|
||||
id: motion_rtcgq02lm
|
||||
battery_level:
|
||||
name: Mi Motion Sensor 2 Battery level
|
22
tests/components/xiaomi_rtcgq02lm/test.esp32-c3.yaml
Normal file
22
tests/components/xiaomi_rtcgq02lm/test.esp32-c3.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
xiaomi_rtcgq02lm:
|
||||
- id: motion_rtcgq02lm
|
||||
mac_address: 01:02:03:04:05:06
|
||||
bindkey: "48403ebe2d385db8d0c187f81e62cb64"
|
||||
|
||||
binary_sensor:
|
||||
- platform: xiaomi_rtcgq02lm
|
||||
id: motion_rtcgq02lm
|
||||
motion:
|
||||
name: Mi Motion Sensor 2
|
||||
light:
|
||||
name: Mi Motion Sensor 2 Light
|
||||
button:
|
||||
name: Mi Motion Sensor 2 Button
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_rtcgq02lm
|
||||
id: motion_rtcgq02lm
|
||||
battery_level:
|
||||
name: Mi Motion Sensor 2 Battery level
|
22
tests/components/xiaomi_rtcgq02lm/test.esp32-idf.yaml
Normal file
22
tests/components/xiaomi_rtcgq02lm/test.esp32-idf.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
xiaomi_rtcgq02lm:
|
||||
- id: motion_rtcgq02lm
|
||||
mac_address: 01:02:03:04:05:06
|
||||
bindkey: "48403ebe2d385db8d0c187f81e62cb64"
|
||||
|
||||
binary_sensor:
|
||||
- platform: xiaomi_rtcgq02lm
|
||||
id: motion_rtcgq02lm
|
||||
motion:
|
||||
name: Mi Motion Sensor 2
|
||||
light:
|
||||
name: Mi Motion Sensor 2 Light
|
||||
button:
|
||||
name: Mi Motion Sensor 2 Button
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_rtcgq02lm
|
||||
id: motion_rtcgq02lm
|
||||
battery_level:
|
||||
name: Mi Motion Sensor 2 Battery level
|
22
tests/components/xiaomi_rtcgq02lm/test.esp32.yaml
Normal file
22
tests/components/xiaomi_rtcgq02lm/test.esp32.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
xiaomi_rtcgq02lm:
|
||||
- id: motion_rtcgq02lm
|
||||
mac_address: 01:02:03:04:05:06
|
||||
bindkey: "48403ebe2d385db8d0c187f81e62cb64"
|
||||
|
||||
binary_sensor:
|
||||
- platform: xiaomi_rtcgq02lm
|
||||
id: motion_rtcgq02lm
|
||||
motion:
|
||||
name: Mi Motion Sensor 2
|
||||
light:
|
||||
name: Mi Motion Sensor 2 Light
|
||||
button:
|
||||
name: Mi Motion Sensor 2 Button
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_rtcgq02lm
|
||||
id: motion_rtcgq02lm
|
||||
battery_level:
|
||||
name: Mi Motion Sensor 2 Battery level
|
10
tests/components/xiaomi_wx08zm/test.esp32-c3-idf.yaml
Normal file
10
tests/components/xiaomi_wx08zm/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
binary_sensor:
|
||||
- platform: xiaomi_wx08zm
|
||||
name: WX08ZM Activation State
|
||||
mac_address: 74:a3:4a:b5:07:34
|
||||
tablet:
|
||||
name: WX08ZM Tablet Resource
|
||||
battery_level:
|
||||
name: WX08ZM Battery Level
|
10
tests/components/xiaomi_wx08zm/test.esp32-c3.yaml
Normal file
10
tests/components/xiaomi_wx08zm/test.esp32-c3.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
binary_sensor:
|
||||
- platform: xiaomi_wx08zm
|
||||
name: WX08ZM Activation State
|
||||
mac_address: 74:a3:4a:b5:07:34
|
||||
tablet:
|
||||
name: WX08ZM Tablet Resource
|
||||
battery_level:
|
||||
name: WX08ZM Battery Level
|
10
tests/components/xiaomi_wx08zm/test.esp32-idf.yaml
Normal file
10
tests/components/xiaomi_wx08zm/test.esp32-idf.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
binary_sensor:
|
||||
- platform: xiaomi_wx08zm
|
||||
name: WX08ZM Activation State
|
||||
mac_address: 74:a3:4a:b5:07:34
|
||||
tablet:
|
||||
name: WX08ZM Tablet Resource
|
||||
battery_level:
|
||||
name: WX08ZM Battery Level
|
10
tests/components/xiaomi_wx08zm/test.esp32.yaml
Normal file
10
tests/components/xiaomi_wx08zm/test.esp32.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
binary_sensor:
|
||||
- platform: xiaomi_wx08zm
|
||||
name: WX08ZM Activation State
|
||||
mac_address: 74:a3:4a:b5:07:34
|
||||
tablet:
|
||||
name: WX08ZM Tablet Resource
|
||||
battery_level:
|
||||
name: WX08ZM Battery Level
|
26
tests/components/xl9535/test.esp32-c3-idf.yaml
Normal file
26
tests/components/xl9535/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
i2c:
|
||||
- id: i2c_xl9535
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
xl9535:
|
||||
- id: xl9535_hub
|
||||
address: 0x20
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: XL9535 Pin 0
|
||||
pin:
|
||||
xl9535: xl9535_hub
|
||||
number: 0
|
||||
mode:
|
||||
input: true
|
||||
inverted: false
|
||||
- platform: gpio
|
||||
name: XL9535 Pin 17
|
||||
pin:
|
||||
xl9535: xl9535_hub
|
||||
number: 17
|
||||
mode:
|
||||
input: true
|
||||
inverted: false
|
26
tests/components/xl9535/test.esp32-c3.yaml
Normal file
26
tests/components/xl9535/test.esp32-c3.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
i2c:
|
||||
- id: i2c_xl9535
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
xl9535:
|
||||
- id: xl9535_hub
|
||||
address: 0x20
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: XL9535 Pin 0
|
||||
pin:
|
||||
xl9535: xl9535_hub
|
||||
number: 0
|
||||
mode:
|
||||
input: true
|
||||
inverted: false
|
||||
- platform: gpio
|
||||
name: XL9535 Pin 17
|
||||
pin:
|
||||
xl9535: xl9535_hub
|
||||
number: 17
|
||||
mode:
|
||||
input: true
|
||||
inverted: false
|
26
tests/components/xl9535/test.esp32-idf.yaml
Normal file
26
tests/components/xl9535/test.esp32-idf.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
i2c:
|
||||
- id: i2c_xl9535
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
xl9535:
|
||||
- id: xl9535_hub
|
||||
address: 0x20
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: XL9535 Pin 0
|
||||
pin:
|
||||
xl9535: xl9535_hub
|
||||
number: 0
|
||||
mode:
|
||||
input: true
|
||||
inverted: false
|
||||
- platform: gpio
|
||||
name: XL9535 Pin 17
|
||||
pin:
|
||||
xl9535: xl9535_hub
|
||||
number: 17
|
||||
mode:
|
||||
input: true
|
||||
inverted: false
|
26
tests/components/xl9535/test.esp32.yaml
Normal file
26
tests/components/xl9535/test.esp32.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
i2c:
|
||||
- id: i2c_xl9535
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
xl9535:
|
||||
- id: xl9535_hub
|
||||
address: 0x20
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: XL9535 Pin 0
|
||||
pin:
|
||||
xl9535: xl9535_hub
|
||||
number: 0
|
||||
mode:
|
||||
input: true
|
||||
inverted: false
|
||||
- platform: gpio
|
||||
name: XL9535 Pin 17
|
||||
pin:
|
||||
xl9535: xl9535_hub
|
||||
number: 17
|
||||
mode:
|
||||
input: true
|
||||
inverted: false
|
26
tests/components/xl9535/test.esp8266.yaml
Normal file
26
tests/components/xl9535/test.esp8266.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
i2c:
|
||||
- id: i2c_xl9535
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
xl9535:
|
||||
- id: xl9535_hub
|
||||
address: 0x20
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: XL9535 Pin 0
|
||||
pin:
|
||||
xl9535: xl9535_hub
|
||||
number: 0
|
||||
mode:
|
||||
input: true
|
||||
inverted: false
|
||||
- platform: gpio
|
||||
name: XL9535 Pin 17
|
||||
pin:
|
||||
xl9535: xl9535_hub
|
||||
number: 17
|
||||
mode:
|
||||
input: true
|
||||
inverted: false
|
26
tests/components/xl9535/test.rp2040.yaml
Normal file
26
tests/components/xl9535/test.rp2040.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
i2c:
|
||||
- id: i2c_xl9535
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
xl9535:
|
||||
- id: xl9535_hub
|
||||
address: 0x20
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: XL9535 Pin 0
|
||||
pin:
|
||||
xl9535: xl9535_hub
|
||||
number: 0
|
||||
mode:
|
||||
input: true
|
||||
inverted: false
|
||||
- platform: gpio
|
||||
name: XL9535 Pin 17
|
||||
pin:
|
||||
xl9535: xl9535_hub
|
||||
number: 17
|
||||
mode:
|
||||
input: true
|
||||
inverted: false
|
33
tests/components/xpt2046/test.esp32-c3-idf.yaml
Normal file
33
tests/components/xpt2046/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,33 @@
|
||||
spi:
|
||||
- id: spi_xpt2046
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
id: xpt_display
|
||||
dimensions: 320x240
|
||||
model: TFT 2.4
|
||||
cs_pin: 8
|
||||
dc_pin: 9
|
||||
reset_pin: 10
|
||||
lambda: |-
|
||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||
|
||||
touchscreen:
|
||||
- platform: xpt2046
|
||||
id: xpt_touchscreen
|
||||
cs_pin: 4
|
||||
interrupt_pin: 3
|
||||
display: xpt_display
|
||||
update_interval: 50ms
|
||||
threshold: 400
|
||||
calibration_x_min: 3860
|
||||
calibration_x_max: 280
|
||||
calibration_y_min: 340
|
||||
calibration_y_max: 3860
|
||||
on_touch:
|
||||
- logger.log:
|
||||
format: Touch at (%d, %d)
|
||||
args: [touch.x, touch.y]
|
33
tests/components/xpt2046/test.esp32-c3.yaml
Normal file
33
tests/components/xpt2046/test.esp32-c3.yaml
Normal file
@ -0,0 +1,33 @@
|
||||
spi:
|
||||
- id: spi_xpt2046
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
id: xpt_display
|
||||
dimensions: 320x240
|
||||
model: TFT 2.4
|
||||
cs_pin: 8
|
||||
dc_pin: 9
|
||||
reset_pin: 10
|
||||
lambda: |-
|
||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||
|
||||
touchscreen:
|
||||
- platform: xpt2046
|
||||
id: xpt_touchscreen
|
||||
cs_pin: 4
|
||||
interrupt_pin: 3
|
||||
display: xpt_display
|
||||
update_interval: 50ms
|
||||
threshold: 400
|
||||
calibration_x_min: 3860
|
||||
calibration_x_max: 280
|
||||
calibration_y_min: 340
|
||||
calibration_y_max: 3860
|
||||
on_touch:
|
||||
- logger.log:
|
||||
format: Touch at (%d, %d)
|
||||
args: [touch.x, touch.y]
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user