Bugfix 2
This commit is contained in:
@@ -78,7 +78,7 @@ class SternwarteApi:
|
|||||||
|
|
||||||
async def fetch_state(self) -> SternwarteState:
|
async def fetch_state(self) -> SternwarteState:
|
||||||
"""Fetch and parse the current Web-IO state."""
|
"""Fetch and parse the current Web-IO state."""
|
||||||
raw = await self._get_text(f"/allout?PW={self.password}&")
|
raw = await self._get_text(f"/allout?PW={self.password}")
|
||||||
parts = raw.split(";")
|
parts = raw.split(";")
|
||||||
|
|
||||||
state = SternwarteState()
|
state = SternwarteState()
|
||||||
|
|||||||
Reference in New Issue
Block a user