From e4ed00d2876cb0d78ffacfdf04b9daddd44ed3bb Mon Sep 17 00:00:00 2001 From: sentinel-23 Date: Sun, 29 Jul 2018 11:58:17 -0600 Subject: [PATCH] Add times to OctoPrint Sensor documentation (#5918) * Updated to reflect changes from PR 8581 * Update sensor.octoprint.markdown --- source/_components/sensor.octoprint.markdown | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source/_components/sensor.octoprint.markdown b/source/_components/sensor.octoprint.markdown index f16fc83ffb2..c9f3aed618a 100644 --- a/source/_components/sensor.octoprint.markdown +++ b/source/_components/sensor.octoprint.markdown @@ -31,16 +31,19 @@ sensor: - Current State - Temperatures - Job Percentage + - Time Elapsed + - Time Remaining ``` Configuration variables: - **name** (*Optional*): The name of the sensor. Default is 'OctoPrint'. - **monitored_conditions** array (*Required*): States to monitor. - - **Current State**: Text of current state) + - **Current State**: Text of current state. - **Temperatures**: Temperatures of all available tools, eg. `print`, `head`, `print bed`, etc. These will be displayed as `tool0`, `tool1`, or `toolN` please refer to your OctoPrint frontend to associate the tool number with an actual device. - **Job Percentage**: Percentage of the job. - + - **Time Elapsed**: Time elapsed on current print job, in seconds. + - **Time Remaining**: Time remaining on current print job, in seconds.

If you are tracking temperature it is recommended to set `bed` and/or `number_of_tools` in your octoprint configuration. This will allow the octoprint sensors to load if the printer is offline during Home Assistant startup.