mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-27 17:37:45 +01:00
HM3301 - Change type to calculation_type (#769)
According to the esphome dashboard, AQI type should be calculation_type
This commit is contained in:
parent
0d8df9652a
commit
5ca367dbb7
@ -26,7 +26,7 @@ The sensor communicate with board by ``I2C`` protocol, and requires 3.3v.
|
||||
name: "PM10.0"
|
||||
aqi:
|
||||
name: "AQI"
|
||||
type: "CAQI"
|
||||
calculation_type: "CAQI"
|
||||
|
||||
Configuration variables:
|
||||
------------------------
|
||||
@ -51,7 +51,7 @@ Configuration variables:
|
||||
|
||||
- **aqi** (*Optional*): AQI sensor. Requires the ``pm_2_5`` and ``pm_10_0`` sensors defined. See below.
|
||||
|
||||
- **type** (**Required**): One of: ``AQI`` or ``CAQI``.
|
||||
- **calculation_type** (**Required**): One of: ``AQI`` or ``CAQI``.
|
||||
- **name** (**Required**, string): The name for the temperature sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
@ -75,7 +75,7 @@ There are two implementations:
|
||||
name: "PM10.0"
|
||||
aqi:
|
||||
name: "AQI"
|
||||
type: "CAQI"
|
||||
calculation_type: "CAQI"
|
||||
|
||||
|
||||
See Also
|
||||
|
Loading…
Reference in New Issue
Block a user