mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-22 22:05:25 +01:00
31 lines
645 B
Python
31 lines
645 B
Python
"""Tests for the OctoPrint integration."""
|
|
|
|
from __future__ import annotations
|
|
|
|
DEFAULT_JOB = {
|
|
"job": {
|
|
"averagePrintTime": None,
|
|
"estimatedPrintTime": None,
|
|
"filament": None,
|
|
"file": {
|
|
"date": None,
|
|
"display": None,
|
|
"name": None,
|
|
"origin": None,
|
|
"path": None,
|
|
"size": None,
|
|
},
|
|
"lastPrintTime": None,
|
|
"user": None,
|
|
},
|
|
"progress": {"completion": 50},
|
|
}
|
|
|
|
DEFAULT_PRINTER = {
|
|
"state": {
|
|
"flags": {"printing": True, "error": False},
|
|
"text": "Operational",
|
|
},
|
|
"temperature": [],
|
|
}
|