1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-11 22:33:49 +01:00

all i2c at once

This commit is contained in:
J. Nick Koston
2025-10-09 22:28:02 -10:00
parent afec0a089c
commit 32cdfa350e
21 changed files with 29 additions and 32 deletions

View File

@@ -11,6 +11,7 @@ display:
touchscreen:
- platform: axs15231
i2c_id: i2c_bus
id: axs15231_touchscreen
display: ssd1306_display
interrupt_pin: 20

View File

@@ -11,6 +11,7 @@ display:
touchscreen:
- platform: ektf2232
i2c_id: i2c_bus
id: ektf2232_touchscreen
interrupt_pin: ${interrupt_pin}
reset_pin: ${touch_reset_pin}

View File

@@ -11,6 +11,7 @@ display:
touchscreen:
- platform: ft5x06
i2c_id: i2c_bus
display: ft5x06_display
id: ft5x06_touchscreen
on_touch:

View File

@@ -11,6 +11,7 @@ display:
touchscreen:
- platform: ft63x6
i2c_id: i2c_bus
display: ft63x6_display
id: ft63x6_touchscreen
interrupt_pin: ${interrupt_pin}

View File

@@ -11,6 +11,7 @@ display:
touchscreen:
- platform: gt911
i2c_id: i2c_bus
id: gt911_touchscreen
display: ssd1306_display
interrupt_pin: ${interrupt_pin}

View File

@@ -11,6 +11,7 @@ display:
touchscreen:
- platform: lilygo_t5_47
i2c_id: i2c_bus
id: lilygo_touchscreen
interrupt_pin: ${interrupt_pin}
display: ssd1306_display

View File

@@ -15,6 +15,7 @@ sensor:
address: 0x53
update_interval: 60s
- platform: ltr390
i2c_id: i2c_bus
uv:
name: LTR390 UV 2
uv_index:

View File

@@ -1,4 +1,5 @@
msa3xx:
i2c_id: i2c_bus
type: msa301
range: 4G
resolution: 14

View File

@@ -1,6 +1,4 @@
i2c:
- id: i2c_msa3xx
scl: GPIO5
sda: GPIO4
packages:
i2c: !include ../../test_build_components/common/i2c/esp32-c3-idf.yaml
<<: !include common.yaml

View File

@@ -1,6 +1,4 @@
i2c:
- id: i2c_msa3xx
scl: GPIO16
sda: GPIO17
packages:
i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml
<<: !include common.yaml

View File

@@ -1,6 +1,4 @@
i2c:
- id: i2c_msa3xx
scl: GPIO5
sda: GPIO4
packages:
i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml
<<: !include common.yaml

View File

@@ -1,6 +1,4 @@
i2c:
- id: i2c_msa3xx
scl: GPIO5
sda: GPIO4
packages:
i2c: !include ../../test_build_components/common/i2c/rp2040-ard.yaml
<<: !include common.yaml

View File

@@ -1,5 +1,6 @@
sensor:
- platform: nau7802
i2c_id: i2c_bus
id: test_id
name: weight
gain: 32

View File

@@ -1,6 +1,4 @@
i2c:
- id: i2c_nau7802
scl: 5
sda: 4
packages:
i2c: !include ../../test_build_components/common/i2c/esp32-c3-idf.yaml
<<: !include common.yaml

View File

@@ -1,6 +1,4 @@
i2c:
- id: i2c_nau7802
scl: 16
sda: 17
packages:
i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml
<<: !include common.yaml

View File

@@ -1,6 +1,4 @@
i2c:
- id: i2c_nau7802
scl: 5
sda: 4
packages:
i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml
<<: !include common.yaml

View File

@@ -1,6 +1,4 @@
i2c:
- id: i2c_nau7802
scl: 5
sda: 4
packages:
i2c: !include ../../test_build_components/common/i2c/rp2040-ard.yaml
<<: !include common.yaml

View File

@@ -11,6 +11,7 @@ display:
touchscreen:
- platform: tt21100
i2c_id: i2c_bus
id: tt21100_touchscreen
display: ssd1306_display
interrupt_pin: ${interrupt_pin}

View File

@@ -1,4 +1,5 @@
ttp229_lsf:
i2c_id: i2c_bus
binary_sensor:
- platform: ttp229_lsf

View File

@@ -12,6 +12,7 @@ sensor:
id: test_sensor
lambda: "return 21;"
- platform: ufire_ec
i2c_id: i2c_bus
id: ufire_ec_board
ec:
name: Ufire EC

View File

@@ -14,6 +14,7 @@ sensor:
id: test_sensor
lambda: "return 21;"
- platform: ufire_ise
i2c_id: i2c_bus
id: ufire_ise_sensor
temperature_sensor: test_sensor
ph: