From e9640ec2b1a9e911e8b90b9579f78ea77b9f43bc Mon Sep 17 00:00:00 2001 From: DigiH Date: Tue, 14 Nov 2023 14:45:36 +0100 Subject: [PATCH] carbon_dioxide --- src/devices/CGDN1_json.h | 4 ++-- src/devices/SCD4X_json.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/devices/CGDN1_json.h b/src/devices/CGDN1_json.h index 7327a929..abdbeefe 100644 --- a/src/devices/CGDN1_json.h +++ b/src/devices/CGDN1_json.h @@ -27,7 +27,7 @@ const char* _CGDN1_json = "{\"brand\":\"Qingping\",\"model\":\"Air Monitor Lite\ } })"""";*/ -const char* _CGDN1_json_props = "{\"properties\":{\"tempc\":{\"unit\":\"°C\",\"name\":\"temperature\"},\"hum\":{\"unit\":\"%\",\"name\":\"humidity\"},\"pm25\":{\"unit\":\"μg/m³\",\"name\":\"pm25\"},\"pm10\":{\"unit\":\"μg/m³\",\"name\":\"pm10\"},\"co2\":{\"unit\":\"ppm\",\"name\":\"carbon dioxide\"}}}"; +const char* _CGDN1_json_props = "{\"properties\":{\"tempc\":{\"unit\":\"°C\",\"name\":\"temperature\"},\"hum\":{\"unit\":\"%\",\"name\":\"humidity\"},\"pm25\":{\"unit\":\"μg/m³\",\"name\":\"pm25\"},\"pm10\":{\"unit\":\"μg/m³\",\"name\":\"pm10\"},\"co2\":{\"unit\":\"ppm\",\"name\":\"carbon_dioxide\"}}}"; /*R""""( { "properties":{ @@ -49,7 +49,7 @@ const char* _CGDN1_json_props = "{\"properties\":{\"tempc\":{\"unit\":\"°C\",\" }, "co2":{ "unit":"ppm", - "name":"carbon dioxide" + "name":"carbon_dioxide" } } })"""";*/ diff --git a/src/devices/SCD4X_json.h b/src/devices/SCD4X_json.h index d1921a0b..143ac9e8 100644 --- a/src/devices/SCD4X_json.h +++ b/src/devices/SCD4X_json.h @@ -22,7 +22,7 @@ const char* _SCD4X_json = "{\"brand\":\"Sensirion\",\"model\":\"MyCO₂/CO₂ Ga } })"""";*/ -const char* _SCD4X_json_props = "{\"properties\":{\"tempc\":{\"unit\":\"°C\",\"name\":\"temperature\"},\"hum\":{\"unit\":\"%\",\"name\":\"humidity\"},\"co2\":{\"unit\":\"ppm\",\"name\":\"carbon dioxide\"}}}"; +const char* _SCD4X_json_props = "{\"properties\":{\"tempc\":{\"unit\":\"°C\",\"name\":\"temperature\"},\"hum\":{\"unit\":\"%\",\"name\":\"humidity\"},\"co2\":{\"unit\":\"ppm\",\"name\":\"carbon_dioxide\"}}}"; /* R""""( { @@ -37,7 +37,7 @@ const char* _SCD4X_json_props = "{\"properties\":{\"tempc\":{\"unit\":\"°C\",\" }, "co2":{ "unit":"ppm", - "name":"carbon dioxide" + "name":"carbon_dioxide" } } })"""";*/