Skip to content

Commit 4122af1

Browse files
authored
Bump pyoctoprintapi version to 0.1.14 (home-assistant#148651)
1 parent 87fd45d commit 4122af1

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

homeassistant/components/octoprint/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"documentation": "https://www.home-assistant.io/integrations/octoprint",
77
"iot_class": "local_polling",
88
"loggers": ["pyoctoprintapi"],
9-
"requirements": ["pyoctoprintapi==0.1.12"],
9+
"requirements": ["pyoctoprintapi==0.1.14"],
1010
"ssdp": [
1111
{
1212
"manufacturer": "The OctoPrint Project",

requirements_all.txt

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

requirements_test_all.txt

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/components/octoprint/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from tests.common import MockConfigEntry
2222

2323
DEFAULT_JOB = {
24-
"job": {},
24+
"job": {"file": {}},
2525
"progress": {"completion": 50},
2626
}
2727

tests/components/octoprint/test_sensor.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ async def test_sensors(
2424
"temperature": {"tool1": {"actual": 18.83136, "target": 37.83136}},
2525
}
2626
job = {
27-
"job": {},
27+
"job": {"file": {}},
2828
"progress": {"completion": 50, "printTime": 600, "printTimeLeft": 6000},
2929
"state": "Printing",
3030
}
@@ -126,7 +126,7 @@ async def test_sensors_paused(
126126
"temperature": {"tool1": {"actual": 18.83136, "target": None}},
127127
}
128128
job = {
129-
"job": {},
129+
"job": {"file": {}},
130130
"progress": {"completion": 50, "printTime": 600, "printTimeLeft": 6000},
131131
"state": "Paused",
132132
}
@@ -155,7 +155,7 @@ async def test_sensors_printer_disconnected(
155155
) -> None:
156156
"""Test the underlying sensors."""
157157
job = {
158-
"job": {},
158+
"job": {"file": {}},
159159
"progress": {"completion": 50, "printTime": 600, "printTimeLeft": 6000},
160160
"state": "Paused",
161161
}

0 commit comments

Comments
 (0)