mirror of
https://github.com/esphome/esphome.git
synced 2025-03-26 12:38:16 +00:00
tests added
This commit is contained in:
parent
5c666e2b7c
commit
f63d5487a1
16
tests/components/bh1745/common.yaml
Normal file
16
tests/components/bh1745/common.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
sensor:
|
||||
- platform: bh1745
|
||||
address: 0x38
|
||||
i2c_id: i2c_bh1745
|
||||
gain: 1X
|
||||
integration_time: 160ms
|
||||
red_channel: Red channel
|
||||
green_channel: Green channel
|
||||
blue_channel: Blue channel
|
||||
clear_channel: Clear channel
|
||||
illuminance: Illuminance
|
||||
color_temperature: Color temperature
|
||||
|
||||
switch:
|
||||
- platform: bh1745
|
||||
name: BH1754 LED
|
6
tests/components/bh1745/test.esp32-c3-idf.yaml
Normal file
6
tests/components/bh1745/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
i2c:
|
||||
- id: i2c_bh1745
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
<<: !include common.yaml
|
6
tests/components/bh1745/test.esp32-c3.yaml
Normal file
6
tests/components/bh1745/test.esp32-c3.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
i2c:
|
||||
- id: i2c_bh1745
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
<<: !include common.yaml
|
6
tests/components/bh1745/test.esp32-idf.yaml
Normal file
6
tests/components/bh1745/test.esp32-idf.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
i2c:
|
||||
- id: i2c_bh1745
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
<<: !include common.yaml
|
6
tests/components/bh1745/test.esp32.yaml
Normal file
6
tests/components/bh1745/test.esp32.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
i2c:
|
||||
- id: i2c_bh1745
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
<<: !include common.yaml
|
6
tests/components/bh1745/test.esp8266.yaml
Normal file
6
tests/components/bh1745/test.esp8266.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
i2c:
|
||||
- id: i2c_bh1745
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
<<: !include common.yaml
|
6
tests/components/bh1745/test.rp2040.yaml
Normal file
6
tests/components/bh1745/test.rp2040.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
i2c:
|
||||
- id: i2c_bh1745
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
<<: !include common.yaml
|
Loading…
x
Reference in New Issue
Block a user