From 2bb9128b5bb0d50bd94625d11a49823352f4931e Mon Sep 17 00:00:00 2001 From: Arksine Date: Sat, 2 Jan 2021 19:53:41 -0500 Subject: [PATCH] docs: document the "off_when_shutdown" option for the power plugin Signed-off-by: Eric Callahan --- docs/configuration.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/configuration.md b/docs/configuration.md index ff48c15..a0d75d3 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -147,6 +147,10 @@ and Tasmota (via http) devices are supported. type: gpio # The type of device. Can be either gpio, tplink_smartplug or tasmota. # This parameter must be provided. +off_when_shutdown: False +# If set to True the device will be powered off when Klipper enters +# the "shutdown" state. This option applies to all device types. +# The default is False. pin: gpiochip0/gpio26 # The pin to use for GPIO devices. The chip is optional, if left out # then the module will default to gpiochip0. If one wishes to invert @@ -186,6 +190,7 @@ Below are some potential examples: [power printer] type: gpio pin: gpio26 +off_when_shutdown: True initial_state: off [power printer_led]