From 403d32ff5c49c82962ef17562caa6cb845f8d6d5 Mon Sep 17 00:00:00 2001 From: Alain Klotz Date: Wed, 1 Feb 2023 12:58:57 +0100 Subject: [PATCH] Update of the schema for output_data --- config/schemas/schema_device-2.0.yml | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/config/schemas/schema_device-2.0.yml b/config/schemas/schema_device-2.0.yml index 4d330ff..d62cc2a 100644 --- a/config/schemas/schema_device-2.0.yml +++ b/config/schemas/schema_device-2.0.yml @@ -36,24 +36,32 @@ schema;schema_component_output_data: type: map required: False mapping: - attribute: + data: type: map required: False mapping: - key: - type: str + key: # e.g. link with Json keys + type: any required: True - category: + category: # general category of the sensor (official list) type: str required: True - label: + external: # internal/external of the building (information) + type: bool + monitoring_name: # Monitoring unique value (official list) type: str - value_type: + quality: # float 0 to 1 + type: float + time_sampling: # period (s) to record in the history database + type: float + label: # Label for web display type: str - unit: - type: str - description: - type: str + value_type: # value format for web display + type: any + unit: # Unit for web display + type: str + description: # for the web display + type: str schema;schema_capability: type: map -- libgit2 0.21.2