esphome-docs/esphomeyaml/components/fan/binary.rst
2018-10-12 16:33:22 +02:00

41 lines
1.2 KiB
ReStructuredText

Binary Fan
==========
The ``binary`` fan platform lets you represent any binary :ref:`output` as a fan.
.. figure:: images/fan-ui.png
:align: center
:width: 80.0%
.. code:: yaml
# Example configuration entry
fan:
- platform: binary
output: myoutput_1
name: "Living Room Fan"
Configuration variables:
------------------------
- **output** (**Required**, :ref:`config-id`): The id of the
binary output component to use for this fan.
- **name** (**Required**, string): The name for this fan.
- **oscillation_output** (*Optional*, :ref:`config-id`): The id of the
:ref:`output <output>` to use for the oscillation state of this fan. Default is empty.
- **id** (*Optional*, :ref:`config-id`): Manually specify
the ID used for code generation.
- All other options from :ref:`MQTT Component <config-mqtt-component>`
and :ref:`Fan Component <config-fan>`.
See Also
--------
- :doc:`/esphomeyaml/components/output/index`
- :doc:`/esphomeyaml/components/output/gpio`
- :doc:`/esphomeyaml/components/fan/index`
- :doc:`API Reference </api/fan/index>`
- `Edit this page on GitHub <https://github.com/OttoWinter/esphomedocs/blob/current/esphomeyaml/components/fan/binary.rst>`__
.. disqus::