We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 916607b commit 6a6dd9dCopy full SHA for 6a6dd9d
1 file changed
relay.py
@@ -24,7 +24,7 @@ def query_spaceapi(endpoint: str) -> Optional[dict]:
24
if 'api' not in data or 'space' not in data:
25
print('Endpoint response does not look like a valid SpaceAPI object')
26
sys.exit(2)
27
- return data.get('sensors', [])
+ return data.get('sensors', {})
28
29
30
def make_datapoint(name: str, value: float, tags: Dict[str, str]):
0 commit comments