mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
Merge branch 'current' into next
This commit is contained in:
commit
cd186ee3cc
2
Doxygen
2
Doxygen
@ -38,7 +38,7 @@ PROJECT_NAME = "ESPHome"
|
|||||||
# could be handy for archiving the generated documentation or if some version
|
# could be handy for archiving the generated documentation or if some version
|
||||||
# control system is used.
|
# control system is used.
|
||||||
|
|
||||||
PROJECT_NUMBER = 1.12.2
|
PROJECT_NUMBER = 1.13.0
|
||||||
|
|
||||||
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
||||||
# for a project that appears at the top of each page and should give viewer a
|
# for a project that appears at the top of each page and should give viewer a
|
||||||
|
2
Makefile
2
Makefile
@ -1,5 +1,5 @@
|
|||||||
ESPHOME_PATH = ../esphome
|
ESPHOME_PATH = ../esphome
|
||||||
ESPHOME_REF = dev
|
ESPHOME_REF = v1.13.0
|
||||||
|
|
||||||
.PHONY: html html-strict cleanhtml deploy help webserver Makefile netlify netlify-api api netlify-dependencies svg2png copy-svg2png
|
.PHONY: html html-strict cleanhtml deploy help webserver Makefile netlify netlify-api api netlify-dependencies svg2png copy-svg2png
|
||||||
|
|
||||||
|
BIN
_static/changelog-1.13.0.png
Normal file
BIN
_static/changelog-1.13.0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 130 KiB |
@ -1 +1 @@
|
|||||||
1.12.2
|
1.13.0
|
@ -1,5 +1,5 @@
|
|||||||
Changelog - Version 1.13.0
|
Changelog - Version 1.13.0 - May 30th 2019
|
||||||
==========================
|
==========================================
|
||||||
|
|
||||||
.. seo::
|
.. seo::
|
||||||
:description: Changelog for ESPHome version 1.13.0.
|
:description: Changelog for ESPHome version 1.13.0.
|
||||||
@ -8,30 +8,32 @@ Changelog - Version 1.13.0
|
|||||||
:author_twitter: @OttoWinter_
|
:author_twitter: @OttoWinter_
|
||||||
|
|
||||||
.. imgtable::
|
.. imgtable::
|
||||||
|
:columns: 4
|
||||||
|
|
||||||
|
Climate Devices, components/climate/index, folder-open.svg
|
||||||
|
Endstop Cover, components/cover/endstop, electric-switch.svg
|
||||||
|
Time-Based Cover, components/cover/time_based, timer.svg
|
||||||
|
Bang Bang Controller, components/climate/bang_bang, air-conditioner.svg
|
||||||
|
|
||||||
AM2320, components/sensor/am2320, am2320.jpg
|
AM2320, components/sensor/am2320, am2320.jpg
|
||||||
CCS811, components/sensor/ccs811, ccs811.jpg
|
CCS811, components/sensor/ccs811, ccs811.jpg
|
||||||
Integration, components/sensor/integration, sigma.svg
|
Integration, components/sensor/integration, sigma.svg
|
||||||
|
|
||||||
Pulse Width, components/sensor/pulse_width, pulse.svg
|
Pulse Width, components/sensor/pulse_width, pulse.svg
|
||||||
|
|
||||||
|
Resistance Sensor, components/sensor/resistance, omega.svg
|
||||||
|
NTC Thermistor, components/sensor/ntc, ntc.jpg
|
||||||
|
CT Clamp, components/sensor/ct_clamp, ct_clamp.jpg
|
||||||
|
Binary Sensor Map, components/sensor/binary_sensor_map, binary_sensor_map.jpg
|
||||||
|
|
||||||
TTP229, components/binary_sensor/ttp229, ttp229.jpg
|
TTP229, components/binary_sensor/ttp229, ttp229.jpg
|
||||||
Custom Light, components/light/custom, language-cpp.svg
|
|
||||||
|
|
||||||
Endstop Cover, components/cover/endstop, electric-switch.svg
|
|
||||||
Time-Based Cover, components/cover/time_based, timer.svg
|
|
||||||
Custom Cover, components/cover/custom, language-cpp.svg
|
|
||||||
|
|
||||||
Climate Core, components/climate/index, folder-open.svg
|
|
||||||
Bang Bang Controller, components/climate/bang_bang, air-conditioner.svg
|
|
||||||
Custom Climate, components/climate/custom, language-cpp.svg
|
|
||||||
|
|
||||||
Coolix IR Remote, components/climate/coolix, air-conditioner.svg
|
Coolix IR Remote, components/climate/coolix, air-conditioner.svg
|
||||||
Tcl112 IR Remote, components/climate/tcl112, air-conditioner.svg
|
Tcl112 IR Remote, components/climate/tcl112, air-conditioner.svg
|
||||||
Sun, components/sun, weather-sunny.svg
|
Sun, components/sun, weather-sunny.svg
|
||||||
|
|
||||||
GPS Time Source, components/gps, crosshairs-gps.svg
|
GPS Time Source, components/gps, crosshairs-gps.svg
|
||||||
Resistance Sensor, components/sensor/resistance, omega.svg
|
Custom Light, components/light/custom, language-cpp.svg
|
||||||
NTC Thermistor, components/sensor/ntc, ntc.jpg
|
Custom Cover, components/cover/custom, language-cpp.svg
|
||||||
|
Custom Climate, components/climate/custom, language-cpp.svg
|
||||||
|
|
||||||
Oh hi there!
|
Oh hi there!
|
||||||
|
|
||||||
@ -78,6 +80,9 @@ features in this version:
|
|||||||
- Everyone who has been supporting me financially over `Patreon <https://www.patreon.com/ottowinter>`__!
|
- Everyone who has been supporting me financially over `Patreon <https://www.patreon.com/ottowinter>`__!
|
||||||
- Everybody who reported bugs, contributed documentation and fixed things!
|
- Everybody who reported bugs, contributed documentation and fixed things!
|
||||||
|
|
||||||
|
If you like this version, please consider starring the `ESPHome repository <https://github.com/esphome/esphome>`__
|
||||||
|
on Github 💫!
|
||||||
|
|
||||||
Other notable changes:
|
Other notable changes:
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
@ -104,6 +109,8 @@ Other notable changes:
|
|||||||
- Added :ref:`globals.set <globals-set_action>` action,
|
- Added :ref:`globals.set <globals-set_action>` action,
|
||||||
:ref:`script.is_running <script-is_running_condition>` condition,
|
:ref:`script.is_running <script-is_running_condition>` condition,
|
||||||
:ref:`for <for_condition>` condition.
|
:ref:`for <for_condition>` condition.
|
||||||
|
- Custom components can now access ESPHome's global variables.
|
||||||
|
- Added ``restore_mode`` for lights and :ref:`light.is_on/off <light-is_on_condition>`.
|
||||||
|
|
||||||
Breaking Changes
|
Breaking Changes
|
||||||
----------------
|
----------------
|
||||||
@ -111,10 +118,100 @@ Breaking Changes
|
|||||||
All of these are also documented in validation - just view the validation output and it should tell
|
All of these are also documented in validation - just view the validation output and it should tell
|
||||||
you what has changed.
|
you what has changed.
|
||||||
|
|
||||||
- The ``esp32_ble_tracker`` binary sensor has been renamed to ``ble_presence``
|
- ``esphome_core_version`` has been removed - ESPHome is no longer split up in the core and python repository.
|
||||||
|
- The ``esp32_ble_tracker`` binary sensor platform (not the global hub) has been renamed to ``ble_presence``.
|
||||||
- The remote transmitter switch has been removed and a template switch with the new actions should be used.
|
- The remote transmitter switch has been removed and a template switch with the new actions should be used.
|
||||||
See validation output.
|
See validation output.
|
||||||
- ``esphome_core_version`` has been removed - ESPHome is no longer split up in the core and python repository.
|
- ``esphome_core_version`` has been removed - ESPHome is no longer split up in the core and python repository.
|
||||||
|
- Because of some internal changes, some ID names are used internally and can no longer be used.
|
||||||
|
See validation errors.
|
||||||
|
|
||||||
|
All changes
|
||||||
|
-----------
|
||||||
|
|
||||||
|
- docs: Extend the documentation of esp8266_restore_from_flash to include pla… :docspr:`203` by :ghuser:`placidorevilla`
|
||||||
|
- esphome: TTP229-LSF i2c device support :esphomepr:`489` by :ghuser:`mvturnho`
|
||||||
|
- docs: TTP229-LSF i2c device support :docspr:`205` by :ghuser:`mvturnho`
|
||||||
|
- docs: Remove deprecated filter_nan: option :docspr:`214` by :ghuser:`davericher`
|
||||||
|
- docs: Minor Gramatical fix :docspr:`220` by :ghuser:`meichthys`
|
||||||
|
- esphome: Add cover position/tilt support :esphomepr:`496`
|
||||||
|
- esphome: Add climate support :esphomepr:`502`
|
||||||
|
- esphome: Add 'at' time trigger :esphomepr:`493`
|
||||||
|
- docs: Stepper combine lambda docs :docspr:`223` by :ghuser:`AalianKhan`
|
||||||
|
- esphome: Simplify coroutine syntax :esphomepr:`503`
|
||||||
|
- docs: Added a section for all lambda calls :docspr:`222` by :ghuser:`AalianKhan`
|
||||||
|
- docs: Typo in ESP32 Touch Component :docspr:`216` by :ghuser:`jcullen86`
|
||||||
|
- docs: MQTT clean-mqtt: Document for docker :docspr:`210` by :ghuser:`bphermansson`
|
||||||
|
- esphome: Wio_link and wio_node pinout improvements :esphomepr:`505` by :ghuser:`sethcohn`
|
||||||
|
- docs: Voltage range of ADC is at the chip pin :docspr:`224` by :ghuser:`kimonm`
|
||||||
|
- esphome: Escape double quotes and backslashes in ssid and psk :esphomepr:`507` by :ghuser:`gitolicious`
|
||||||
|
- docs: Added Gitpod documentation :docspr:`225` by :ghuser:`gitolicious`
|
||||||
|
- docs: Fixed lint and ref errors :docspr:`228` by :ghuser:`gitolicious`
|
||||||
|
- esphome: 🏗 Merge C++ into python codebase :esphomepr:`504`
|
||||||
|
- docs: Create .gitpod.yml :docspr:`226` by :ghuser:`gitolicious`
|
||||||
|
- esphome: Cleanup dashboard JS :esphomepr:`491`
|
||||||
|
- docs: Add esp32_camera ttgo-camera example :docspr:`231` by :ghuser:`Naesstrom`
|
||||||
|
- esphome: Hass.io Ingress :esphomepr:`519`
|
||||||
|
- docs: Fix config name for showing previous page :docspr:`238` by :ghuser:`kevinior`
|
||||||
|
- docs: fixed copy paste error :docspr:`237` by :ghuser:`norges`
|
||||||
|
- docs: Update switch/index.rst lambda section :docspr:`236` by :ghuser:`EmmanuelLM`
|
||||||
|
- docs: Update h801 cookbook :docspr:`235` by :ghuser:`Eenoo`
|
||||||
|
- esphome: Create .gitpod.yml :esphomepr:`508` by :ghuser:`gitolicious`
|
||||||
|
- esphome: Fix MQTT Not Working in dev branch :esphomepr:`527` by :ghuser:`mtl010957`
|
||||||
|
- esphome: Fix custom_sensor codegen :esphomepr:`526` by :ghuser:`emwap`
|
||||||
|
- esphome: Fix compilation of automations :esphomepr:`525` by :ghuser:`envy`
|
||||||
|
- esphome: Add Custom Component tests :esphomepr:`529` by :ghuser:`emwap`
|
||||||
|
- esphome: Create .editorconfig :esphomepr:`524` by :ghuser:`gitolicious`
|
||||||
|
- docs: Fix minor typo in ESP32 camera docs :docspr:`241` by :ghuser:`richrd`
|
||||||
|
- esphome: Added save & validate button in editor window :esphomepr:`511` by :ghuser:`gitolicious`
|
||||||
|
- esphome: Fix compilation of my9231 component :esphomepr:`533` by :ghuser:`puuu`
|
||||||
|
- esphome: Allow rx_only mode of sds011 component :esphomepr:`534` by :ghuser:`puuu`
|
||||||
|
- esphome: MPU6050 fix temperature reading (wrong datatype) :esphomepr:`532` by :ghuser:`norges`
|
||||||
|
- esphome: Check lambdas for return statement :esphomepr:`539`
|
||||||
|
- esphome: Auto-Generate esphome.h :esphomepr:`538`
|
||||||
|
- esphome: Revert HLW8012 to use pulse counter :esphomepr:`537`
|
||||||
|
- esphome: Use int_range validator :esphomepr:`542`
|
||||||
|
- esphome: Dashboard editor live validation :esphomepr:`540`
|
||||||
|
- esphome: Sun support :esphomepr:`531`
|
||||||
|
- esphome: Update CI linter :esphomepr:`544`
|
||||||
|
- esphome: Updates for 1.13 :esphomepr:`546`
|
||||||
|
- esphome: Make Climate component work over mqtt :esphomepr:`535` by :ghuser:`puuu`
|
||||||
|
- esphome: CCS811 support :esphomepr:`536`
|
||||||
|
- esphome: GPS time source :esphomepr:`543`
|
||||||
|
- esphome: TTP229 BSF support :esphomepr:`547`
|
||||||
|
- docs: Update links :docspr:`243` by :ghuser:`oscar-b`
|
||||||
|
- esphome: Bme680 pressure value fix :esphomepr:`550` by :ghuser:`plopp`
|
||||||
|
- docs: Fix typo in docs mi flora :docspr:`250` by :ghuser:`seuros`
|
||||||
|
- docs: Stepper component: fix typo in doc :docspr:`254` by :ghuser:`Johboh`
|
||||||
|
- esphome: Suggested fix for empty domain :esphomepr:`555` by :ghuser:`ASMfreaK`
|
||||||
|
- docs: Sensor: correct example for on_raw_value :docspr:`255` by :ghuser:`Johboh`
|
||||||
|
- docs: Update bh1750.rst (fix incorrect link text) :docspr:`246` by :ghuser:`richrd`
|
||||||
|
- esphome: Don't fall back to the global availability topic if it is empty :esphomepr:`553` by :ghuser:`brandond`
|
||||||
|
- esphome: Add examples to Nextion page :esphomepr:`548` by :ghuser:`AalianKhan`
|
||||||
|
- esphome: Support for AM2320 temperature and humidity sensor :esphomepr:`554` by :ghuser:`T3m3z`
|
||||||
|
- docs: Documentation for AM2320 component :docspr:`249` by :ghuser:`T3m3z`
|
||||||
|
- esphome: Add TCL112 climate :esphomepr:`523` by :ghuser:`glmnet`
|
||||||
|
- docs: Add Coolix Tcl112 Climate :docspr:`247` by :ghuser:`glmnet`
|
||||||
|
- esphome: Add coolix climate ❄ 🔥 :esphomepr:`521` by :ghuser:`glmnet`
|
||||||
|
- esphome: added link from dashboard to web server, if configured :esphomepr:`556` by :ghuser:`gitolicious` (cherry-picked)
|
||||||
|
- esphome: Add NTC and resistance sensor :esphomepr:`560` (cherry-picked)
|
||||||
|
- esphome: Waveshare enter deep sleep mode on shutdown :esphomepr:`561` (cherry-picked)
|
||||||
|
- docs: extended mpr121 docs with debounce and thresholds config :docspr:`245` by :ghuser:`mvturnho` (cherry-picked)
|
||||||
|
- esphome: Mpr121 added debounce and thresholds config :esphomepr:`558` by :ghuser:`mvturnho` (cherry-picked)
|
||||||
|
- docs: Documentation for binary_sensor_map :docspr:`199` by :ghuser:`mvturnho` (cherry-picked)
|
||||||
|
- esphome: Binary sensor map implementation :esphomepr:`551` by :ghuser:`mvturnho` (cherry-picked)
|
||||||
|
- esphome: Fix CWWW/RGBWW lights :esphomepr:`562` (cherry-picked)
|
||||||
|
- esphome: added download, edit and retry buttons to upload modal :esphomepr:`557` by :ghuser:`gitolicious` (cherry-picked)
|
||||||
|
- esphome: Renamed upload button :esphomepr:`563` by :ghuser:`gitolicious`
|
||||||
|
- esphome: Warn if a component does long-running work in loop thread :esphomepr:`565`
|
||||||
|
- esphome: Add CT Clamp component :esphomepr:`559` by :ghuser:`jesserockz`
|
||||||
|
- docs: Add docs for CT Clamp :docspr:`256` by :ghuser:`jesserockz`
|
||||||
|
- docs: Put 'MAC_ADDRESS' instead of MAC_ADDRESS :docspr:`239` by :ghuser:`tiagofreire-pt`
|
||||||
|
- esphome: Fix TSL2561 invalid default :esphomepr:`566`
|
||||||
|
- esphome: Use copy for custom includes :esphomepr:`568`
|
||||||
|
- esphome: Add uart.write action :esphomepr:`567`
|
||||||
|
- esphome: Correctly set warm white variables :esphomepr:`569` by :ghuser:`jesserockz`
|
||||||
|
- esphome: Register light conditions :esphomepr:`570`
|
||||||
|
|
||||||
Past Changelogs
|
Past Changelogs
|
||||||
---------------
|
---------------
|
||||||
|
@ -47,7 +47,7 @@ Base Configuration:
|
|||||||
|
|
||||||
- **address** (*Optional*, integer): The i2c address of the sensor. Defaults to ``0x5A``.
|
- **address** (*Optional*, integer): The i2c address of the sensor. Defaults to ``0x5A``.
|
||||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor.
|
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor.
|
||||||
- **touch_debounce** (*Optional*, integer): The minimum length before a touch is recognized. Range is from 0 to 7.
|
- **touch_debounce** (*Optional*, integer): The minimum length before a touch is recognized. Range is from 0 to 7.
|
||||||
Defaults to 0.
|
Defaults to 0.
|
||||||
- **release_debounce** (*Optional*, integer): The minimum length that no touch is recognized before a release event is created.
|
- **release_debounce** (*Optional*, integer): The minimum length that no touch is recognized before a release event is created.
|
||||||
Range is from 0 to 7. Defaults to 0.
|
Range is from 0 to 7. Defaults to 0.
|
||||||
|
@ -7,7 +7,13 @@ Endstop Cover
|
|||||||
|
|
||||||
The ``endstop`` cover platform allows you to create covers with position control that have
|
The ``endstop`` cover platform allows you to create covers with position control that have
|
||||||
endstops at both ends of the cover to detect the fully-open and fully-closed states.
|
endstops at both ends of the cover to detect the fully-open and fully-closed states.
|
||||||
When any of these endstops are reached, the cover stops and sends out the corresponding state.
|
When any of these endstops are reached, the cover is stopped (via ``stop_action``)
|
||||||
|
and the corresponding state is sent out.
|
||||||
|
|
||||||
|
This cover platform is mainly intended for DIY cover setups: Two endstops at either end and a motor
|
||||||
|
controlling the cover. The user just needs to enter what to do when the platform wants to move the
|
||||||
|
cover in either direction, or stop it, as well as information about open and close information so that
|
||||||
|
the current position can be approximated.
|
||||||
|
|
||||||
Additionally, open and close durations can be specified to allow ESPHome to approximate the
|
Additionally, open and close durations can be specified to allow ESPHome to approximate the
|
||||||
current position of the cover.
|
current position of the cover.
|
||||||
|
@ -296,6 +296,24 @@ Configuration variables:
|
|||||||
- **white** (*Optional*, :ref:`templatable <config-templatable>`, percentage): The value to
|
- **white** (*Optional*, :ref:`templatable <config-templatable>`, percentage): The value to
|
||||||
set the white channel to.
|
set the white channel to.
|
||||||
|
|
||||||
|
.. _light-is_on_condition:
|
||||||
|
.. _light-is_off_condition:
|
||||||
|
|
||||||
|
``light.is_on`` / ``light.is_off`` Condition
|
||||||
|
********************************************
|
||||||
|
|
||||||
|
This :ref:`Condition <config-condition>` checks if the given light is ON or OFF. OFF means
|
||||||
|
that the light is completely OFF, and ON means that the light is emitting at least a bit of light.
|
||||||
|
|
||||||
|
.. code-block:: yaml
|
||||||
|
|
||||||
|
# In some trigger:
|
||||||
|
on_...:
|
||||||
|
if:
|
||||||
|
condition:
|
||||||
|
# Same syntax for is_off
|
||||||
|
light.is_on: my_light
|
||||||
|
|
||||||
.. _light-effects:
|
.. _light-effects:
|
||||||
|
|
||||||
Light Effects
|
Light Effects
|
||||||
|
@ -5,14 +5,6 @@ CCS811 CO_2 and Volatile Organic Compound Sensor
|
|||||||
:description: Instructions for setting up CCS811 sensors.
|
:description: Instructions for setting up CCS811 sensors.
|
||||||
:image: ccs811.jpg
|
:image: ccs811.jpg
|
||||||
|
|
||||||
.. warning::
|
|
||||||
|
|
||||||
This component has not been fully tested yet, if you have this component
|
|
||||||
and can confirm it works, please create a quick new issue here
|
|
||||||
https://github.com/esphome/issues/
|
|
||||||
|
|
||||||
Thanks!
|
|
||||||
|
|
||||||
The ``ccs811`` sensor platform allows you to use CCS811 CO_2 and volatile organic compound sensors
|
The ``ccs811`` sensor platform allows you to use CCS811 CO_2 and volatile organic compound sensors
|
||||||
(`Adafruit`_) with ESPHome.
|
(`Adafruit`_) with ESPHome.
|
||||||
|
|
||||||
|
4
conf.py
4
conf.py
@ -70,9 +70,9 @@ author = 'Otto Winter'
|
|||||||
# built documents.
|
# built documents.
|
||||||
#
|
#
|
||||||
# The short X.Y version.
|
# The short X.Y version.
|
||||||
version = '1.12'
|
version = '1.13'
|
||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
release = '1.12.2'
|
release = '1.13.0'
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
|
@ -125,12 +125,6 @@ variable ``output_component1``.
|
|||||||
platform: ESP8266
|
platform: ESP8266
|
||||||
board: esp01_1m
|
board: esp01_1m
|
||||||
|
|
||||||
# Ensure the light turns on by default if the physical switch is actuated.
|
|
||||||
on_boot:
|
|
||||||
priority: 100 # Highest priority, ensures light turns on without delay.
|
|
||||||
then:
|
|
||||||
- light.turn_on: light
|
|
||||||
|
|
||||||
wifi:
|
wifi:
|
||||||
ssid: 'WIFI'
|
ssid: 'WIFI'
|
||||||
password: 'WIFIPASS'
|
password: 'WIFIPASS'
|
||||||
@ -147,6 +141,9 @@ variable ``output_component1``.
|
|||||||
id: light
|
id: light
|
||||||
output: output_component1
|
output: output_component1
|
||||||
|
|
||||||
|
# Ensure the light turns on by default if the physical switch is actuated.
|
||||||
|
restore_mode: ALWAYS_ON
|
||||||
|
|
||||||
output:
|
output:
|
||||||
- platform: esp8266_pwm
|
- platform: esp8266_pwm
|
||||||
id: output_component1
|
id: output_component1
|
||||||
@ -162,12 +159,6 @@ variable ``output_component1``.
|
|||||||
platform: ESP8266
|
platform: ESP8266
|
||||||
board: esp01_1m
|
board: esp01_1m
|
||||||
|
|
||||||
# Ensure the light turns on by default if the physical switch is actuated.
|
|
||||||
on_boot:
|
|
||||||
priority: 100 # Highest priority, ensures light turns on without delay.
|
|
||||||
then:
|
|
||||||
- light.turn_on: light
|
|
||||||
|
|
||||||
wifi:
|
wifi:
|
||||||
ssid: 'WIFI'
|
ssid: 'WIFI'
|
||||||
password: 'WIFIPASS'
|
password: 'WIFIPASS'
|
||||||
@ -195,6 +186,9 @@ variable ``output_component1``.
|
|||||||
cold_white_color_temperature: 6500 K
|
cold_white_color_temperature: 6500 K
|
||||||
warm_white_color_temperature: 2700 K
|
warm_white_color_temperature: 2700 K
|
||||||
|
|
||||||
|
# Ensure the light turns on by default if the physical switch is actuated.
|
||||||
|
restore_mode: ALWAYS_ON
|
||||||
|
|
||||||
3.3 RGBW Color Bulbs
|
3.3 RGBW Color Bulbs
|
||||||
********************
|
********************
|
||||||
|
|
||||||
@ -205,12 +199,6 @@ variable ``output_component1``.
|
|||||||
platform: ESP8266
|
platform: ESP8266
|
||||||
board: esp01_1m
|
board: esp01_1m
|
||||||
|
|
||||||
# Ensure the light turns on by default if the physical switch is actuated.
|
|
||||||
on_boot:
|
|
||||||
priority: 100 # Highest priority, ensures light turns on without delay.
|
|
||||||
then:
|
|
||||||
- light.turn_on: light
|
|
||||||
|
|
||||||
wifi:
|
wifi:
|
||||||
ssid: 'WIFI'
|
ssid: 'WIFI'
|
||||||
password: 'WIFIPASS'
|
password: 'WIFIPASS'
|
||||||
@ -244,6 +232,9 @@ variable ``output_component1``.
|
|||||||
blue: output_blue
|
blue: output_blue
|
||||||
white: output_white
|
white: output_white
|
||||||
|
|
||||||
|
# Ensure the light turns on by default if the physical switch is actuated.
|
||||||
|
restore_mode: ALWAYS_ON
|
||||||
|
|
||||||
|
|
||||||
4. Adding to Home Assistant
|
4. Adding to Home Assistant
|
||||||
---------------------------
|
---------------------------
|
||||||
|
11
github.py
11
github.py
@ -104,10 +104,13 @@ def grouper(n, iterable, fillvalue=None):
|
|||||||
# Based on https://www.slideshare.net/doughellmann/better-documentation-through-automation-creating-docutils-sphinx-extensions
|
# Based on https://www.slideshare.net/doughellmann/better-documentation-through-automation-creating-docutils-sphinx-extensions
|
||||||
class ImageTableDirective(Table):
|
class ImageTableDirective(Table):
|
||||||
|
|
||||||
option_spec = {}
|
option_spec = {
|
||||||
|
'columns': directives.positive_int,
|
||||||
|
}
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
env = self.state.document.settings.env
|
env = self.state.document.settings.env
|
||||||
|
cols = self.options.get('columns', 3)
|
||||||
|
|
||||||
items = []
|
items = []
|
||||||
|
|
||||||
@ -127,13 +130,13 @@ class ImageTableDirective(Table):
|
|||||||
'image': '/images/{}'.format(image.strip()),
|
'image': '/images/{}'.format(image.strip()),
|
||||||
})
|
})
|
||||||
|
|
||||||
col_widths = self.get_column_widths(3)
|
col_widths = self.get_column_widths(cols)
|
||||||
title, messages = self.make_title()
|
title, messages = self.make_title()
|
||||||
table = nodes.table()
|
table = nodes.table()
|
||||||
table['classes'].append('table-center')
|
table['classes'].append('table-center')
|
||||||
|
|
||||||
# Set up column specifications based on widths
|
# Set up column specifications based on widths
|
||||||
tgroup = nodes.tgroup(cols=3)
|
tgroup = nodes.tgroup(cols=cols)
|
||||||
table += tgroup
|
table += tgroup
|
||||||
tgroup.extend(
|
tgroup.extend(
|
||||||
nodes.colspec(colwidth=col_width)
|
nodes.colspec(colwidth=col_width)
|
||||||
@ -143,7 +146,7 @@ class ImageTableDirective(Table):
|
|||||||
tbody = nodes.tbody()
|
tbody = nodes.tbody()
|
||||||
tgroup += tbody
|
tgroup += tbody
|
||||||
rows = []
|
rows = []
|
||||||
for value in grouper(3, items):
|
for value in grouper(cols, items):
|
||||||
trow = nodes.row()
|
trow = nodes.row()
|
||||||
for cell in value:
|
for cell in value:
|
||||||
entry = nodes.entry()
|
entry = nodes.entry()
|
||||||
|
@ -377,6 +377,7 @@ All Conditions
|
|||||||
- :ref:`script.is_running <script-is_running_condition>`
|
- :ref:`script.is_running <script-is_running_condition>`
|
||||||
- :ref:`sun.is_above_horizon / sun.is_below_horizon <sun-is_above_below_horizon-condition>`
|
- :ref:`sun.is_above_horizon / sun.is_below_horizon <sun-is_above_below_horizon-condition>`
|
||||||
- :ref:`text_sensor.state <text_sensor-state_condition>`
|
- :ref:`text_sensor.state <text_sensor-state_condition>`
|
||||||
|
- :ref:`light.is_on <binary_sensor-is_on_condition>` / :ref:`light.is_off <light-is_off_condition>`
|
||||||
|
|
||||||
All Lambda Calls
|
All Lambda Calls
|
||||||
----------------
|
----------------
|
||||||
|
@ -58,6 +58,7 @@ You guys are awesome!
|
|||||||
- Ryan
|
- Ryan
|
||||||
- Ryan Bahm
|
- Ryan Bahm
|
||||||
- Wojciech Bederski
|
- Wojciech Bederski
|
||||||
|
- Zoltán Jáki
|
||||||
|
|
||||||
|
|
||||||
Contributors
|
Contributors
|
||||||
@ -70,7 +71,7 @@ that have made it into the `ESPHome organization's <https://github.com/esphome>`
|
|||||||
Author & Main Developer
|
Author & Main Developer
|
||||||
***********************
|
***********************
|
||||||
|
|
||||||
- `Otto Winter (@OttoWinter) <https://github.com/OttoWinter>`__ - 1610 contributions
|
- `Otto Winter (@OttoWinter) <https://github.com/OttoWinter>`__ - 1728 contributions
|
||||||
|
|
||||||
Contributors
|
Contributors
|
||||||
************
|
************
|
||||||
@ -78,7 +79,8 @@ Contributors
|
|||||||
(in alphabetical order)
|
(in alphabetical order)
|
||||||
|
|
||||||
- `2016for (@2016for) <https://github.com/2016for>`__ - 1 contribution
|
- `2016for (@2016for) <https://github.com/2016for>`__ - 1 contribution
|
||||||
- `Aalian Khan (@AalianKhan) <https://github.com/AalianKhan>`__ - 2 contributions
|
- `Pavel Pletenev (@ASMfreaK) <https://github.com/ASMfreaK>`__ - 1 contribution
|
||||||
|
- `Aalian Khan (@AalianKhan) <https://github.com/AalianKhan>`__ - 4 contributions
|
||||||
- `Alexandre Danault (@AlexDanault) <https://github.com/AlexDanault>`__ - 1 contribution
|
- `Alexandre Danault (@AlexDanault) <https://github.com/AlexDanault>`__ - 1 contribution
|
||||||
- `Rutger Nijhuis (@BananaPukeh) <https://github.com/BananaPukeh>`__ - 1 contribution
|
- `Rutger Nijhuis (@BananaPukeh) <https://github.com/BananaPukeh>`__ - 1 contribution
|
||||||
- `Bierchermuesli (@Bierchermuesli) <https://github.com/Bierchermuesli>`__ - 1 contribution
|
- `Bierchermuesli (@Bierchermuesli) <https://github.com/Bierchermuesli>`__ - 1 contribution
|
||||||
@ -87,11 +89,13 @@ Contributors
|
|||||||
- `EmmanuelLM (@EmmanuelLM) <https://github.com/EmmanuelLM>`__ - 1 contribution
|
- `EmmanuelLM (@EmmanuelLM) <https://github.com/EmmanuelLM>`__ - 1 contribution
|
||||||
- `FrengerH (@FrengerH) <https://github.com/FrengerH>`__ - 2 contributions
|
- `FrengerH (@FrengerH) <https://github.com/FrengerH>`__ - 2 contributions
|
||||||
- `Jimmy Hedman (@HeMan) <https://github.com/HeMan>`__ - 5 contributions
|
- `Jimmy Hedman (@HeMan) <https://github.com/HeMan>`__ - 5 contributions
|
||||||
|
- `Johboh (@Johboh) <https://github.com/Johboh>`__ - 2 contributions
|
||||||
- `Fredrik Lindqvist (@Landrash) <https://github.com/Landrash>`__ - 1 contribution
|
- `Fredrik Lindqvist (@Landrash) <https://github.com/Landrash>`__ - 1 contribution
|
||||||
- `Marco (@Melkor82) <https://github.com/Melkor82>`__ - 2 contributions
|
- `Marco (@Melkor82) <https://github.com/Melkor82>`__ - 2 contributions
|
||||||
- `Mynasru (@Mynasru) <https://github.com/Mynasru>`__ - 2 contributions
|
- `Mynasru (@Mynasru) <https://github.com/Mynasru>`__ - 2 contributions
|
||||||
- `Erik Näsström (@Naesstrom) <https://github.com/Naesstrom>`__ - 1 contribution
|
- `Erik Näsström (@Naesstrom) <https://github.com/Naesstrom>`__ - 1 contribution
|
||||||
- `Jérôme W. (@RomRider) <https://github.com/RomRider>`__ - 1 contribution
|
- `Jérôme W. (@RomRider) <https://github.com/RomRider>`__ - 1 contribution
|
||||||
|
- `Teemu Mikkonen (@T3m3z) <https://github.com/T3m3z>`__ - 2 contributions
|
||||||
- `Taigar2015 (@Taigar2015) <https://github.com/Taigar2015>`__ - 1 contribution
|
- `Taigar2015 (@Taigar2015) <https://github.com/Taigar2015>`__ - 1 contribution
|
||||||
- `Spencer Hachmeister (@TheHackmeister) <https://github.com/TheHackmeister>`__ - 1 contribution
|
- `Spencer Hachmeister (@TheHackmeister) <https://github.com/TheHackmeister>`__ - 1 contribution
|
||||||
- `TheJulianJES (@TheJulianJES) <https://github.com/TheJulianJES>`__ - 2 contributions
|
- `TheJulianJES (@TheJulianJES) <https://github.com/TheJulianJES>`__ - 2 contributions
|
||||||
@ -104,7 +108,7 @@ Contributors
|
|||||||
- `balk77 (@balk77) <https://github.com/balk77>`__ - 1 contribution
|
- `balk77 (@balk77) <https://github.com/balk77>`__ - 1 contribution
|
||||||
- `Paulus Schoutsen (@balloob) <https://github.com/balloob>`__ - 1 contribution
|
- `Paulus Schoutsen (@balloob) <https://github.com/balloob>`__ - 1 contribution
|
||||||
- `Patrik Hermansson (@bphermansson) <https://github.com/bphermansson>`__ - 1 contribution
|
- `Patrik Hermansson (@bphermansson) <https://github.com/bphermansson>`__ - 1 contribution
|
||||||
- `Brandon Davidson (@brandond) <https://github.com/brandond>`__ - 11 contributions
|
- `Brandon Davidson (@brandond) <https://github.com/brandond>`__ - 12 contributions
|
||||||
- `brianrjones69 (@brianrjones69) <https://github.com/brianrjones69>`__ - 1 contribution
|
- `brianrjones69 (@brianrjones69) <https://github.com/brianrjones69>`__ - 1 contribution
|
||||||
- `chris-jennings (@chris-jennings) <https://github.com/chris-jennings>`__ - 1 contribution
|
- `chris-jennings (@chris-jennings) <https://github.com/chris-jennings>`__ - 1 contribution
|
||||||
- `James Crook (@cooljimy84) <https://github.com/cooljimy84>`__ - 1 contribution
|
- `James Crook (@cooljimy84) <https://github.com/cooljimy84>`__ - 1 contribution
|
||||||
@ -121,9 +125,9 @@ Contributors
|
|||||||
- `escoand (@escoand) <https://github.com/escoand>`__ - 5 contributions
|
- `escoand (@escoand) <https://github.com/escoand>`__ - 5 contributions
|
||||||
- `Malte Franken (@exxamalte) <https://github.com/exxamalte>`__ - 2 contributions
|
- `Malte Franken (@exxamalte) <https://github.com/exxamalte>`__ - 2 contributions
|
||||||
- `Fabian Affolter (@fabaff) <https://github.com/fabaff>`__ - 10 contributions
|
- `Fabian Affolter (@fabaff) <https://github.com/fabaff>`__ - 10 contributions
|
||||||
- `gitolicious (@gitolicious) <https://github.com/gitolicious>`__ - 7 contributions
|
- `gitolicious (@gitolicious) <https://github.com/gitolicious>`__ - 10 contributions
|
||||||
- `The Gitter Badger (@gitter-badger) <https://github.com/gitter-badger>`__ - 1 contribution
|
- `The Gitter Badger (@gitter-badger) <https://github.com/gitter-badger>`__ - 1 contribution
|
||||||
- `Guillermo Ruffino (@glmnet) <https://github.com/glmnet>`__ - 1 contribution
|
- `Guillermo Ruffino (@glmnet) <https://github.com/glmnet>`__ - 4 contributions
|
||||||
- `Antoine GRÉA (@grea09) <https://github.com/grea09>`__ - 3 contributions
|
- `Antoine GRÉA (@grea09) <https://github.com/grea09>`__ - 3 contributions
|
||||||
- `Boris Hajduk (@hajdbo) <https://github.com/hajdbo>`__ - 4 contributions
|
- `Boris Hajduk (@hajdbo) <https://github.com/hajdbo>`__ - 4 contributions
|
||||||
- `Ivan Kravets (@ivankravets) <https://github.com/ivankravets>`__ - 1 contribution
|
- `Ivan Kravets (@ivankravets) <https://github.com/ivankravets>`__ - 1 contribution
|
||||||
@ -131,7 +135,7 @@ Contributors
|
|||||||
- `JbLb (@jblb) <https://github.com/jblb>`__ - 1 contribution
|
- `JbLb (@jblb) <https://github.com/jblb>`__ - 1 contribution
|
||||||
- `jcullen86 (@jcullen86) <https://github.com/jcullen86>`__ - 1 contribution
|
- `jcullen86 (@jcullen86) <https://github.com/jcullen86>`__ - 1 contribution
|
||||||
- `Joshua Dadswell (@jdads1) <https://github.com/jdads1>`__ - 1 contribution
|
- `Joshua Dadswell (@jdads1) <https://github.com/jdads1>`__ - 1 contribution
|
||||||
- `Jesse Hills (@jesserockz) <https://github.com/jesserockz>`__ - 3 contributions
|
- `Jesse Hills (@jesserockz) <https://github.com/jesserockz>`__ - 6 contributions
|
||||||
- `John Erik Halse (@johnerikhalse) <https://github.com/johnerikhalse>`__ - 1 contribution
|
- `John Erik Halse (@johnerikhalse) <https://github.com/johnerikhalse>`__ - 1 contribution
|
||||||
- `JonnyaiR (@jonnyair) <https://github.com/jonnyair>`__ - 2 contributions
|
- `JonnyaiR (@jonnyair) <https://github.com/jonnyair>`__ - 2 contributions
|
||||||
- `Kevin O'Rourke (@kevinior) <https://github.com/kevinior>`__ - 1 contribution
|
- `Kevin O'Rourke (@kevinior) <https://github.com/kevinior>`__ - 1 contribution
|
||||||
@ -146,29 +150,32 @@ Contributors
|
|||||||
- `mjoshd (@mjoshd) <https://github.com/mjoshd>`__ - 2 contributions
|
- `mjoshd (@mjoshd) <https://github.com/mjoshd>`__ - 2 contributions
|
||||||
- `Matt N. (@mnoorenberghe) <https://github.com/mnoorenberghe>`__ - 1 contribution
|
- `Matt N. (@mnoorenberghe) <https://github.com/mnoorenberghe>`__ - 1 contribution
|
||||||
- `mtl010957 (@mtl010957) <https://github.com/mtl010957>`__ - 4 contributions
|
- `mtl010957 (@mtl010957) <https://github.com/mtl010957>`__ - 4 contributions
|
||||||
- `Michiel van Turnhout (@mvturnho) <https://github.com/mvturnho>`__ - 5 contributions
|
- `Michiel van Turnhout (@mvturnho) <https://github.com/mvturnho>`__ - 10 contributions
|
||||||
- `Kevin Uhlir (@n0bel) <https://github.com/n0bel>`__ - 1 contribution
|
- `Kevin Uhlir (@n0bel) <https://github.com/n0bel>`__ - 1 contribution
|
||||||
- `Alex (@nnmalex) <https://github.com/nnmalex>`__ - 1 contribution
|
- `Alex (@nnmalex) <https://github.com/nnmalex>`__ - 1 contribution
|
||||||
- `ffabi (@norges) <https://github.com/norges>`__ - 2 contributions
|
- `ffabi (@norges) <https://github.com/norges>`__ - 2 contributions
|
||||||
- `Greg Johnson (@notgwj) <https://github.com/notgwj>`__ - 1 contribution
|
- `Greg Johnson (@notgwj) <https://github.com/notgwj>`__ - 1 contribution
|
||||||
- `Nuno Sousa (@nunofgs) <https://github.com/nunofgs>`__ - 1 contribution
|
- `Nuno Sousa (@nunofgs) <https://github.com/nunofgs>`__ - 1 contribution
|
||||||
- `Oscar Bolmsten (@oscar-b) <https://github.com/oscar-b>`__ - 3 contributions
|
- `Oscar Bolmsten (@oscar-b) <https://github.com/oscar-b>`__ - 4 contributions
|
||||||
- `Paul Nicholls (@pauln) <https://github.com/pauln>`__ - 1 contribution
|
- `Paul Nicholls (@pauln) <https://github.com/pauln>`__ - 1 contribution
|
||||||
- `per1234 (@per1234) <https://github.com/per1234>`__ - 2 contributions
|
- `per1234 (@per1234) <https://github.com/per1234>`__ - 2 contributions
|
||||||
- `pixiandreas (@pixiandreas) <https://github.com/pixiandreas>`__ - 1 contribution
|
- `pixiandreas (@pixiandreas) <https://github.com/pixiandreas>`__ - 1 contribution
|
||||||
- `Plácido Revilla (@placidorevilla) <https://github.com/placidorevilla>`__ - 2 contributions
|
- `Plácido Revilla (@placidorevilla) <https://github.com/placidorevilla>`__ - 2 contributions
|
||||||
|
- `Marcus Kempe (@plopp) <https://github.com/plopp>`__ - 1 contribution
|
||||||
- `DK (@poldim) <https://github.com/poldim>`__ - 1 contribution
|
- `DK (@poldim) <https://github.com/poldim>`__ - 1 contribution
|
||||||
- `Leandro Puerari (@puerari) <https://github.com/puerari>`__ - 1 contribution
|
- `Leandro Puerari (@puerari) <https://github.com/puerari>`__ - 1 contribution
|
||||||
- `puuu (@puuu) <https://github.com/puuu>`__ - 12 contributions
|
- `puuu (@puuu) <https://github.com/puuu>`__ - 14 contributions
|
||||||
- `Tommy Jonsson (@quazzie) <https://github.com/quazzie>`__ - 1 contribution
|
- `Tommy Jonsson (@quazzie) <https://github.com/quazzie>`__ - 1 contribution
|
||||||
- `r-jordan (@r-jordan) <https://github.com/r-jordan>`__ - 1 contribution
|
- `r-jordan (@r-jordan) <https://github.com/r-jordan>`__ - 1 contribution
|
||||||
- `Pär Stålberg (@rabbadab) <https://github.com/rabbadab>`__ - 1 contribution
|
- `Pär Stålberg (@rabbadab) <https://github.com/rabbadab>`__ - 1 contribution
|
||||||
- `Richard Lewis (@richrd) <https://github.com/richrd>`__ - 1 contribution
|
- `Richard Lewis (@richrd) <https://github.com/richrd>`__ - 2 contributions
|
||||||
- `Robbie Page (@rorpage) <https://github.com/rorpage>`__ - 1 contribution
|
- `Robbie Page (@rorpage) <https://github.com/rorpage>`__ - 1 contribution
|
||||||
- `sethcohn (@sethcohn) <https://github.com/sethcohn>`__ - 1 contribution
|
- `sethcohn (@sethcohn) <https://github.com/sethcohn>`__ - 1 contribution
|
||||||
- `Emanuele Tessore (@setola) <https://github.com/setola>`__ - 1 contribution
|
- `Emanuele Tessore (@setola) <https://github.com/setola>`__ - 1 contribution
|
||||||
|
- `Abdelkader Boudih (@seuros) <https://github.com/seuros>`__ - 1 contribution
|
||||||
- `sherbang (@sherbang) <https://github.com/sherbang>`__ - 4 contributions
|
- `sherbang (@sherbang) <https://github.com/sherbang>`__ - 4 contributions
|
||||||
- `thubot (@thubot) <https://github.com/thubot>`__ - 1 contribution
|
- `thubot (@thubot) <https://github.com/thubot>`__ - 1 contribution
|
||||||
|
- `tiagofreire-pt (@tiagofreire-pt) <https://github.com/tiagofreire-pt>`__ - 1 contribution
|
||||||
- `tubalainen (@tubalainen) <https://github.com/tubalainen>`__ - 2 contributions
|
- `tubalainen (@tubalainen) <https://github.com/tubalainen>`__ - 2 contributions
|
||||||
- `Xuming Feng (@voicevon) <https://github.com/voicevon>`__ - 2 contributions
|
- `Xuming Feng (@voicevon) <https://github.com/voicevon>`__ - 2 contributions
|
||||||
- `Ian Wells (@wellsi) <https://github.com/wellsi>`__ - 1 contribution
|
- `Ian Wells (@wellsi) <https://github.com/wellsi>`__ - 1 contribution
|
||||||
@ -177,4 +184,4 @@ Contributors
|
|||||||
- `Vladimir Eremin (@yottatsa) <https://github.com/yottatsa>`__ - 1 contribution
|
- `Vladimir Eremin (@yottatsa) <https://github.com/yottatsa>`__ - 1 contribution
|
||||||
- `YuanL.Lee (@yuanl) <https://github.com/yuanl>`__ - 1 contribution
|
- `YuanL.Lee (@yuanl) <https://github.com/yuanl>`__ - 1 contribution
|
||||||
|
|
||||||
*This page was last updated Sat May 11 09:54:48 2019 UTC.*
|
*This page was last updated Thu May 30 19:07:58 2019 UTC.*
|
||||||
|
Loading…
Reference in New Issue
Block a user