diff --git a/esphomeyaml/components/ads1115.rst b/esphomeyaml/components/ads1115.rst index 94ce70811..2f028ebc3 100644 --- a/esphomeyaml/components/ads1115.rst +++ b/esphomeyaml/components/ads1115.rst @@ -7,7 +7,7 @@ Platform `__. To use this hub, first setup the `I²C Bus `__ and connect the sensor to the pins specified there. -.. figure:: /esphomeyaml/components/sensor/ads1115-full.jpg +.. figure:: /esphomeyaml/components/sensor/images/ads1115-full.jpg :align: center :target: `Adafruit`_ :width: 50.0% diff --git a/esphomeyaml/components/sensor/adc.rst b/esphomeyaml/components/sensor/adc.rst index 965418536..2af0d0179 100644 --- a/esphomeyaml/components/sensor/adc.rst +++ b/esphomeyaml/components/sensor/adc.rst @@ -39,7 +39,7 @@ Configuration variables: and `MQTT Component `__. -.. |image0| image:: /esphomeyaml/components/sensor/adc.png +.. |image0| image:: /esphomeyaml/components/sensor/images/adc.png :class: align-center :width: 80.0% diff --git a/esphomeyaml/components/sensor/ads1115.rst b/esphomeyaml/components/sensor/ads1115.rst index c0e9e8e40..7d3059fe3 100644 --- a/esphomeyaml/components/sensor/ads1115.rst +++ b/esphomeyaml/components/sensor/ads1115.rst @@ -8,7 +8,7 @@ First, setup a `ADS1115 Hub `__ for your A sensor platform to create individual sensors that will report the voltage to Home Assistant. -.. figure:: /esphomeyaml/components/sensor/ads1115-full.jpg +.. figure:: /esphomeyaml/components/sensor/images/ads1115-full.jpg :align: center :target: `Adafruit`_ :width: 50.0% @@ -19,7 +19,7 @@ voltage to Home Assistant. |image0| -.. |image0| image:: /esphomeyaml/components/sensor/adc.png +.. |image0| image:: /esphomeyaml/components/sensor/images/adc.png :class: align-center :width: 80.0% diff --git a/esphomeyaml/components/sensor/bh1750.rst b/esphomeyaml/components/sensor/bh1750.rst index f1ee40773..eb94382bc 100644 --- a/esphomeyaml/components/sensor/bh1750.rst +++ b/esphomeyaml/components/sensor/bh1750.rst @@ -12,7 +12,7 @@ ambient light sensor with esphomelib. The `I²C bus `__ is required to be set up in your configuration for this sensor to work. -.. figure:: /esphomeyaml/components/sensor/bh1750-full.jpg +.. figure:: /esphomeyaml/components/sensor/images/bh1750-full.jpg :align: center :target: `Aliexpress`_ :width: 50.0% diff --git a/esphomeyaml/components/sensor/bme280.rst b/esphomeyaml/components/sensor/bme280.rst index 7b2ff0cfd..d9d8607f2 100644 --- a/esphomeyaml/components/sensor/bme280.rst +++ b/esphomeyaml/components/sensor/bme280.rst @@ -12,7 +12,7 @@ The ``bme280`` sensor platform allows you to use your BME280 bus `__ is required to be set up in your configuration for this sensor to work. -.. figure:: /esphomeyaml/components/sensor/bme280-full.jpg +.. figure:: /esphomeyaml/components/sensor/images/bme280-full.jpg :align: center :target: `Adafruit`_ :width: 50.0% diff --git a/esphomeyaml/components/sensor/bme680.rst b/esphomeyaml/components/sensor/bme680.rst index 020e603ec..8d7b0e0fb 100644 --- a/esphomeyaml/components/sensor/bme680.rst +++ b/esphomeyaml/components/sensor/bme680.rst @@ -12,7 +12,7 @@ The ``bme680`` sensor platform allows you to use your BME680 bus `__ is required to be set up in your configuration for this sensor to work. -.. figure:: /esphomeyaml/components/sensor/bme680-full.jpg +.. figure:: /esphomeyaml/components/sensor/images/bme680-full.jpg :align: center :target: `Adafruit`_ :width: 50.0% diff --git a/esphomeyaml/components/sensor/bmp085.rst b/esphomeyaml/components/sensor/bmp085.rst index 8d526631c..d24656fd9 100644 --- a/esphomeyaml/components/sensor/bmp085.rst +++ b/esphomeyaml/components/sensor/bmp085.rst @@ -12,7 +12,7 @@ pressure sensors with esphomelib. The `I²C bus `__ is required to be set up in your configuration for this sensor to work. -.. figure:: /esphomeyaml/components/sensor/bmp180-full.jpg +.. figure:: /esphomeyaml/components/sensor/images/bmp180-full.jpg :align: center :target: `Adafruit`_ :width: 50.0% @@ -23,7 +23,7 @@ your configuration for this sensor to work. |image0| -.. |image0| image:: /esphomeyaml/components/sensor/temperature-pressure.png +.. |image0| image:: /esphomeyaml/components/sensor/images/temperature-pressure.png :class: align-center :width: 80.0% diff --git a/esphomeyaml/components/sensor/dallas.rst b/esphomeyaml/components/sensor/dallas.rst index 715a327c7..b15b7c9f5 100644 --- a/esphomeyaml/components/sensor/dallas.rst +++ b/esphomeyaml/components/sensor/dallas.rst @@ -8,7 +8,7 @@ To initialize a sensor, first supply the ``dallas_id`` attribute pointing to the dallas hub. Then supply either ``address`` **or** ``index`` to identify the sensor. -.. figure:: /esphomeyaml/components/sensor/ds18b20-full.jpg +.. figure:: /esphomeyaml/components/sensor/images/ds18b20-full.jpg :align: center :target: `Adafruit`_ :width: 50.0% @@ -19,7 +19,7 @@ pointing to the dallas hub. Then supply either ``address`` **or** |image0| -.. |image0| image:: /esphomeyaml/components/sensor/temperature.png +.. |image0| image:: /esphomeyaml/components/sensor/images/temperature.png :class: align-center :width: 80.0% @@ -71,5 +71,5 @@ level `__ must be set to at least Next, individually warm up or cool down the sensors and observe the log output to determine which address points to which sensor. -.. |image1| image:: /esphomeyaml/components/sensor/dallas-log.png +.. |image1| image:: /esphomeyaml/components/sensor/images/dallas-log.png diff --git a/esphomeyaml/components/sensor/dht.rst b/esphomeyaml/components/sensor/dht.rst index 4b8605eee..1056f8621 100644 --- a/esphomeyaml/components/sensor/dht.rst +++ b/esphomeyaml/components/sensor/dht.rst @@ -12,7 +12,7 @@ The DHT Temperature+Humidity sensor allows you to use your DHT11 `sparkfun `__) sensors with esphomelib. -.. figure:: /esphomeyaml/components/sensor/dht22-full.jpg +.. figure:: /esphomeyaml/components/sensor/images/dht22-full.jpg :align: center :target: `Adafruit`_ :width: 50.0% @@ -23,7 +23,7 @@ sensors with esphomelib. |image0| -.. |image0| image:: /esphomeyaml/components/sensor/temperature-humidity.png +.. |image0| image:: /esphomeyaml/components/sensor/images/temperature-humidity.png :class: align-center :width: 80.0% diff --git a/esphomeyaml/components/sensor/dht12.rst b/esphomeyaml/components/sensor/dht12.rst index 3d36c06b0..c6e957746 100644 --- a/esphomeyaml/components/sensor/dht12.rst +++ b/esphomeyaml/components/sensor/dht12.rst @@ -10,7 +10,7 @@ The DHT12 Temperature+Humidity sensor allows you to use your DHT12 (`datasheet `__, `electrodragon`_) i2c-based sensor with esphomelib. -.. figure:: /esphomeyaml/components/sensor/dht12-full.jpg +.. figure:: /esphomeyaml/components/sensor/images/dht12-full.jpg :align: center :target: `electrodragon`_ :width: 50.0% @@ -21,7 +21,7 @@ The DHT12 Temperature+Humidity sensor allows you to use your DHT12 |image0| -.. |image0| image:: /esphomeyaml/components/sensor/temperature-humidity.png +.. |image0| image:: /esphomeyaml/components/sensor/images/temperature-humidity.png :class: align-center :width: 80.0% diff --git a/esphomeyaml/components/sensor/hdc1080.rst b/esphomeyaml/components/sensor/hdc1080.rst index 6be469ad7..109976fe2 100644 --- a/esphomeyaml/components/sensor/hdc1080.rst +++ b/esphomeyaml/components/sensor/hdc1080.rst @@ -7,7 +7,7 @@ The HDC1080 Temperature+Humidity sensor allows you to use your HDC1080 esphomelib. The `I²C bus `__) is required to be set up in your configuration for this sensor to work. -.. figure:: /esphomeyaml/components/sensor/hdc1080-full.jpg +.. figure:: /esphomeyaml/components/sensor/images/hdc1080-full.jpg :align: center :target: `Adafruit`_ :width: 50.0% @@ -18,7 +18,7 @@ required to be set up in your configuration for this sensor to work. |image0| -.. |image0| image:: /esphomeyaml/components/sensor/temperature-humidity.png +.. |image0| image:: /esphomeyaml/components/sensor/images/temperature-humidity.png :class: align-center :width: 80.0% diff --git a/esphomeyaml/components/sensor/htu21d.rst b/esphomeyaml/components/sensor/htu21d.rst index 613e276ba..8e0a6b65e 100644 --- a/esphomeyaml/components/sensor/htu21d.rst +++ b/esphomeyaml/components/sensor/htu21d.rst @@ -7,7 +7,7 @@ The HTU21D Temperature+Humidity sensor allows you to use your HTU21D esphomelib. The `I²C bus `__ is required to be set up in your configuration for this sensor to work. -.. figure:: /esphomeyaml/components/sensor/htu21d-full.jpg +.. figure:: /esphomeyaml/components/sensor/images/htu21d-full.jpg :align: center :target: `Adafruit`_ :width: 50.0% @@ -18,7 +18,7 @@ required to be set up in your configuration for this sensor to work. |image0| -.. |image0| image:: /esphomeyaml/components/sensor/temperature-humidity.png +.. |image0| image:: /esphomeyaml/components/sensor/images/temperature-humidity.png :class: align-center :width: 80.0% diff --git a/esphomeyaml/components/sensor/adc.png b/esphomeyaml/components/sensor/images/adc.png similarity index 100% rename from esphomeyaml/components/sensor/adc.png rename to esphomeyaml/components/sensor/images/adc.png diff --git a/esphomeyaml/components/sensor/ads1115-full.jpg b/esphomeyaml/components/sensor/images/ads1115-full.jpg similarity index 100% rename from esphomeyaml/components/sensor/ads1115-full.jpg rename to esphomeyaml/components/sensor/images/ads1115-full.jpg diff --git a/esphomeyaml/components/sensor/bh1750-full.jpg b/esphomeyaml/components/sensor/images/bh1750-full.jpg similarity index 100% rename from esphomeyaml/components/sensor/bh1750-full.jpg rename to esphomeyaml/components/sensor/images/bh1750-full.jpg diff --git a/esphomeyaml/components/sensor/bme280-full.jpg b/esphomeyaml/components/sensor/images/bme280-full.jpg similarity index 100% rename from esphomeyaml/components/sensor/bme280-full.jpg rename to esphomeyaml/components/sensor/images/bme280-full.jpg diff --git a/esphomeyaml/components/sensor/bme680-full.jpg b/esphomeyaml/components/sensor/images/bme680-full.jpg similarity index 100% rename from esphomeyaml/components/sensor/bme680-full.jpg rename to esphomeyaml/components/sensor/images/bme680-full.jpg diff --git a/esphomeyaml/components/sensor/bmp180-full.jpg b/esphomeyaml/components/sensor/images/bmp180-full.jpg similarity index 100% rename from esphomeyaml/components/sensor/bmp180-full.jpg rename to esphomeyaml/components/sensor/images/bmp180-full.jpg diff --git a/esphomeyaml/components/sensor/dallas-log.png b/esphomeyaml/components/sensor/images/dallas-log.png similarity index 100% rename from esphomeyaml/components/sensor/dallas-log.png rename to esphomeyaml/components/sensor/images/dallas-log.png diff --git a/esphomeyaml/components/sensor/dht12-full.jpg b/esphomeyaml/components/sensor/images/dht12-full.jpg similarity index 100% rename from esphomeyaml/components/sensor/dht12-full.jpg rename to esphomeyaml/components/sensor/images/dht12-full.jpg diff --git a/esphomeyaml/components/sensor/dht22-full.jpg b/esphomeyaml/components/sensor/images/dht22-full.jpg similarity index 100% rename from esphomeyaml/components/sensor/dht22-full.jpg rename to esphomeyaml/components/sensor/images/dht22-full.jpg diff --git a/esphomeyaml/components/sensor/ds18b20-full.jpg b/esphomeyaml/components/sensor/images/ds18b20-full.jpg similarity index 100% rename from esphomeyaml/components/sensor/ds18b20-full.jpg rename to esphomeyaml/components/sensor/images/ds18b20-full.jpg diff --git a/esphomeyaml/components/sensor/hc-sr04-full.jpg b/esphomeyaml/components/sensor/images/hc-sr04-full.jpg similarity index 100% rename from esphomeyaml/components/sensor/hc-sr04-full.jpg rename to esphomeyaml/components/sensor/images/hc-sr04-full.jpg diff --git a/esphomeyaml/components/sensor/hdc1080-full.jpg b/esphomeyaml/components/sensor/images/hdc1080-full.jpg similarity index 100% rename from esphomeyaml/components/sensor/hdc1080-full.jpg rename to esphomeyaml/components/sensor/images/hdc1080-full.jpg diff --git a/esphomeyaml/components/sensor/htu21d-full.jpg b/esphomeyaml/components/sensor/images/htu21d-full.jpg similarity index 100% rename from esphomeyaml/components/sensor/htu21d-full.jpg rename to esphomeyaml/components/sensor/images/htu21d-full.jpg diff --git a/esphomeyaml/components/sensor/mpu6050-full.jpg b/esphomeyaml/components/sensor/images/mpu6050-full.jpg similarity index 100% rename from esphomeyaml/components/sensor/mpu6050-full.jpg rename to esphomeyaml/components/sensor/images/mpu6050-full.jpg diff --git a/esphomeyaml/components/sensor/mpu6050-ui.png b/esphomeyaml/components/sensor/images/mpu6050-ui.png similarity index 100% rename from esphomeyaml/components/sensor/mpu6050-ui.png rename to esphomeyaml/components/sensor/images/mpu6050-ui.png diff --git a/esphomeyaml/components/sensor/pulse-counter.png b/esphomeyaml/components/sensor/images/pulse-counter.png similarity index 100% rename from esphomeyaml/components/sensor/pulse-counter.png rename to esphomeyaml/components/sensor/images/pulse-counter.png diff --git a/esphomeyaml/components/sensor/sht3xd-full.jpg b/esphomeyaml/components/sensor/images/sht3xd-full.jpg similarity index 100% rename from esphomeyaml/components/sensor/sht3xd-full.jpg rename to esphomeyaml/components/sensor/images/sht3xd-full.jpg diff --git a/esphomeyaml/components/sensor/temperature-humidity.png b/esphomeyaml/components/sensor/images/temperature-humidity.png similarity index 100% rename from esphomeyaml/components/sensor/temperature-humidity.png rename to esphomeyaml/components/sensor/images/temperature-humidity.png diff --git a/esphomeyaml/components/sensor/temperature-pressure.png b/esphomeyaml/components/sensor/images/temperature-pressure.png similarity index 100% rename from esphomeyaml/components/sensor/temperature-pressure.png rename to esphomeyaml/components/sensor/images/temperature-pressure.png diff --git a/esphomeyaml/components/sensor/temperature.png b/esphomeyaml/components/sensor/images/temperature.png similarity index 100% rename from esphomeyaml/components/sensor/temperature.png rename to esphomeyaml/components/sensor/images/temperature.png diff --git a/esphomeyaml/components/sensor/tsl2561-full.jpg b/esphomeyaml/components/sensor/images/tsl2561-full.jpg similarity index 100% rename from esphomeyaml/components/sensor/tsl2561-full.jpg rename to esphomeyaml/components/sensor/images/tsl2561-full.jpg diff --git a/esphomeyaml/components/sensor/ultrasonic.png b/esphomeyaml/components/sensor/images/ultrasonic.png similarity index 100% rename from esphomeyaml/components/sensor/ultrasonic.png rename to esphomeyaml/components/sensor/images/ultrasonic.png diff --git a/esphomeyaml/components/sensor/mpu6050.rst b/esphomeyaml/components/sensor/mpu6050.rst index 9a1332746..4428def2b 100644 --- a/esphomeyaml/components/sensor/mpu6050.rst +++ b/esphomeyaml/components/sensor/mpu6050.rst @@ -13,7 +13,7 @@ create a custom component by copying and modifying the existing code if you want new feature. Supporting all possible use-cases would be quite hard. -.. figure:: /esphomeyaml/components/sensor/mpu6050-full.jpg +.. figure:: /esphomeyaml/components/sensor/images/mpu6050-full.jpg :align: center :target: `Sparkfun`_ :width: 50.0% @@ -24,7 +24,7 @@ new feature. Supporting all possible use-cases would be quite hard. |image0| -.. |image0| image:: /esphomeyaml/components/sensor/mpu6050-ui.png +.. |image0| image:: /esphomeyaml/components/sensor/images/mpu6050-ui.png :class: align-center :width: 80.0% diff --git a/esphomeyaml/components/sensor/pulse_counter.rst b/esphomeyaml/components/sensor/pulse_counter.rst index 2a5a6f9d3..72f9cae33 100644 --- a/esphomeyaml/components/sensor/pulse_counter.rst +++ b/esphomeyaml/components/sensor/pulse_counter.rst @@ -73,6 +73,6 @@ count the light pulses on a power meter, you can do the following: filters: - multiply: 0.06 -.. |image0| image:: /esphomeyaml/components/sensor/pulse-counter.png +.. |image0| image:: /esphomeyaml/components/sensor/images/pulse-counter.png :class: align-center :width: 80.0% diff --git a/esphomeyaml/components/sensor/sht3xd.rst b/esphomeyaml/components/sensor/sht3xd.rst index 169d253b2..4ea2ebe8e 100644 --- a/esphomeyaml/components/sensor/sht3xd.rst +++ b/esphomeyaml/components/sensor/sht3xd.rst @@ -12,7 +12,7 @@ The ``sht3xd`` sensor platform Temperature+Humidity sensor allows you to use you esphomelib. The `I²C bus `__ is required to be set up in your configuration for this sensor to work. -.. figure:: /esphomeyaml/components/sensor/sht3xd-full.jpg +.. figure:: /esphomeyaml/components/sensor/images/sht3xd-full.jpg :align: center :target: `Adafruit`_ :width: 50.0% @@ -23,7 +23,7 @@ required to be set up in your configuration for this sensor to work. |image0| -.. |image0| image:: /esphomeyaml/components/sensor/temperature-humidity.png +.. |image0| image:: /esphomeyaml/components/sensor/images/temperature-humidity.png :class: align-center :width: 80.0% diff --git a/esphomeyaml/components/sensor/tsl2561.rst b/esphomeyaml/components/sensor/tsl2561.rst index e62107751..78e0c752c 100644 --- a/esphomeyaml/components/sensor/tsl2561.rst +++ b/esphomeyaml/components/sensor/tsl2561.rst @@ -13,7 +13,7 @@ ambient light sensor with esphomelib. The `I²C bus `__ is required to be set up in your configuration for this sensor to work. -.. figure:: /esphomeyaml/components/sensor/tsl2561-full.jpg +.. figure:: /esphomeyaml/components/sensor/images/tsl2561-full.jpg :align: center :target: `Adafruit`_ :width: 50.0% diff --git a/esphomeyaml/components/sensor/ultrasonic.rst b/esphomeyaml/components/sensor/ultrasonic.rst index 7128035f3..6961a3c33 100644 --- a/esphomeyaml/components/sensor/ultrasonic.rst +++ b/esphomeyaml/components/sensor/ultrasonic.rst @@ -17,7 +17,7 @@ timeout option which specifies how long to wait for values. During this timeout period the whole core will be blocked and therefore shouldn’t be set too high. -.. figure:: /esphomeyaml/components/sensor/hc-sr04-full.jpg +.. figure:: /esphomeyaml/components/sensor/images/hc-sr04-full.jpg :align: center :target: `www.dx.com`_ :width: 50.0% @@ -28,7 +28,7 @@ set too high. |image0| -.. |image0| image:: /esphomeyaml/components/sensor/ultrasonic.png +.. |image0| image:: /esphomeyaml/components/sensor/images/ultrasonic.png :class: align-center :width: 80.0% diff --git a/esphomeyaml/index.rst b/esphomeyaml/index.rst index 61550c3be..13b7b87ea 100644 --- a/esphomeyaml/index.rst +++ b/esphomeyaml/index.rst @@ -498,4 +498,4 @@ Full Index components/sensor/tsl2561.rst components/sensor/sht3xd.rst components/sensor/dht12.rst - components/using-with/sonoff-s20.rst + using-with/sonoff-s20.rst