From 4a2c32de0c7ac61108dbbbb0818297c6b332fc46 Mon Sep 17 00:00:00 2001 From: raman325 <7243222+raman325@users.noreply.github.com> Date: Fri, 20 Aug 2021 15:13:47 -0400 Subject: [PATCH 1/2] Change name of energy sensor type set --- zwave_js_server/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zwave_js_server/const.py b/zwave_js_server/const.py index 94a995dcc..1c710cdfb 100644 --- a/zwave_js_server/const.py +++ b/zwave_js_server/const.py @@ -551,7 +551,7 @@ class MultilevelSensorType(IntEnum): CO_SENSORS = {MultilevelSensorType.CARBON_MONOXIDE_LEVEL} CO2_SENSORS = {MultilevelSensorType.CARBON_DIOXIDE_LEVEL} CURRENT_SENSORS = {MultilevelSensorType.CURRENT} -ENERGY_SENSORS = {MultilevelSensorType.BASIS_METABOLIC_RATE} +ENERGY_NOT_INCREASING_SENSORS = {MultilevelSensorType.BASIS_METABOLIC_RATE} HUMIDITY_SENSORS = {MultilevelSensorType.HUMIDITY} ILLUMINANCE_SENSORS = {MultilevelSensorType.ILLUMINANCE} POWER_SENSORS = {MultilevelSensorType.POWER} From 24349b7e860d04f2f46d25a7bf540af944882c96 Mon Sep 17 00:00:00 2001 From: raman325 <7243222+raman325@users.noreply.github.com> Date: Fri, 20 Aug 2021 15:18:09 -0400 Subject: [PATCH 2/2] rename again --- zwave_js_server/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zwave_js_server/const.py b/zwave_js_server/const.py index 1c710cdfb..d1f68291c 100644 --- a/zwave_js_server/const.py +++ b/zwave_js_server/const.py @@ -551,7 +551,7 @@ class MultilevelSensorType(IntEnum): CO_SENSORS = {MultilevelSensorType.CARBON_MONOXIDE_LEVEL} CO2_SENSORS = {MultilevelSensorType.CARBON_DIOXIDE_LEVEL} CURRENT_SENSORS = {MultilevelSensorType.CURRENT} -ENERGY_NOT_INCREASING_SENSORS = {MultilevelSensorType.BASIS_METABOLIC_RATE} +ENERGY_MEASUREMENT_SENSORS = {MultilevelSensorType.BASIS_METABOLIC_RATE} HUMIDITY_SENSORS = {MultilevelSensorType.HUMIDITY} ILLUMINANCE_SENSORS = {MultilevelSensorType.ILLUMINANCE} POWER_SENSORS = {MultilevelSensorType.POWER}