Skip to content

Commit 53eba3a

Browse files
authored
v0.16.6
version 0.16.6
2 parents 55b6e53 + 47354cc commit 53eba3a

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

pyobs_alpaca/dome.py

+4
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ async def init(self, **kwargs: Any) -> None:
7171
pyobs.utils.exceptions.InitError: If dome cannot be opened.
7272
"""
7373

74+
# weather?
75+
if not self.is_weather_good():
76+
raise exc.InitError("Weather seems to be bad.")
77+
7478
# if already opening, ignore
7579
if await self.get_motion_status() == MotionStatus.INITIALIZING:
7680
return

pyobs_alpaca/telescope.py

+4
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ async def init(self, **kwargs: Any) -> None:
9292
pyobs.utils.exceptions.InitError: If telescope could not be initialized.
9393
"""
9494

95+
# weather?
96+
if not self.is_weather_good():
97+
raise exc.InitError("Weather seems to be bad.")
98+
9599
# if already initializing, ignore
96100
if await self.get_motion_status() == MotionStatus.INITIALIZING:
97101
return

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pyobs-alpaca"
3-
version = "0.16.5"
3+
version = "0.16.6"
44
description = "pyobs module for ASCOM Alpaca"
55
authors = ["Tim-Oliver Husser <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)