diff --git a/components/sensor/hyt271.rst b/components/sensor/hyt271.rst new file mode 100644 index 000000000..658b66f83 --- /dev/null +++ b/components/sensor/hyt271.rst @@ -0,0 +1,49 @@ +HYT271 Temperature & Humidity Sensor +===================================================== + +.. seo:: + :description: Instructions for setting up HYT271 temperature and humidity sensors. + :image: hyt271.jpg + :keywords: HYT271 + +The HYT271 Temperature & Humidity sensors with ESPHome. +The :ref:`I²C Bus ` is required to be set up in your configuration for this sensor to work. + +Example sensors: + +.. code-block:: yaml + + # Example configuration entry + sensor: + - platform: hyt271 + temperature: + name: "Living Room Temperature" + humidity: + name: "Living Room Humidity" + update_interval: 60s + +Configuration variables: +------------------------ + +- **temperature** (**Required**): The information for the temperature sensor. + + - **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 `. + +- **humidity** (**Required**): The information for the humidity sensor. + + - **name** (**Required**, string): The name for the humidity sensor. + - **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas. + - All other options from :ref:`Sensor `. + +- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``. + + +See Also +-------- + +- :ref:`sensor-filters` +- :apiref:`hyt271/hyt271.h` +- `i2cdevlib `__ by `Jeff Rowberg `__ +- :ghedit:`Edit` diff --git a/components/sensor/images/hyt271.jpg b/components/sensor/images/hyt271.jpg new file mode 100644 index 000000000..a0103530a Binary files /dev/null and b/components/sensor/images/hyt271.jpg differ diff --git a/images/hyt271.jpg b/images/hyt271.jpg new file mode 100644 index 000000000..cfebba4ca Binary files /dev/null and b/images/hyt271.jpg differ diff --git a/index.rst b/index.rst index d4feb29cc..f02d9fe3a 100644 --- a/index.rst +++ b/index.rst @@ -317,6 +317,7 @@ Environmental TEE501, components/sensor/tee501, TEE501.png, Temperature TMP102, components/sensor/tmp102, tmp102.jpg, Temperature TMP117, components/sensor/tmp117, tmp117.jpg, Temperature + HYT271, components/sensor/hyt271, hyt271.jpg, Temperature & Humidity Light