Added Time Remaining and Time Elapsed sensors for octoprint (#8581)
Add an optional extended description…pull/8586/head
parent
e63a96cf53
commit
4f8d2ec317
|
@ -25,6 +25,8 @@ SENSOR_TYPES = {
|
||||||
'Temperatures': ['printer', 'temperature', '*', TEMP_CELSIUS],
|
'Temperatures': ['printer', 'temperature', '*', TEMP_CELSIUS],
|
||||||
'Current State': ['printer', 'state', 'text', None],
|
'Current State': ['printer', 'state', 'text', None],
|
||||||
'Job Percentage': ['job', 'progress', 'completion', '%'],
|
'Job Percentage': ['job', 'progress', 'completion', '%'],
|
||||||
|
'Time Remaining': ['job', 'progress', 'printTimeLeft', 'seconds'],
|
||||||
|
'Time Elapsed': ['job', 'progress', 'printTime', 'seconds'],
|
||||||
}
|
}
|
||||||
|
|
||||||
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
|
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
|
||||||
|
|
Loading…
Reference in New Issue