diff --git a/api/sensor/sht3xd.rst b/api/sensor/sht3xd.rst index 80b1046a9..ab9dea7df 100644 --- a/api/sensor/sht3xd.rst +++ b/api/sensor/sht3xd.rst @@ -18,10 +18,6 @@ Example Usage // Basic auto sht3xd = App.make_sht3xd_sensor("SHT31D Temperature", "SHT31D Humidity"); - // Advanced - // default accuracy is high - sht3xd.sht3xd->set_accuracy(sensor::SHT3XD_ACCURACY_LOW); - .. cpp:namespace:: nullptr See :cpp:func:`Application::make_sht3xd_sensor`. @@ -34,8 +30,6 @@ API Reference :protected-members: :undoc-members: -.. doxygenenum:: sensor::SHT3XDAccuracy - .. doxygenclass:: sensor::SHT3XDTemperatureSensor :members: :protected-members: diff --git a/esphomeyaml/components/sensor/images/sht3xd-full.jpg b/esphomeyaml/components/sensor/images/sht3xd-full.jpg deleted file mode 100644 index 410894d93..000000000 Binary files a/esphomeyaml/components/sensor/images/sht3xd-full.jpg and /dev/null differ diff --git a/esphomeyaml/components/sensor/sht3xd.rst b/esphomeyaml/components/sensor/sht3xd.rst index e562939ce..1359df3f9 100644 --- a/esphomeyaml/components/sensor/sht3xd.rst +++ b/esphomeyaml/components/sensor/sht3xd.rst @@ -1,24 +1,12 @@ SHT3X-D Temperature+Humidity Sensor =================================== -.. warning:: - - This sensor is experimental has not been fully tested yet as I do not own all sensors. If you - can verify it works (or if it doesn't), please notify me on `discord `__. - The ``sht3xd`` sensor platform Temperature+Humidity sensor allows you to use your Sensiron SHT31-D (`datasheet `__, `Adafruit`_ ) sensors with esphomelib. The :ref:`I²C Bus ` is required to be set up in your configuration for this sensor to work. -.. figure:: images/sht3xd-full.jpg - :align: center - :target: `Adafruit`_ - :width: 50.0% - - SHT3X-D Temperature & Humidity Sensor. Image by `Adafruit`_. - .. _Adafruit: https://www.adafruit.com/product/2857 .. figure:: images/temperature-humidity.png @@ -34,7 +22,6 @@ required to be set up in your configuration for this sensor to work. name: "Living Room Temperature" humidity: name: "Living Room Humidity" - accuracy: high address: 0x44 update_interval: 15s @@ -54,9 +41,7 @@ Configuration variables: - All other options from :ref:`Sensor ` and :ref:`MQTT Component `. - **address** (*Optional*, int): Manually specify the i^2c address of the sensor. - Defaults to ``0xff``. -- **accuracy** (*Optional*, string): The accuracy of the sensor. One of ``low``, ``medium`` and ``high``. - Lower accuracies allow for faster update intervals. Defaults to ``high``. + Defaults to ``0x44``. - **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``15s``. See :ref:`sensor-default_filter`. diff --git a/esphomeyaml/guides/changelog.rst b/esphomeyaml/guides/changelog.rst index b2dc891fb..3471b14bd 100644 --- a/esphomeyaml/guides/changelog.rst +++ b/esphomeyaml/guides/changelog.rst @@ -11,5 +11,6 @@ Version 1.7.0 Breaking Changes ~~~~~~~~~~~~~~~~ - +- Fixed the :doc:`SHT3x-D ` component and removed the ``accuracy`` + parameter. The accuracy now defaults to ``HIGH``. diff --git a/esphomeyaml/images/sht3xd.jpg b/esphomeyaml/images/sht3xd.jpg index 747906280..49db40b7e 100644 Binary files a/esphomeyaml/images/sht3xd.jpg and b/esphomeyaml/images/sht3xd.jpg differ