Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HM3301 - Change type to calculation_type #769

Merged
merged 1 commit into from Sep 27, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions components/sensor/hm3301.rst
Expand Up @@ -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:
------------------------
Expand All @@ -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>`.
Expand All @@ -75,7 +75,7 @@ There are two implementations:
name: "PM10.0"
aqi:
name: "AQI"
type: "CAQI"
calculation_type: "CAQI"


See Also
Expand Down