Skip to content

Commit e54227a

Browse files
committed
Remove I2C section in config and duplication in linked sensor config variables
1 parent 6b7919e commit e54227a

File tree

1 file changed

+4
-23
lines changed

1 file changed

+4
-23
lines changed

components/sensor/grove_gas_mc_v2.rst

+4-23
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ an ``i2c:`` section in your config for this integration to work.
3232

3333
.. code-block:: yaml
3434
35-
i2c:
36-
sda: D2
37-
scl: D1
38-
3935
sensor:
4036
- platform: grove_gas_mc_v2
4137
no2:
@@ -53,28 +49,13 @@ Configuration variables:
5349
------------------------
5450

5551
- **no2** (**Required**): The Nitrogen Dioxide sensor data.
56-
57-
- **name** (**Required**, string): The name for the Nitrogen Dioxide sensor.
58-
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
59-
- All other options from :ref:`Sensor <config-sensor>`.
60-
52+
All options from :ref:`Sensor <config-sensor>`.
6153
- **ethanol** (**Required**): The Ethanol (C2H5OH) sensor data.
62-
63-
- **name** (**Required**, string): The name for the Ethanol sensor.
64-
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
65-
- All other options from :ref:`Sensor <config-sensor>`.
66-
54+
All options from :ref:`Sensor <config-sensor>`.
6755
- **carbon_monoxide** (**Required**): The Carbon Monoxide sensor data.
68-
69-
- **name** (**Required**, string): The name for the Carbon Monoxide sensor.
70-
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
71-
- All other options from :ref:`Sensor <config-sensor>`.
72-
56+
All options from :ref:`Sensor <config-sensor>`.
7357
- **tvoc** (**Required**): The Total Volatile Organic Compounds (TVOC) sensor data.
74-
75-
- **name** (**Required**, string): The name for the VOC sensor.
76-
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
77-
- All other options from :ref:`Sensor <config-sensor>`.
58+
All options from :ref:`Sensor <config-sensor>`.
7859

7960
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
8061
sensor. Defaults to ``60s``.

0 commit comments

Comments
 (0)