From 9353c6aac9f19768f6640ff8307afce795917c9f Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 9 Oct 2025 10:23:26 -1000 Subject: [PATCH] merge a few more --- script/analyze_component_buses.py | 5 +++++ tests/components/ade7880/common.yaml | 1 + tests/components/ade7953_i2c/common.yaml | 1 + tests/components/ads1115/common.yaml | 1 + tests/components/aht10/common.yaml | 1 + tests/components/aic3204/common.yaml | 1 + tests/components/am2315c/common.yaml | 1 + tests/components/am2320/common.yaml | 1 + tests/components/apds9306/common.yaml | 1 + tests/components/apds9960/common.yaml | 1 + tests/components/as3935_i2c/common.yaml | 1 + tests/components/as5600/common.yaml | 1 + tests/components/as7341/common.yaml | 1 + tests/components/at581x/common.yaml | 1 + tests/components/axs15231/common.yaml | 1 + tests/components/bh1750/common.yaml | 1 + tests/components/bme280_i2c/common.yaml | 1 + tests/components/bme680/common.yaml | 1 + tests/components/bme680_bsec/common.yaml | 1 + tests/components/bme68x_bsec2_i2c/common.yaml | 1 + tests/components/bmi160/common.yaml | 1 + tests/components/bmp085/common.yaml | 1 + tests/components/bmp280_i2c/common.yaml | 1 + tests/components/bmp3xx_i2c/common.yaml | 1 + tests/components/bmp581/common.yaml | 1 + tests/components/cap1188/common.yaml | 1 + tests/components/ccs811/common.yaml | 1 + tests/components/ch422g/common.yaml | 1 + tests/components/cst226/common.yaml | 1 + tests/components/cst816/common.yaml | 1 + tests/components/current_based/common.yaml | 1 + tests/components/dac7678/common.yaml | 1 + tests/components/dht12/common.yaml | 1 + tests/components/dps310/common.yaml | 1 + tests/components/ds1307/common.yaml | 1 + tests/components/ds2484/common.yaml | 1 + tests/components/ee895/common.yaml | 1 + tests/components/ektf2232/common.yaml | 1 + tests/components/emc2101/common.yaml | 1 + tests/components/ens160_i2c/common.yaml | 1 + tests/components/ens210/common.yaml | 1 + tests/components/es7210/common.yaml | 1 + tests/components/es7243e/common.yaml | 1 + tests/components/es8156/common.yaml | 1 + tests/components/es8311/common.yaml | 1 + tests/components/es8388/common.yaml | 1 + tests/components/ezo/common.yaml | 1 + tests/components/ezo_pmp/common.yaml | 1 + tests/components/fs3000/common.yaml | 1 + tests/components/ft5x06/common.yaml | 1 + tests/components/ft63x6/common.yaml | 1 + tests/components/gdk101/common.yaml | 1 + tests/components/gl_r01_i2c/common.yaml | 1 + tests/components/gp8403/common.yaml | 2 ++ tests/components/grove_gas_mc_v2/common.yaml | 1 + tests/components/grove_tb6612fng/common.yaml | 1 + tests/components/gt911/common.yaml | 1 + tests/components/hdc1080/common.yaml | 1 + tests/components/hm3301/common.yaml | 1 + tests/components/hmc5883l/common.yaml | 1 + tests/components/honeywell_hih_i2c/common.yaml | 1 + tests/components/honeywellabp2_i2c/common.yaml | 1 + tests/components/hte501/common.yaml | 1 + tests/components/htu21d/common.yaml | 1 + tests/components/htu31d/common.yaml | 1 + tests/components/hyt271/common.yaml | 1 + tests/components/i2c_device/common.yaml | 1 + tests/components/iaqcore/common.yaml | 1 + tests/components/ina219/common.yaml | 1 + tests/components/ina226/common.yaml | 1 + tests/components/ina260/common.yaml | 1 + tests/components/ina2xx_i2c/common.yaml | 1 + tests/components/ina3221/common.yaml | 1 + tests/components/inkplate/common.yaml | 1 + tests/components/kmeteriso/common.yaml | 1 + tests/components/lc709203f/common.yaml | 1 + tests/components/lcd_pcf8574/common.yaml | 1 + tests/components/lilygo_t5_47/common.yaml | 1 + tests/components/lm75b/common.yaml | 1 + tests/components/lps22/common.yaml | 1 + tests/components/ltr390/common.yaml | 1 + tests/components/m5stack_8angle/common.yaml | 1 + tests/components/max17043/common.yaml | 1 + tests/components/max44009/common.yaml | 1 + tests/components/max6956/common.yaml | 1 + tests/components/max9611/common.yaml | 1 + tests/components/mcp23008/common.yaml | 1 + tests/components/mcp23016/common.yaml | 1 + tests/components/mcp23017/common.yaml | 1 + tests/components/mcp4461/common.yaml | 1 + tests/components/mcp4728/common.yaml | 1 + tests/components/mcp9600/common.yaml | 1 + tests/components/mcp9808/common.yaml | 1 + tests/components/mics_4514/common.yaml | 1 + tests/components/mlx90393/common.yaml | 1 + tests/components/mlx90614/common.yaml | 1 + tests/components/mmc5603/common.yaml | 1 + tests/components/mmc5983/common.yaml | 1 + tests/components/mpl3115a2/common.yaml | 1 + tests/components/mpr121/common.yaml | 1 + tests/components/mpu6050/common.yaml | 1 + tests/components/mpu6886/common.yaml | 1 + tests/components/ms5611/common.yaml | 1 + tests/components/npi19/common.yaml | 1 + tests/components/opt3001/common.yaml | 1 + tests/components/pca6416a/common.yaml | 1 + tests/components/pca9554/common.yaml | 1 + tests/components/pca9685/common.yaml | 1 + tests/components/pcf85063/common.yaml | 1 + tests/components/pcf8563/common.yaml | 1 + tests/components/pcf8574/common.yaml | 1 + tests/components/pi4ioe5v6408/common.yaml | 1 + tests/components/pm2005/common.yaml | 1 + tests/components/pmsa003i/common.yaml | 1 + tests/components/pmwcs3/common.yaml | 1 + tests/components/pn532_i2c/common.yaml | 1 + tests/components/pn7150_i2c/common.yaml | 1 + tests/components/pn7160_i2c/common.yaml | 1 + tests/components/qmc5883l/common.yaml | 1 + tests/components/qmp6988/common.yaml | 1 + tests/components/qwiic_pir/common.yaml | 1 + tests/components/rc522_i2c/common.yaml | 1 + tests/components/scd30/common.yaml | 1 + tests/components/scd4x/common.yaml | 1 + tests/components/sdp3x/common.yaml | 1 + tests/components/sen0321/common.yaml | 1 + tests/components/sen21231/common.yaml | 1 + tests/components/sen5x/common.yaml | 1 + tests/components/sfa30/common.yaml | 1 + tests/components/sgp30/common.yaml | 1 + tests/components/sgp4x/common.yaml | 1 + tests/components/sht3xd/common.yaml | 1 + tests/components/sht4x/common.yaml | 1 + tests/components/shtcx/common.yaml | 1 + tests/components/tlc59208f/common.yaml | 3 +++ tests/components/tmp102/common.yaml | 1 + tests/components/tmp1075/common.yaml | 1 + tests/components/tmp117/common.yaml | 1 + tests/components/tof10120/common.yaml | 1 + tests/components/tsl2561/common.yaml | 1 + tests/components/tsl2591/common.yaml | 1 + tests/components/tt21100/common.yaml | 1 + tests/components/veml3235/common.yaml | 1 + tests/components/veml7700/common.yaml | 1 + tests/components/vl53l0x/common.yaml | 1 + tests/components/wk2132_i2c/common.yaml | 1 + tests/components/wk2168_i2c/common.yaml | 1 + tests/components/wk2204_i2c/common.yaml | 1 + tests/components/wk2212_i2c/common.yaml | 1 + tests/components/xgzp68xx/common.yaml | 1 + tests/components/xl9535/common.yaml | 1 + tests/components/zio_ultrasonic/common.yaml | 1 + 152 files changed, 159 insertions(+) diff --git a/script/analyze_component_buses.py b/script/analyze_component_buses.py index 6f33900ab3..418576bf16 100644 --- a/script/analyze_component_buses.py +++ b/script/analyze_component_buses.py @@ -46,7 +46,12 @@ COMMON_BUS_PATH = Path("tests/test_build_components/common") ISOLATED_COMPONENTS = { "camera_encoder": "Multiple definition errors: esp32-camera IDF component conflicts with ESPHome camera component", "camera": "Uses relative include paths that break when merged with other components", + "esp32_camera": "Leaks config into other components", + "esp32_camera_web_server": "Leaks config into other components", "esphome": "Defines devices/areas in esphome: section that are referenced in other sections - breaks when merged", + "matrix_keypad": "Needs isolation due to keypad", + "mcp4725": "no YAML config to specify i2c bus id", + "mcp47a1": "no YAML config to specify i2c bus id", } diff --git a/tests/components/ade7880/common.yaml b/tests/components/ade7880/common.yaml index 9894d5e761..0b0b560282 100644 --- a/tests/components/ade7880/common.yaml +++ b/tests/components/ade7880/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: ade7880 + i2c_id: i2c_bus irq0_pin: ${irq0_pin} irq1_pin: ${irq1_pin} reset_pin: ${reset_pin} diff --git a/tests/components/ade7953_i2c/common.yaml b/tests/components/ade7953_i2c/common.yaml index c17d24a9f8..f4b3852ef2 100644 --- a/tests/components/ade7953_i2c/common.yaml +++ b/tests/components/ade7953_i2c/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: ade7953_i2c + i2c_id: i2c_bus irq_pin: ${irq_pin} voltage: name: ADE7953 Voltage diff --git a/tests/components/ads1115/common.yaml b/tests/components/ads1115/common.yaml index d12da18bea..4724dc5a14 100644 --- a/tests/components/ads1115/common.yaml +++ b/tests/components/ads1115/common.yaml @@ -1,4 +1,5 @@ ads1115: + i2c_id: i2c_bus address: 0x48 sensor: diff --git a/tests/components/aht10/common.yaml b/tests/components/aht10/common.yaml index a1e568be39..d7c3f9364f 100644 --- a/tests/components/aht10/common.yaml +++ b/tests/components/aht10/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: aht10 + i2c_id: i2c_bus temperature: name: Temperature humidity: diff --git a/tests/components/aic3204/common.yaml b/tests/components/aic3204/common.yaml index e1efad1571..5f175faee3 100644 --- a/tests/components/aic3204/common.yaml +++ b/tests/components/aic3204/common.yaml @@ -8,3 +8,4 @@ esphome: audio_dac: - platform: aic3204 + i2c_id: i2c_bus diff --git a/tests/components/am2315c/common.yaml b/tests/components/am2315c/common.yaml index 532e6eb75a..362fe19e4d 100644 --- a/tests/components/am2315c/common.yaml +++ b/tests/components/am2315c/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: am2315c + i2c_id: i2c_bus temperature: name: Temperature humidity: diff --git a/tests/components/am2320/common.yaml b/tests/components/am2320/common.yaml index 35e7919c1b..d67ca3e564 100644 --- a/tests/components/am2320/common.yaml +++ b/tests/components/am2320/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: am2320 + i2c_id: i2c_bus temperature: name: Temperature humidity: diff --git a/tests/components/apds9306/common.yaml b/tests/components/apds9306/common.yaml index f9d154abf0..dc34f47645 100644 --- a/tests/components/apds9306/common.yaml +++ b/tests/components/apds9306/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: apds9306 + i2c_id: i2c_bus name: "APDS9306 Light Level" gain: 3 bit_width: 16 diff --git a/tests/components/apds9960/common.yaml b/tests/components/apds9960/common.yaml index 6e74106b1e..c14212d263 100644 --- a/tests/components/apds9960/common.yaml +++ b/tests/components/apds9960/common.yaml @@ -1,4 +1,5 @@ apds9960: + i2c_id: i2c_bus address: 0x20 update_interval: 60s diff --git a/tests/components/as3935_i2c/common.yaml b/tests/components/as3935_i2c/common.yaml index 18ec8caa2d..a758bb7f56 100644 --- a/tests/components/as3935_i2c/common.yaml +++ b/tests/components/as3935_i2c/common.yaml @@ -1,4 +1,5 @@ as3935_i2c: + i2c_id: i2c_bus irq_pin: ${irq_pin} binary_sensor: diff --git a/tests/components/as5600/common.yaml b/tests/components/as5600/common.yaml index f16e78b66a..d867c66a21 100644 --- a/tests/components/as5600/common.yaml +++ b/tests/components/as5600/common.yaml @@ -1,4 +1,5 @@ as5600: + i2c_id: i2c_bus dir_pin: ${dir_pin} direction: clockwise start_position: 90deg diff --git a/tests/components/as7341/common.yaml b/tests/components/as7341/common.yaml index 8ec884f6a8..3f94656c74 100644 --- a/tests/components/as7341/common.yaml +++ b/tests/components/as7341/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: as7341 + i2c_id: i2c_bus update_interval: 15s gain: X8 atime: 120 diff --git a/tests/components/at581x/common.yaml b/tests/components/at581x/common.yaml index e06862c68d..425be47c42 100644 --- a/tests/components/at581x/common.yaml +++ b/tests/components/at581x/common.yaml @@ -16,6 +16,7 @@ esphome: id: waveradar at581x: + i2c_id: i2c_bus id: waveradar switch: diff --git a/tests/components/axs15231/common.yaml b/tests/components/axs15231/common.yaml index 8384e31353..6de9f8ae77 100644 --- a/tests/components/axs15231/common.yaml +++ b/tests/components/axs15231/common.yaml @@ -1,5 +1,6 @@ display: - platform: ssd1306_i2c + i2c_id: i2c_bus id: ssd1306_display model: SSD1306_128X64 reset_pin: 19 diff --git a/tests/components/bh1750/common.yaml b/tests/components/bh1750/common.yaml index a8a25d7d01..46ea99b7e3 100644 --- a/tests/components/bh1750/common.yaml +++ b/tests/components/bh1750/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: bh1750 + i2c_id: i2c_bus name: Living Room Brightness address: 0x23 update_interval: 30s diff --git a/tests/components/bme280_i2c/common.yaml b/tests/components/bme280_i2c/common.yaml index 903c2852d1..e6d41d209c 100644 --- a/tests/components/bme280_i2c/common.yaml +++ b/tests/components/bme280_i2c/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: bme280_i2c + i2c_id: i2c_bus address: 0x76 temperature: id: bme280_temperature diff --git a/tests/components/bme680/common.yaml b/tests/components/bme680/common.yaml index 32421bd111..d5a7267060 100644 --- a/tests/components/bme680/common.yaml +++ b/tests/components/bme680/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: bme680 + i2c_id: i2c_bus temperature: name: BME680 Temperature oversampling: 16x diff --git a/tests/components/bme680_bsec/common.yaml b/tests/components/bme680_bsec/common.yaml index 24a73479dd..1a78ab2ae0 100644 --- a/tests/components/bme680_bsec/common.yaml +++ b/tests/components/bme680_bsec/common.yaml @@ -1,4 +1,5 @@ bme680_bsec: + i2c_id: i2c_bus address: 0x77 sensor: diff --git a/tests/components/bme68x_bsec2_i2c/common.yaml b/tests/components/bme68x_bsec2_i2c/common.yaml index 2ac562a832..bee964f433 100644 --- a/tests/components/bme68x_bsec2_i2c/common.yaml +++ b/tests/components/bme68x_bsec2_i2c/common.yaml @@ -1,4 +1,5 @@ bme68x_bsec2_i2c: + i2c_id: i2c_bus address: 0x76 model: bme688 algorithm_output: classification diff --git a/tests/components/bmi160/common.yaml b/tests/components/bmi160/common.yaml index 2ad35df48c..7375732db2 100644 --- a/tests/components/bmi160/common.yaml +++ b/tests/components/bmi160/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: bmi160 + i2c_id: i2c_bus address: 0x68 acceleration_x: name: BMI160 Accel X diff --git a/tests/components/bmp085/common.yaml b/tests/components/bmp085/common.yaml index 7d6dcbe5d1..ad358f4409 100644 --- a/tests/components/bmp085/common.yaml +++ b/tests/components/bmp085/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: bmp085 + i2c_id: i2c_bus temperature: name: Outside Temperature pressure: diff --git a/tests/components/bmp280_i2c/common.yaml b/tests/components/bmp280_i2c/common.yaml index a07b2eea4d..785343de7d 100644 --- a/tests/components/bmp280_i2c/common.yaml +++ b/tests/components/bmp280_i2c/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: bmp280_i2c + i2c_id: i2c_bus address: 0x77 temperature: id: bmp280_temperature diff --git a/tests/components/bmp3xx_i2c/common.yaml b/tests/components/bmp3xx_i2c/common.yaml index fcf9912b95..ebc4921b84 100644 --- a/tests/components/bmp3xx_i2c/common.yaml +++ b/tests/components/bmp3xx_i2c/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: bmp3xx_i2c + i2c_id: i2c_bus address: 0x77 temperature: name: BMP Temperature diff --git a/tests/components/bmp581/common.yaml b/tests/components/bmp581/common.yaml index c36392b6b9..250b1f5857 100644 --- a/tests/components/bmp581/common.yaml +++ b/tests/components/bmp581/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: bmp581 + i2c_id: i2c_bus temperature: name: BMP581 Temperature iir_filter: 2x diff --git a/tests/components/cap1188/common.yaml b/tests/components/cap1188/common.yaml index 213bbd3967..3e4ed972ff 100644 --- a/tests/components/cap1188/common.yaml +++ b/tests/components/cap1188/common.yaml @@ -1,5 +1,6 @@ cap1188: id: cap1188_component + i2c_id: i2c_bus address: 0x29 reset_pin: ${reset_pin} touch_threshold: 0x20 diff --git a/tests/components/ccs811/common.yaml b/tests/components/ccs811/common.yaml index 336d8a8fda..0d912fd3ac 100644 --- a/tests/components/ccs811/common.yaml +++ b/tests/components/ccs811/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: ccs811 + i2c_id: i2c_bus eco2: name: CCS811 eCO2 tvoc: diff --git a/tests/components/ch422g/common.yaml b/tests/components/ch422g/common.yaml index d65956ecac..ad3707eee0 100644 --- a/tests/components/ch422g/common.yaml +++ b/tests/components/ch422g/common.yaml @@ -1,5 +1,6 @@ ch422g: - id: ch422g_hub + i2c_id: i2c_bus binary_sensor: - platform: gpio diff --git a/tests/components/cst226/common.yaml b/tests/components/cst226/common.yaml index 1f209cf6b5..79d7e7fd53 100644 --- a/tests/components/cst226/common.yaml +++ b/tests/components/cst226/common.yaml @@ -9,6 +9,7 @@ display: touchscreen: - id: ts_cst226 + i2c_id: i2c_bus platform: cst226 display: cst226_display interrupt_pin: ${interrupt_pin} diff --git a/tests/components/cst816/common.yaml b/tests/components/cst816/common.yaml index 8146f7047a..889a477dd2 100644 --- a/tests/components/cst816/common.yaml +++ b/tests/components/cst816/common.yaml @@ -15,6 +15,7 @@ display: touchscreen: - id: ts_cst816 + i2c_id: i2c_bus platform: cst816 display: cst816_display interrupt_pin: ${interrupt_pin} diff --git a/tests/components/current_based/common.yaml b/tests/components/current_based/common.yaml index fd73b38dca..503c4596e9 100644 --- a/tests/components/current_based/common.yaml +++ b/tests/components/current_based/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: ade7953_i2c + i2c_id: i2c_bus irq_pin: ${irq_pin} voltage: name: ADE7953 Voltage diff --git a/tests/components/dac7678/common.yaml b/tests/components/dac7678/common.yaml index ca4bc8bf97..6c9c032686 100644 --- a/tests/components/dac7678/common.yaml +++ b/tests/components/dac7678/common.yaml @@ -1,4 +1,5 @@ dac7678: + i2c_id: i2c_bus address: 0x4A id: dac7678_hub internal_reference: true diff --git a/tests/components/dht12/common.yaml b/tests/components/dht12/common.yaml index 2477ce4d60..2602ae13cf 100644 --- a/tests/components/dht12/common.yaml +++ b/tests/components/dht12/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: dht12 + i2c_id: i2c_bus temperature: name: DHT12 Temperature humidity: diff --git a/tests/components/dps310/common.yaml b/tests/components/dps310/common.yaml index c5d47dfd99..847a79f2e6 100644 --- a/tests/components/dps310/common.yaml +++ b/tests/components/dps310/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: dps310 + i2c_id: i2c_bus temperature: name: DPS310 Temperature pressure: diff --git a/tests/components/ds1307/common.yaml b/tests/components/ds1307/common.yaml index 42b420dfd4..cdd2b9cf56 100644 --- a/tests/components/ds1307/common.yaml +++ b/tests/components/ds1307/common.yaml @@ -1,4 +1,5 @@ time: - platform: ds1307 + i2c_id: i2c_bus id: ds1307_time update_interval: never diff --git a/tests/components/ds2484/common.yaml b/tests/components/ds2484/common.yaml index 2de1b03686..1e5dcd7dba 100644 --- a/tests/components/ds2484/common.yaml +++ b/tests/components/ds2484/common.yaml @@ -1,5 +1,6 @@ one_wire: platform: ds2484 + i2c_id: i2c_bus address: 0x18 active_pullup: true strong_pullup: false diff --git a/tests/components/ee895/common.yaml b/tests/components/ee895/common.yaml index 21e4745363..f1b17ca9d9 100644 --- a/tests/components/ee895/common.yaml +++ b/tests/components/ee895/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: ee895 + i2c_id: i2c_bus address: 0x5F co2: name: EE895 CO2 diff --git a/tests/components/ektf2232/common.yaml b/tests/components/ektf2232/common.yaml index 40e6a171d4..e2b71da183 100644 --- a/tests/components/ektf2232/common.yaml +++ b/tests/components/ektf2232/common.yaml @@ -1,5 +1,6 @@ display: - platform: ssd1306_i2c + i2c_id: i2c_bus id: ssd1306_display model: SSD1306_128X64 reset_pin: ${display_reset_pin} diff --git a/tests/components/emc2101/common.yaml b/tests/components/emc2101/common.yaml index 13937bac9f..d9e6fe2b96 100644 --- a/tests/components/emc2101/common.yaml +++ b/tests/components/emc2101/common.yaml @@ -1,4 +1,5 @@ emc2101: + i2c_id: i2c_bus pwm: resolution: 8 diff --git a/tests/components/ens160_i2c/common.yaml b/tests/components/ens160_i2c/common.yaml index c66a728c11..685c8d3fee 100644 --- a/tests/components/ens160_i2c/common.yaml +++ b/tests/components/ens160_i2c/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: ens160_i2c + i2c_id: i2c_bus address: 0x53 eco2: name: "ENS160 eCO2" diff --git a/tests/components/ens210/common.yaml b/tests/components/ens210/common.yaml index 9d2a2a7fbd..6bc8f824cc 100644 --- a/tests/components/ens210/common.yaml +++ b/tests/components/ens210/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: ens210 + i2c_id: i2c_bus temperature: name: ENS210 Temperature humidity: diff --git a/tests/components/es7210/common.yaml b/tests/components/es7210/common.yaml index e4b69436c1..b9f0b0c3e9 100644 --- a/tests/components/es7210/common.yaml +++ b/tests/components/es7210/common.yaml @@ -6,6 +6,7 @@ esphome: audio_adc: - platform: es7210 + i2c_id: i2c_bus id: es7210_adc bits_per_sample: 16bit sample_rate: 16000 diff --git a/tests/components/es7243e/common.yaml b/tests/components/es7243e/common.yaml index 2df5d67213..0fcfb97273 100644 --- a/tests/components/es7243e/common.yaml +++ b/tests/components/es7243e/common.yaml @@ -6,4 +6,5 @@ esphome: audio_adc: - platform: es7243e + i2c_id: i2c_bus id: es7243e_adc diff --git a/tests/components/es8156/common.yaml b/tests/components/es8156/common.yaml index 1c955c0ac9..c41a332bd7 100644 --- a/tests/components/es8156/common.yaml +++ b/tests/components/es8156/common.yaml @@ -8,3 +8,4 @@ esphome: audio_dac: - platform: es8156 + i2c_id: i2c_bus diff --git a/tests/components/es8311/common.yaml b/tests/components/es8311/common.yaml index cb4c10249e..e855761ef4 100644 --- a/tests/components/es8311/common.yaml +++ b/tests/components/es8311/common.yaml @@ -8,3 +8,4 @@ esphome: audio_dac: - platform: es8311 + i2c_id: i2c_bus diff --git a/tests/components/es8388/common.yaml b/tests/components/es8388/common.yaml index a734ff5dd2..cc7465ab93 100644 --- a/tests/components/es8388/common.yaml +++ b/tests/components/es8388/common.yaml @@ -9,6 +9,7 @@ esphome: audio_dac: - platform: es8388 + i2c_id: i2c_bus id: es8388_parent select: diff --git a/tests/components/ezo/common.yaml b/tests/components/ezo/common.yaml index baae467aaf..79afbb8aa6 100644 --- a/tests/components/ezo/common.yaml +++ b/tests/components/ezo/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: ezo + i2c_id: i2c_bus id: ph_ezo address: 99 unit_of_measurement: pH diff --git a/tests/components/ezo_pmp/common.yaml b/tests/components/ezo_pmp/common.yaml index 041ca24d95..bd2fd9193c 100644 --- a/tests/components/ezo_pmp/common.yaml +++ b/tests/components/ezo_pmp/common.yaml @@ -1,4 +1,5 @@ ezo_pmp: + i2c_id: i2c_bus id: hcl_pump update_interval: 1s diff --git a/tests/components/fs3000/common.yaml b/tests/components/fs3000/common.yaml index 02df482c7e..e8ec4d0773 100644 --- a/tests/components/fs3000/common.yaml +++ b/tests/components/fs3000/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: fs3000 + i2c_id: i2c_bus name: Air Velocity model: 1005 update_interval: 60s diff --git a/tests/components/ft5x06/common.yaml b/tests/components/ft5x06/common.yaml index f6ad28ebc6..ad8d9cf442 100644 --- a/tests/components/ft5x06/common.yaml +++ b/tests/components/ft5x06/common.yaml @@ -1,5 +1,6 @@ display: - platform: ssd1306_i2c + i2c_id: i2c_bus id: ssd1306_display model: SSD1306_128X64 reset_pin: ${reset_pin} diff --git a/tests/components/ft63x6/common.yaml b/tests/components/ft63x6/common.yaml index bde8ef4876..1ba8bc5620 100644 --- a/tests/components/ft63x6/common.yaml +++ b/tests/components/ft63x6/common.yaml @@ -1,5 +1,6 @@ display: - platform: ssd1306_i2c + i2c_id: i2c_bus id: ssd1306_display model: SSD1306_128X64 reset_pin: ${reset_pin} diff --git a/tests/components/gdk101/common.yaml b/tests/components/gdk101/common.yaml index dd5e253ce6..4eb5586ade 100644 --- a/tests/components/gdk101/common.yaml +++ b/tests/components/gdk101/common.yaml @@ -1,4 +1,5 @@ gdk101: + i2c_id: i2c_bus id: my_gdk101 sensor: diff --git a/tests/components/gl_r01_i2c/common.yaml b/tests/components/gl_r01_i2c/common.yaml index 01994edbe3..272a94d349 100644 --- a/tests/components/gl_r01_i2c/common.yaml +++ b/tests/components/gl_r01_i2c/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: gl_r01_i2c + i2c_id: i2c_bus id: tof name: "ToF sensor" address: 0x74 diff --git a/tests/components/gp8403/common.yaml b/tests/components/gp8403/common.yaml index ba8005a03f..b04fbc4fbc 100644 --- a/tests/components/gp8403/common.yaml +++ b/tests/components/gp8403/common.yaml @@ -1,7 +1,9 @@ gp8403: - id: gp8403_5v + i2c_id: i2c_bus voltage: 5V - id: gp8403_10v + i2c_id: i2c_bus voltage: 10V output: diff --git a/tests/components/grove_gas_mc_v2/common.yaml b/tests/components/grove_gas_mc_v2/common.yaml index 2f67a99e12..0729e6b9c7 100644 --- a/tests/components/grove_gas_mc_v2/common.yaml +++ b/tests/components/grove_gas_mc_v2/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: grove_gas_mc_v2 + i2c_id: i2c_bus nitrogen_dioxide: name: "Nitrogen Dioxide" ethanol: diff --git a/tests/components/grove_tb6612fng/common.yaml b/tests/components/grove_tb6612fng/common.yaml index 2a1738f9b8..52d5ead96e 100644 --- a/tests/components/grove_tb6612fng/common.yaml +++ b/tests/components/grove_tb6612fng/common.yaml @@ -15,4 +15,5 @@ esphome: grove_tb6612fng: id: test_motor + i2c_id: i2c_bus address: 0x14 diff --git a/tests/components/gt911/common.yaml b/tests/components/gt911/common.yaml index 4eb3bcd3dd..944584db01 100644 --- a/tests/components/gt911/common.yaml +++ b/tests/components/gt911/common.yaml @@ -1,5 +1,6 @@ display: - platform: ssd1306_i2c + i2c_id: i2c_bus id: ssd1306_display model: SSD1306_128X64 reset_pin: ${display_reset_pin} diff --git a/tests/components/hdc1080/common.yaml b/tests/components/hdc1080/common.yaml index f12645fd30..a559392cb1 100644 --- a/tests/components/hdc1080/common.yaml +++ b/tests/components/hdc1080/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: hdc1080 + i2c_id: i2c_bus temperature: name: Temperature humidity: diff --git a/tests/components/hm3301/common.yaml b/tests/components/hm3301/common.yaml index a8ef5ef0dd..a56ac7bc65 100644 --- a/tests/components/hm3301/common.yaml +++ b/tests/components/hm3301/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: hm3301 + i2c_id: i2c_bus pm_1_0: name: PM1.0 pm_2_5: diff --git a/tests/components/hmc5883l/common.yaml b/tests/components/hmc5883l/common.yaml index 6d0176a4d8..19e4ba4c45 100644 --- a/tests/components/hmc5883l/common.yaml +++ b/tests/components/hmc5883l/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: hmc5883l + i2c_id: i2c_bus address: 0x68 field_strength_x: name: HMC5883L Field Strength X diff --git a/tests/components/honeywell_hih_i2c/common.yaml b/tests/components/honeywell_hih_i2c/common.yaml index 7ffddce435..de588a30bd 100644 --- a/tests/components/honeywell_hih_i2c/common.yaml +++ b/tests/components/honeywell_hih_i2c/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: honeywell_hih_i2c + i2c_id: i2c_bus temperature: name: Temperature humidity: diff --git a/tests/components/honeywellabp2_i2c/common.yaml b/tests/components/honeywellabp2_i2c/common.yaml index 8852c5b771..e1b060edcf 100644 --- a/tests/components/honeywellabp2_i2c/common.yaml +++ b/tests/components/honeywellabp2_i2c/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: honeywellabp2_i2c + i2c_id: i2c_bus address: 0x28 pressure: name: Honeywell2 pressure diff --git a/tests/components/hte501/common.yaml b/tests/components/hte501/common.yaml index b2fd79d234..e0641de193 100644 --- a/tests/components/hte501/common.yaml +++ b/tests/components/hte501/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: hte501 + i2c_id: i2c_bus address: 0x40 temperature: name: Temperature diff --git a/tests/components/htu21d/common.yaml b/tests/components/htu21d/common.yaml index a8432651b5..ad4b23d460 100644 --- a/tests/components/htu21d/common.yaml +++ b/tests/components/htu21d/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: htu21d + i2c_id: i2c_bus model: htu21d temperature: name: Temperature diff --git a/tests/components/htu31d/common.yaml b/tests/components/htu31d/common.yaml index 024e8e5568..41d718ea69 100644 --- a/tests/components/htu31d/common.yaml +++ b/tests/components/htu31d/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: htu31d + i2c_id: i2c_bus temperature: name: Living Room Temperature humidity: diff --git a/tests/components/hyt271/common.yaml b/tests/components/hyt271/common.yaml index e18032f684..5771d882da 100644 --- a/tests/components/hyt271/common.yaml +++ b/tests/components/hyt271/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: hyt271 + i2c_id: i2c_bus temperature: name: Temperature humidity: diff --git a/tests/components/i2c_device/common.yaml b/tests/components/i2c_device/common.yaml index a785f3e0c6..fed399eb8c 100644 --- a/tests/components/i2c_device/common.yaml +++ b/tests/components/i2c_device/common.yaml @@ -1,3 +1,4 @@ i2c_device: id: i2cdev + i2c_id: i2c_bus address: 0x2C diff --git a/tests/components/iaqcore/common.yaml b/tests/components/iaqcore/common.yaml index 9494f45893..e0f9d09a00 100644 --- a/tests/components/iaqcore/common.yaml +++ b/tests/components/iaqcore/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: iaqcore + i2c_id: i2c_bus co2: name: iAQ Core CO2 Sensor tvoc: diff --git a/tests/components/ina219/common.yaml b/tests/components/ina219/common.yaml index 09e9d9ea3e..71291a082d 100644 --- a/tests/components/ina219/common.yaml +++ b/tests/components/ina219/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: ina219 + i2c_id: i2c_bus address: 0x40 shunt_resistance: 0.1 ohm current: diff --git a/tests/components/ina226/common.yaml b/tests/components/ina226/common.yaml index 4db55626ff..7cbaf8cb2f 100644 --- a/tests/components/ina226/common.yaml +++ b/tests/components/ina226/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: ina226 + i2c_id: i2c_bus address: 0x40 shunt_resistance: 0.1 ohm current: diff --git a/tests/components/ina260/common.yaml b/tests/components/ina260/common.yaml index 0565d8ee0a..f630d0bb47 100644 --- a/tests/components/ina260/common.yaml +++ b/tests/components/ina260/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: ina260 + i2c_id: i2c_bus address: 0x40 current: name: INA260 Current diff --git a/tests/components/ina2xx_i2c/common.yaml b/tests/components/ina2xx_i2c/common.yaml index a1b5859fe0..7d586f136e 100644 --- a/tests/components/ina2xx_i2c/common.yaml +++ b/tests/components/ina2xx_i2c/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: ina2xx_i2c + i2c_id: i2c_bus address: 0x40 model: INA228 shunt_resistance: 0.001130 ohm diff --git a/tests/components/ina3221/common.yaml b/tests/components/ina3221/common.yaml index 22dceb7850..570d1b0a12 100644 --- a/tests/components/ina3221/common.yaml +++ b/tests/components/ina3221/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: ina3221 + i2c_id: i2c_bus address: 0x40 channel_1: shunt_resistance: 0.1 ohm diff --git a/tests/components/inkplate/common.yaml b/tests/components/inkplate/common.yaml index 5b4684e7c9..bb18ff4f7e 100644 --- a/tests/components/inkplate/common.yaml +++ b/tests/components/inkplate/common.yaml @@ -3,6 +3,7 @@ esp32: display: - platform: inkplate + i2c_id: i2c_bus id: inkplate_display greyscale: false partial_updating: false diff --git a/tests/components/kmeteriso/common.yaml b/tests/components/kmeteriso/common.yaml index 084a987db3..8542bb6a06 100644 --- a/tests/components/kmeteriso/common.yaml +++ b/tests/components/kmeteriso/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: kmeteriso + i2c_id: i2c_bus temperature: name: Outside Temperature internal_temperature: diff --git a/tests/components/lc709203f/common.yaml b/tests/components/lc709203f/common.yaml index 2bd7bea1e6..3711e5372c 100644 --- a/tests/components/lc709203f/common.yaml +++ b/tests/components/lc709203f/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: lc709203f + i2c_id: i2c_bus size: 2000 voltage: 3.7 battery_voltage: diff --git a/tests/components/lcd_pcf8574/common.yaml b/tests/components/lcd_pcf8574/common.yaml index b79b9e648c..1ec4400332 100644 --- a/tests/components/lcd_pcf8574/common.yaml +++ b/tests/components/lcd_pcf8574/common.yaml @@ -1,5 +1,6 @@ display: - platform: lcd_pcf8574 + i2c_id: i2c_bus dimensions: 18x4 address: 0x3F user_characters: diff --git a/tests/components/lilygo_t5_47/common.yaml b/tests/components/lilygo_t5_47/common.yaml index 8665f8f153..77aed4a0c7 100644 --- a/tests/components/lilygo_t5_47/common.yaml +++ b/tests/components/lilygo_t5_47/common.yaml @@ -1,5 +1,6 @@ display: - platform: ssd1306_i2c + i2c_id: i2c_bus id: ssd1306_display model: SSD1306_128X64 reset_pin: ${reset_pin} diff --git a/tests/components/lm75b/common.yaml b/tests/components/lm75b/common.yaml index fb121815e8..39c39ed8dc 100644 --- a/tests/components/lm75b/common.yaml +++ b/tests/components/lm75b/common.yaml @@ -1,4 +1,5 @@ sensor: - platform: lm75b + i2c_id: i2c_bus name: LM75B Temperature update_interval: 30s diff --git a/tests/components/lps22/common.yaml b/tests/components/lps22/common.yaml index e6de4752ba..026b3620cd 100644 --- a/tests/components/lps22/common.yaml +++ b/tests/components/lps22/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: lps22 + i2c_id: i2c_bus address: 0x5d update_interval: 10s temperature: diff --git a/tests/components/ltr390/common.yaml b/tests/components/ltr390/common.yaml index 4df674c91b..8dd967e9b9 100644 --- a/tests/components/ltr390/common.yaml +++ b/tests/components/ltr390/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: ltr390 + i2c_id: i2c_bus uv: name: LTR390 UV 1 uv_index: diff --git a/tests/components/m5stack_8angle/common.yaml b/tests/components/m5stack_8angle/common.yaml index f923410ee1..d0af24116c 100644 --- a/tests/components/m5stack_8angle/common.yaml +++ b/tests/components/m5stack_8angle/common.yaml @@ -1,4 +1,5 @@ m5stack_8angle: + i2c_id: i2c_bus id: m5stack_8angle_base light: diff --git a/tests/components/max17043/common.yaml b/tests/components/max17043/common.yaml index e2e8e65e27..f58006c460 100644 --- a/tests/components/max17043/common.yaml +++ b/tests/components/max17043/common.yaml @@ -5,6 +5,7 @@ esphome: sensor: - platform: max17043 + i2c_id: i2c_bus id: max17043_id battery_voltage: name: "Battery Voltage" diff --git a/tests/components/max44009/common.yaml b/tests/components/max44009/common.yaml index 0dadd906a7..523387e1cc 100644 --- a/tests/components/max44009/common.yaml +++ b/tests/components/max44009/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: max44009 + i2c_id: i2c_bus name: MAX44009 Brightness internal: true mode: low_power diff --git a/tests/components/max6956/common.yaml b/tests/components/max6956/common.yaml index d0f22a534e..665a606027 100644 --- a/tests/components/max6956/common.yaml +++ b/tests/components/max6956/common.yaml @@ -1,5 +1,6 @@ max6956: - id: max6956_1 + i2c_id: i2c_bus address: 0x40 binary_sensor: diff --git a/tests/components/max9611/common.yaml b/tests/components/max9611/common.yaml index 27fdf7b2ef..ca9ee59038 100644 --- a/tests/components/max9611/common.yaml +++ b/tests/components/max9611/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: max9611 + i2c_id: i2c_bus shunt_resistance: 0.2 ohm gain: 1X voltage: diff --git a/tests/components/mcp23008/common.yaml b/tests/components/mcp23008/common.yaml index 449da52e8f..4a407adfd8 100644 --- a/tests/components/mcp23008/common.yaml +++ b/tests/components/mcp23008/common.yaml @@ -1,4 +1,5 @@ mcp23008: + i2c_id: i2c_bus id: mcp23008_hub binary_sensor: diff --git a/tests/components/mcp23016/common.yaml b/tests/components/mcp23016/common.yaml index ec9ecd382f..e8e3ad9d08 100644 --- a/tests/components/mcp23016/common.yaml +++ b/tests/components/mcp23016/common.yaml @@ -1,4 +1,5 @@ mcp23016: + i2c_id: i2c_bus id: mcp23016_hub binary_sensor: diff --git a/tests/components/mcp23017/common.yaml b/tests/components/mcp23017/common.yaml index 4b37999380..54a97e911f 100644 --- a/tests/components/mcp23017/common.yaml +++ b/tests/components/mcp23017/common.yaml @@ -1,4 +1,5 @@ mcp23017: + i2c_id: i2c_bus id: mcp23017_hub binary_sensor: diff --git a/tests/components/mcp4461/common.yaml b/tests/components/mcp4461/common.yaml index aeb693bda2..92fd789dcb 100644 --- a/tests/components/mcp4461/common.yaml +++ b/tests/components/mcp4461/common.yaml @@ -1,5 +1,6 @@ mcp4461: - id: mcp4461_digipot_01 + i2c_id: i2c_bus output: - platform: mcp4461 diff --git a/tests/components/mcp4728/common.yaml b/tests/components/mcp4728/common.yaml index b4f605cc0c..e60f4795e1 100644 --- a/tests/components/mcp4728/common.yaml +++ b/tests/components/mcp4728/common.yaml @@ -1,5 +1,6 @@ mcp4728: - id: mcp4728_dac + i2c_id: i2c_bus output: - platform: mcp4728 diff --git a/tests/components/mcp9600/common.yaml b/tests/components/mcp9600/common.yaml index f0cf53cf2a..33e33d183e 100644 --- a/tests/components/mcp9600/common.yaml +++ b/tests/components/mcp9600/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: mcp9600 + i2c_id: i2c_bus thermocouple_type: K hot_junction: name: Thermocouple Temperature diff --git a/tests/components/mcp9808/common.yaml b/tests/components/mcp9808/common.yaml index 5104e063d6..86d0661552 100644 --- a/tests/components/mcp9808/common.yaml +++ b/tests/components/mcp9808/common.yaml @@ -1,3 +1,4 @@ sensor: - platform: mcp9808 + i2c_id: i2c_bus name: MCP9808 Temperature diff --git a/tests/components/mics_4514/common.yaml b/tests/components/mics_4514/common.yaml index a4c9f40d01..3c1d264680 100644 --- a/tests/components/mics_4514/common.yaml +++ b/tests/components/mics_4514/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: mics_4514 + i2c_id: i2c_bus update_interval: 60s nitrogen_dioxide: name: MICS-4514 NO2 diff --git a/tests/components/mlx90393/common.yaml b/tests/components/mlx90393/common.yaml index cc7e6fa863..9e85e06c89 100644 --- a/tests/components/mlx90393/common.yaml +++ b/tests/components/mlx90393/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: mlx90393 + i2c_id: i2c_bus oversampling: 3 gain: 1X temperature_compensation: true diff --git a/tests/components/mlx90614/common.yaml b/tests/components/mlx90614/common.yaml index e0e3e5d71e..8d408fb016 100644 --- a/tests/components/mlx90614/common.yaml +++ b/tests/components/mlx90614/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: mlx90614 + i2c_id: i2c_bus ambient: name: Ambient object: diff --git a/tests/components/mmc5603/common.yaml b/tests/components/mmc5603/common.yaml index b7ef8efc34..6f6e35e9af 100644 --- a/tests/components/mmc5603/common.yaml +++ b/tests/components/mmc5603/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: mmc5603 + i2c_id: i2c_bus address: 0x30 field_strength_x: name: HMC5883L Field Strength X diff --git a/tests/components/mmc5983/common.yaml b/tests/components/mmc5983/common.yaml index 643a8921d4..963a2527c1 100644 --- a/tests/components/mmc5983/common.yaml +++ b/tests/components/mmc5983/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: mmc5983 + i2c_id: i2c_bus field_strength_x: name: "Magnet X" id: magnet_x diff --git a/tests/components/mpl3115a2/common.yaml b/tests/components/mpl3115a2/common.yaml index c54102d42e..aa6c2b77fc 100644 --- a/tests/components/mpl3115a2/common.yaml +++ b/tests/components/mpl3115a2/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: mpl3115a2 + i2c_id: i2c_bus temperature: name: MPL3115A2 Temperature pressure: diff --git a/tests/components/mpr121/common.yaml b/tests/components/mpr121/common.yaml index a13cd0cfba..67a06cf9c1 100644 --- a/tests/components/mpr121/common.yaml +++ b/tests/components/mpr121/common.yaml @@ -1,4 +1,5 @@ mpr121: + i2c_id: i2c_bus id: mpr121_first address: 0x5A diff --git a/tests/components/mpu6050/common.yaml b/tests/components/mpu6050/common.yaml index 1fcae733d2..7ac123f8c7 100644 --- a/tests/components/mpu6050/common.yaml +++ b/tests/components/mpu6050/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: mpu6050 + i2c_id: i2c_bus address: 0x68 accel_x: name: MPU6050 Accel X diff --git a/tests/components/mpu6886/common.yaml b/tests/components/mpu6886/common.yaml index c6097b9981..9f7324f384 100644 --- a/tests/components/mpu6886/common.yaml +++ b/tests/components/mpu6886/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: mpu6886 + i2c_id: i2c_bus address: 0x68 accel_x: name: MPU6886 Accel X diff --git a/tests/components/ms5611/common.yaml b/tests/components/ms5611/common.yaml index a2dcd74091..12644fa330 100644 --- a/tests/components/ms5611/common.yaml +++ b/tests/components/ms5611/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: ms5611 + i2c_id: i2c_bus temperature: name: Outside Temperature pressure: diff --git a/tests/components/npi19/common.yaml b/tests/components/npi19/common.yaml index ca026784a9..03550c269f 100644 --- a/tests/components/npi19/common.yaml +++ b/tests/components/npi19/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: npi19 + i2c_id: i2c_bus update_interval: 1s temperature: diff --git a/tests/components/opt3001/common.yaml b/tests/components/opt3001/common.yaml index 74f6f9dccc..7b2cb339af 100644 --- a/tests/components/opt3001/common.yaml +++ b/tests/components/opt3001/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: opt3001 + i2c_id: i2c_bus name: Living Room Brightness address: 0x44 update_interval: 30s diff --git a/tests/components/pca6416a/common.yaml b/tests/components/pca6416a/common.yaml index 2a0ef42131..9ad6e2fb15 100644 --- a/tests/components/pca6416a/common.yaml +++ b/tests/components/pca6416a/common.yaml @@ -1,5 +1,6 @@ pca6416a: - id: pca6416a_hub + i2c_id: i2c_bus address: 0x21 binary_sensor: diff --git a/tests/components/pca9554/common.yaml b/tests/components/pca9554/common.yaml index 6b71e1204a..9e5e7f3342 100644 --- a/tests/components/pca9554/common.yaml +++ b/tests/components/pca9554/common.yaml @@ -1,5 +1,6 @@ pca9554: - id: pca9554_hub + i2c_id: i2c_bus pin_count: 8 address: 0x3F diff --git a/tests/components/pca9685/common.yaml b/tests/components/pca9685/common.yaml index 43db8ea8c1..2e238b481c 100644 --- a/tests/components/pca9685/common.yaml +++ b/tests/components/pca9685/common.yaml @@ -1,4 +1,5 @@ pca9685: + i2c_id: i2c_bus frequency: 500 address: 0x0 diff --git a/tests/components/pcf85063/common.yaml b/tests/components/pcf85063/common.yaml index 1f496a358c..170029ad85 100644 --- a/tests/components/pcf85063/common.yaml +++ b/tests/components/pcf85063/common.yaml @@ -5,3 +5,4 @@ esphome: time: - platform: pcf85063 + i2c_id: i2c_bus diff --git a/tests/components/pcf8563/common.yaml b/tests/components/pcf8563/common.yaml index eef1373376..ac5f3afed1 100644 --- a/tests/components/pcf8563/common.yaml +++ b/tests/components/pcf8563/common.yaml @@ -5,3 +5,4 @@ esphome: time: - platform: pcf8563 + i2c_id: i2c_bus diff --git a/tests/components/pcf8574/common.yaml b/tests/components/pcf8574/common.yaml index e3f811a1ac..09fa33164e 100644 --- a/tests/components/pcf8574/common.yaml +++ b/tests/components/pcf8574/common.yaml @@ -1,5 +1,6 @@ pcf8574: - id: pcf8574_hub + i2c_id: i2c_bus address: 0x21 pcf8575: false diff --git a/tests/components/pi4ioe5v6408/common.yaml b/tests/components/pi4ioe5v6408/common.yaml index 34c90cf271..2344622081 100644 --- a/tests/components/pi4ioe5v6408/common.yaml +++ b/tests/components/pi4ioe5v6408/common.yaml @@ -1,4 +1,5 @@ pi4ioe5v6408: + i2c_id: i2c_bus id: pi4ioe1 address: 0x44 diff --git a/tests/components/pm2005/common.yaml b/tests/components/pm2005/common.yaml index 5f6bea59f3..034752d0b9 100644 --- a/tests/components/pm2005/common.yaml +++ b/tests/components/pm2005/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: pm2005 + i2c_id: i2c_bus pm_1_0: name: PM1.0 pm_2_5: diff --git a/tests/components/pmsa003i/common.yaml b/tests/components/pmsa003i/common.yaml index 2042f69018..7267bd58f3 100644 --- a/tests/components/pmsa003i/common.yaml +++ b/tests/components/pmsa003i/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: pmsa003i + i2c_id: i2c_bus pm_1_0: name: PMSA003i PM1.0 pm_2_5: diff --git a/tests/components/pmwcs3/common.yaml b/tests/components/pmwcs3/common.yaml index 44a943c72d..e06400d4d4 100644 --- a/tests/components/pmwcs3/common.yaml +++ b/tests/components/pmwcs3/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: pmwcs3 + i2c_id: i2c_bus e25: name: pmwcs3_e25 ec: diff --git a/tests/components/pn532_i2c/common.yaml b/tests/components/pn532_i2c/common.yaml index 11ef118b16..f328cd40ee 100644 --- a/tests/components/pn532_i2c/common.yaml +++ b/tests/components/pn532_i2c/common.yaml @@ -1,4 +1,5 @@ pn532_i2c: + i2c_id: i2c_bus id: pn532_nfcc binary_sensor: diff --git a/tests/components/pn7150_i2c/common.yaml b/tests/components/pn7150_i2c/common.yaml index 58a840298e..a317b72b9c 100644 --- a/tests/components/pn7150_i2c/common.yaml +++ b/tests/components/pn7150_i2c/common.yaml @@ -18,6 +18,7 @@ esphome: pn7150_i2c: id: nfcc_pn7150 + i2c_id: i2c_bus irq_pin: ${irq_pin} ven_pin: ${ven_pin} emulation_message: https://www.home-assistant.io/tag/pulse_ce diff --git a/tests/components/pn7160_i2c/common.yaml b/tests/components/pn7160_i2c/common.yaml index a60a2eaaef..9807bff0f0 100644 --- a/tests/components/pn7160_i2c/common.yaml +++ b/tests/components/pn7160_i2c/common.yaml @@ -18,6 +18,7 @@ esphome: pn7150_i2c: id: nfcc_pn7160 + i2c_id: i2c_bus irq_pin: ${irq_pin} ven_pin: ${ven_pin} emulation_message: https://www.home-assistant.io/tag/pulse_ce diff --git a/tests/components/qmc5883l/common.yaml b/tests/components/qmc5883l/common.yaml index 1b1782f76b..98d0350a60 100644 --- a/tests/components/qmc5883l/common.yaml +++ b/tests/components/qmc5883l/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: qmc5883l + i2c_id: i2c_bus address: 0x0D field_strength_x: name: QMC5883L Field Strength X diff --git a/tests/components/qmp6988/common.yaml b/tests/components/qmp6988/common.yaml index 0ee6d9756b..2aea228a0d 100644 --- a/tests/components/qmp6988/common.yaml +++ b/tests/components/qmp6988/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: qmp6988 + i2c_id: i2c_bus temperature: name: QMP6988 Temperature oversampling: 32x diff --git a/tests/components/qwiic_pir/common.yaml b/tests/components/qwiic_pir/common.yaml index e5b9995b79..30418ff6b9 100644 --- a/tests/components/qwiic_pir/common.yaml +++ b/tests/components/qwiic_pir/common.yaml @@ -1,3 +1,4 @@ binary_sensor: - platform: qwiic_pir + i2c_id: i2c_bus name: Qwiic PIR Motion Sensor diff --git a/tests/components/rc522_i2c/common.yaml b/tests/components/rc522_i2c/common.yaml index a6bebcc377..65b92a3e78 100644 --- a/tests/components/rc522_i2c/common.yaml +++ b/tests/components/rc522_i2c/common.yaml @@ -1,5 +1,6 @@ rc522_i2c: - id: rc522_nfcc + i2c_id: i2c_bus update_interval: 1s on_tag: - lambda: |- diff --git a/tests/components/scd30/common.yaml b/tests/components/scd30/common.yaml index f804385bd4..f21d8944dc 100644 --- a/tests/components/scd30/common.yaml +++ b/tests/components/scd30/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: scd30 + i2c_id: i2c_bus co2: name: SCD30 CO2 temperature: diff --git a/tests/components/scd4x/common.yaml b/tests/components/scd4x/common.yaml index ea4663222a..cedb88977e 100644 --- a/tests/components/scd4x/common.yaml +++ b/tests/components/scd4x/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: scd4x + i2c_id: i2c_bus id: scd40 co2: name: SCD4X CO2 diff --git a/tests/components/sdp3x/common.yaml b/tests/components/sdp3x/common.yaml index 445d3ac8b6..5d06f8eddb 100644 --- a/tests/components/sdp3x/common.yaml +++ b/tests/components/sdp3x/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: sdp3x + i2c_id: i2c_bus id: filter_pressure name: HVAC Filter Pressure drop accuracy_decimals: 3 diff --git a/tests/components/sen0321/common.yaml b/tests/components/sen0321/common.yaml index f01137f586..9228c7b820 100644 --- a/tests/components/sen0321/common.yaml +++ b/tests/components/sen0321/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: sen0321 + i2c_id: i2c_bus name: Workshop Ozone Sensor id: sen0321_ozone update_interval: 10s diff --git a/tests/components/sen21231/common.yaml b/tests/components/sen21231/common.yaml index 6d2456c49f..bfe0f9d7f8 100644 --- a/tests/components/sen21231/common.yaml +++ b/tests/components/sen21231/common.yaml @@ -1,4 +1,5 @@ sensor: - platform: sen21231 + i2c_id: i2c_bus id: sen21231_sensor1 name: Person Sensor diff --git a/tests/components/sen5x/common.yaml b/tests/components/sen5x/common.yaml index b7716696c4..a4462a16ea 100644 --- a/tests/components/sen5x/common.yaml +++ b/tests/components/sen5x/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: sen5x + i2c_id: i2c_bus id: sen54 temperature: name: Temperature diff --git a/tests/components/sfa30/common.yaml b/tests/components/sfa30/common.yaml index bc01bb028b..3cd2483abc 100644 --- a/tests/components/sfa30/common.yaml +++ b/tests/components/sfa30/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: sfa30 + i2c_id: i2c_bus formaldehyde: name: SFA30 formaldehyde temperature: diff --git a/tests/components/sgp30/common.yaml b/tests/components/sgp30/common.yaml index 9727fc8b30..9d4ed46615 100644 --- a/tests/components/sgp30/common.yaml +++ b/tests/components/sgp30/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: sgp30 + i2c_id: i2c_bus eco2: name: Workshop eCO2 accuracy_decimals: 1 diff --git a/tests/components/sgp4x/common.yaml b/tests/components/sgp4x/common.yaml index 801c68909d..4edda8fd1b 100644 --- a/tests/components/sgp4x/common.yaml +++ b/tests/components/sgp4x/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: sgp4x + i2c_id: i2c_bus voc: name: VOC Index id: sgp40_voc_index diff --git a/tests/components/sht3xd/common.yaml b/tests/components/sht3xd/common.yaml index 12ed025b17..02ce521747 100644 --- a/tests/components/sht3xd/common.yaml +++ b/tests/components/sht3xd/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: sht3xd + i2c_id: i2c_bus temperature: name: SHT3XD Temperature humidity: diff --git a/tests/components/sht4x/common.yaml b/tests/components/sht4x/common.yaml index 680def34bc..50d5ad8ca4 100644 --- a/tests/components/sht4x/common.yaml +++ b/tests/components/sht4x/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: sht4x + i2c_id: i2c_bus temperature: name: SHT4X Temperature humidity: diff --git a/tests/components/shtcx/common.yaml b/tests/components/shtcx/common.yaml index 6e02b1802f..a326a1b4d6 100644 --- a/tests/components/shtcx/common.yaml +++ b/tests/components/shtcx/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: shtcx + i2c_id: i2c_bus temperature: name: SHTCX Temperature humidity: diff --git a/tests/components/tlc59208f/common.yaml b/tests/components/tlc59208f/common.yaml index 6043441ebe..1943063347 100644 --- a/tests/components/tlc59208f/common.yaml +++ b/tests/components/tlc59208f/common.yaml @@ -1,10 +1,13 @@ tlc59208f: - address: 0x20 id: tlc59208f_1 + i2c_id: i2c_bus - address: 0x22 id: tlc59208f_2 + i2c_id: i2c_bus - address: 0x24 id: tlc59208f_3 + i2c_id: i2c_bus output: - platform: tlc59208f diff --git a/tests/components/tmp102/common.yaml b/tests/components/tmp102/common.yaml index c05218b0b5..049a8067da 100644 --- a/tests/components/tmp102/common.yaml +++ b/tests/components/tmp102/common.yaml @@ -1,3 +1,4 @@ sensor: - platform: tmp102 + i2c_id: i2c_bus name: TMP102 Temperature diff --git a/tests/components/tmp1075/common.yaml b/tests/components/tmp1075/common.yaml index 2593c9ff1b..90025f231e 100644 --- a/tests/components/tmp1075/common.yaml +++ b/tests/components/tmp1075/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: tmp1075 + i2c_id: i2c_bus name: Temperature TMP1075 conversion_rate: 27.5ms alert: diff --git a/tests/components/tmp117/common.yaml b/tests/components/tmp117/common.yaml index 460707fe28..58419c2134 100644 --- a/tests/components/tmp117/common.yaml +++ b/tests/components/tmp117/common.yaml @@ -1,4 +1,5 @@ sensor: - platform: tmp117 + i2c_id: i2c_bus name: TMP117 Temperature update_interval: 5s diff --git a/tests/components/tof10120/common.yaml b/tests/components/tof10120/common.yaml index f5d03653d7..b360a27248 100644 --- a/tests/components/tof10120/common.yaml +++ b/tests/components/tof10120/common.yaml @@ -1,4 +1,5 @@ sensor: - platform: tof10120 + i2c_id: i2c_bus name: Distance sensor update_interval: 5s diff --git a/tests/components/tsl2561/common.yaml b/tests/components/tsl2561/common.yaml index aa36eb60fb..132bdb890e 100644 --- a/tests/components/tsl2561/common.yaml +++ b/tests/components/tsl2561/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: tsl2561 + i2c_id: i2c_bus name: TSL2561 Ambient Light address: 0x39 is_cs_package: true diff --git a/tests/components/tsl2591/common.yaml b/tests/components/tsl2591/common.yaml index b57a616b0d..93433cf968 100644 --- a/tests/components/tsl2591/common.yaml +++ b/tests/components/tsl2591/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: tsl2591 + i2c_id: i2c_bus id: test_tsl2591 address: 0x29 integration_time: 600ms diff --git a/tests/components/tt21100/common.yaml b/tests/components/tt21100/common.yaml index 03d7c44004..5cb3860fff 100644 --- a/tests/components/tt21100/common.yaml +++ b/tests/components/tt21100/common.yaml @@ -1,5 +1,6 @@ display: - platform: ssd1306_i2c + i2c_id: i2c_bus id: ssd1306_display model: SSD1306_128X64 reset_pin: ${disp_reset_pin} diff --git a/tests/components/veml3235/common.yaml b/tests/components/veml3235/common.yaml index 8c1332f4c4..98ffb0729c 100644 --- a/tests/components/veml3235/common.yaml +++ b/tests/components/veml3235/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: veml3235 + i2c_id: i2c_bus id: veml3235_sensor name: VEML3235 Light Sensor auto_gain: true diff --git a/tests/components/veml7700/common.yaml b/tests/components/veml7700/common.yaml index 35931dc993..06c1d304c3 100644 --- a/tests/components/veml7700/common.yaml +++ b/tests/components/veml7700/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: veml7700 + i2c_id: i2c_bus address: 0x10 ambient_light: Ambient light ambient_light_counts: Ambient light counts diff --git a/tests/components/vl53l0x/common.yaml b/tests/components/vl53l0x/common.yaml index 86733673ac..98277639cf 100644 --- a/tests/components/vl53l0x/common.yaml +++ b/tests/components/vl53l0x/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: vl53l0x + i2c_id: i2c_bus name: VL53L0x Distance address: 0x29 enable_pin: 3 diff --git a/tests/components/wk2132_i2c/common.yaml b/tests/components/wk2132_i2c/common.yaml index 1d70f8d4e3..39013baeb2 100644 --- a/tests/components/wk2132_i2c/common.yaml +++ b/tests/components/wk2132_i2c/common.yaml @@ -1,5 +1,6 @@ wk2132_i2c: - id: wk2132_i2c_id + i2c_id: i2c_bus address: 0x70 uart: - id: wk2132_id_0 diff --git a/tests/components/wk2168_i2c/common.yaml b/tests/components/wk2168_i2c/common.yaml index 609c01445f..49f0d1ec6b 100644 --- a/tests/components/wk2168_i2c/common.yaml +++ b/tests/components/wk2168_i2c/common.yaml @@ -1,6 +1,7 @@ # component declaration wk2168_i2c: - id: wk2168_i2c_bridge + i2c_id: i2c_bus address: 0x70 uart: - id: wk2168_i2c_uart0 diff --git a/tests/components/wk2204_i2c/common.yaml b/tests/components/wk2204_i2c/common.yaml index d93802f341..863633937b 100644 --- a/tests/components/wk2204_i2c/common.yaml +++ b/tests/components/wk2204_i2c/common.yaml @@ -1,5 +1,6 @@ wk2204_i2c: - id: wk2204_i2c_id + i2c_id: i2c_bus address: 0x70 uart: - id: wk2204_id_0 diff --git a/tests/components/wk2212_i2c/common.yaml b/tests/components/wk2212_i2c/common.yaml index 16887f4ca4..a754bec5c7 100644 --- a/tests/components/wk2212_i2c/common.yaml +++ b/tests/components/wk2212_i2c/common.yaml @@ -1,6 +1,7 @@ # component declaration wk2212_i2c: - id: wk2212_i2c_bridge + i2c_id: i2c_bus address: 0x70 uart: - id: uart_i2c_id0 diff --git a/tests/components/xgzp68xx/common.yaml b/tests/components/xgzp68xx/common.yaml index aba214a91a..f76b1de508 100644 --- a/tests/components/xgzp68xx/common.yaml +++ b/tests/components/xgzp68xx/common.yaml @@ -1,5 +1,6 @@ sensor: - platform: xgzp68xx + i2c_id: i2c_bus k_value: 4096 temperature: name: Pressure Temperature diff --git a/tests/components/xl9535/common.yaml b/tests/components/xl9535/common.yaml index 8210f1304f..81e96131ab 100644 --- a/tests/components/xl9535/common.yaml +++ b/tests/components/xl9535/common.yaml @@ -1,5 +1,6 @@ xl9535: - id: xl9535_hub + i2c_id: i2c_bus address: 0x20 binary_sensor: diff --git a/tests/components/zio_ultrasonic/common.yaml b/tests/components/zio_ultrasonic/common.yaml index a5c8223d7a..34a3144db9 100644 --- a/tests/components/zio_ultrasonic/common.yaml +++ b/tests/components/zio_ultrasonic/common.yaml @@ -1,4 +1,5 @@ sensor: - platform: zio_ultrasonic + i2c_id: i2c_bus name: "Distance" update_interval: 60s