esphome-docs/api/switch/index.rst

54 lines
809 B
ReStructuredText

Switch
======
The `switch_` namespace contains all switch helpers.
.. toctree::
:glob:
*
API Reference
-------------
.. cpp:namespace:: nullptr
Switch
******
.. doxygenclass:: switch_::Switch
:members:
:protected-members:
:undoc-members:
OutputSwitch
************
.. doxygenclass:: switch_::OutputSwitch
:members:
:protected-members:
:undoc-members:
GPIOSwitch
**********
.. doxygenclass:: switch_::GPIOSwitch
:members:
:protected-members:
:undoc-members:
.. doxygenenum:: switch_::GPIOSwitchRestoreMode
.. doxygenclass:: switch_::SwitchCondition
:members:
:protected-members:
:undoc-members:
MQTTSwitchComponent
*******************
.. doxygenclass:: switch_::MQTTSwitchComponent
:members:
:protected-members:
:undoc-members: