From 978e412b3ffbab55d4cbb2a784d27b943c4abbfd Mon Sep 17 00:00:00 2001 From: GustaafL Date: Tue, 1 Aug 2023 11:09:20 +0200 Subject: [PATCH] docs(sensor): correct example response in docstring fetch_one Signed-off-by: GustaafL --- flexmeasures/api/v3_0/sensors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flexmeasures/api/v3_0/sensors.py b/flexmeasures/api/v3_0/sensors.py index a58d3ee22..dacc25d69 100644 --- a/flexmeasures/api/v3_0/sensors.py +++ b/flexmeasures/api/v3_0/sensors.py @@ -516,7 +516,7 @@ def fetch_one(self, id, sensor): "name": "some gas sensor", "unit": "m³/h", "entity_address": "ea1.2023-08.localhost:fm1.1", - "event_resolution": 10, + "event_resolution": "PT10M", "generic_asset_id": 4, "timezone": "UTC", }