mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 19:02:18 +01:00
Feature/add seeed grove gmxxx multichannel gas support (#4304)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
13
tests/components/grove_gas_mc_v2/common.yaml
Normal file
13
tests/components/grove_gas_mc_v2/common.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
sensor:
|
||||
- platform: grove_gas_mc_v2
|
||||
i2c_id: i2c_bus
|
||||
nitrogen_dioxide:
|
||||
name: "Nitrogen Dioxide"
|
||||
ethanol:
|
||||
name: "Ethanol"
|
||||
carbon_monoxide:
|
||||
name: "Carbon Monoxide"
|
||||
tvoc:
|
||||
name: "Volatile Organic Compounds"
|
||||
update_interval: 30s
|
||||
address: 0xAD
|
6
tests/components/grove_gas_mc_v2/test.esp32-ard.yaml
Normal file
6
tests/components/grove_gas_mc_v2/test.esp32-ard.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
i2c:
|
||||
sda: 21
|
||||
scl: 22
|
||||
id: i2c_bus
|
||||
|
||||
<<: !include common.yaml
|
6
tests/components/grove_gas_mc_v2/test.esp32-idf.yaml
Normal file
6
tests/components/grove_gas_mc_v2/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
i2c:
|
||||
sda: 21
|
||||
scl: 22
|
||||
id: i2c_bus
|
||||
|
||||
<<: !include common.yaml
|
6
tests/components/grove_gas_mc_v2/test.esp8266-ard.yaml
Normal file
6
tests/components/grove_gas_mc_v2/test.esp8266-ard.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
i2c:
|
||||
sda: 4
|
||||
scl: 5
|
||||
id: i2c_bus
|
||||
|
||||
<<: !include common.yaml
|
6
tests/components/grove_gas_mc_v2/test.rp2040-ard.yaml
Normal file
6
tests/components/grove_gas_mc_v2/test.rp2040-ard.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
i2c:
|
||||
sda: 21
|
||||
scl: 22
|
||||
id: i2c_bus
|
||||
|
||||
<<: !include common.yaml
|
Reference in New Issue
Block a user