diff --git a/companion.py b/companion.py index 9176fc2e..3be504f4 100644 --- a/companion.py +++ b/companion.py @@ -530,7 +530,7 @@ class Session(object): """Perform general CAPI /profile endpoint query.""" return self.query(URL_QUERY) - def station(self) -> Union[CAPIData, None]: + def station(self) -> CAPIData: """Perform CAPI /profile endpoint query for station data.""" data = self.query(URL_QUERY) if not data['commander'].get('docked'):