Switch inversion docs

This commit is contained in:
Otto Winter 2018-05-17 17:34:45 +02:00
parent 66a3301c46
commit 876ff4b64b
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E

View File

@ -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>`__.