update esppilight lib
content of the library is not filtered on 433mhz only
This commit is contained in:
1 parent
a275e48ee1
commit
67dd7ac078
1030 files changed
+203335
-116
No files matched your search
@@ -0,0 +1,30 @@
|
||||
.. |yes| image:: ../../images/yes.png
|
||||
.. |no| image:: ../../images/no.png
|
||||
|
||||
.. role:: underline
|
||||
:class: underline
|
||||
|
||||
Toggle
|
||||
======
|
||||
|
||||
.. rubric:: Description
|
||||
|
||||
Toggles a device between state X and state Y. This action is especially made for ``one-shot`` devices such as a remote control button where a normal separate 'switch-on' and separate 'switch-off' rule doesn't apply. This action will check what the current state of a device is, and will change it to the non-current state.
|
||||
|
||||
.. rubric:: Options
|
||||
|
||||
+----------+------------------+---------------------+---------------------------------------------------+
|
||||
| **Name** | **Required** | **Multiple Values** | **Description** |
|
||||
+----------+------------------+---------------------+---------------------------------------------------+
|
||||
| DEVICE | |yes| | |yes| | Device(s) to change |
|
||||
+----------+------------------+---------------------+---------------------------------------------------+
|
||||
| BETWEEN | |yes| | |no| | State 1 |
|
||||
+----------+------------------+---------------------+---------------------------------------------------+
|
||||
| AND | |no| | |no| | State 2 |
|
||||
+----------+------------------+---------------------+---------------------------------------------------+
|
||||
|
||||
.. rubric:: Example
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
IF 1 == 1 THEN toggle DEVICE television BETWEEN on AND off
|
||||
Reference in new issue
Block a user