From 5ca367dbb79089172bb97304ac384d284965e823 Mon Sep 17 00:00:00 2001 From: Ronald Dehuysser Date: Sun, 27 Sep 2020 20:15:47 +0200 Subject: [PATCH] HM3301 - Change type to calculation_type (#769) According to the esphome dashboard, AQI type should be calculation_type --- components/sensor/hm3301.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/sensor/hm3301.rst b/components/sensor/hm3301.rst index 01710a02f..51ec3c73a 100644 --- a/components/sensor/hm3301.rst +++ b/components/sensor/hm3301.rst @@ -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 `. @@ -75,7 +75,7 @@ There are two implementations: name: "PM10.0" aqi: name: "AQI" - type: "CAQI" + calculation_type: "CAQI" See Also