mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-09-27 04:13:07 +02:00
Switch inversion docs
This commit is contained in:
parent
66a3301c46
commit
876ff4b64b
@ -51,5 +51,8 @@ Configuration variables:
|
||||
- **name** (**Required**, string): The name of the switch.
|
||||
- **icon** (*Optional*, icon): Manually set the icon to use for the
|
||||
sensor in the frontend.
|
||||
- **inverted** (*Optional*, boolean): Whether to invert the binary
|
||||
state, i.e. report ON states as OFF and vice versa. Defaults
|
||||
to ``False``.
|
||||
- All other options from `MQTT
|
||||
Component </esphomeyaml/components/mqtt.html#mqtt-component-base-configuration>`__.
|
||||
|
Loading…
Reference in New Issue
Block a user