- json={
- "software_version": "enviro-plus 0.0.1",
- "sensordatavalues": [{"value_type": key, "value": val} for key, val in temp_values.items()]
- },
- headers={
- "X-PIN": "11",
- "X-Sensor": id,
- "Content-Type": "application/json",
- "cache-control": "no-cache"
- }
+ json={
+ "software_version": "enviro-plus 0.0.1",
+ "sensordatavalues": [{"value_type": key, "value": val} for
+ key, val in temp_values.items()]
+ },
+ headers={
+ "X-PIN": "11",
+ "X-Sensor": id,
+ "Content-Type": "application/json",
+ "cache-control": "no-cache"
+ }