From 791d6f04b0694e5da342b9237bad57190e0ed921 Mon Sep 17 00:00:00 2001 From: Ollo Date: Sun, 21 Aug 2022 12:12:07 +0200 Subject: [PATCH] Tweaked number --- esp32/include/HomieTypes.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/esp32/include/HomieTypes.h b/esp32/include/HomieTypes.h index 95efe6a..81d505c 100644 --- a/esp32/include/HomieTypes.h +++ b/esp32/include/HomieTypes.h @@ -54,11 +54,11 @@ static const char *SENSOR_STRING[] = { */ #define PLANTSTATE_NUM_DEACTIVATED 0xF000 #define PLANTSTATE_NUM_NO_SENSOR 0xE000 -#define PLANTSTATE_NUM_WET 0x0F00 +#define PLANTSTATE_NUM_WET 0x0100 #define PLANTSTATE_NUM_SUNNY_ALARM 0x0021 -#define PLANTSTATE_NUM_ACTIVE_ALARM 0x0011 +#define PLANTSTATE_NUM_ACTIVE_ALARM 0x0201 #define PLANTSTATE_NUM_ACTIVE_SUPESSED 0x001F -#define PLANTSTATE_NUM_ACTIVE 0x0010 +#define PLANTSTATE_NUM_ACTIVE 0x0200 #define PLANTSTATE_NUM_SUNNY 0x0020 #define PLANTSTATE_NUM_COOLDOWN_ALARM 0x0031 #define PLANTSTATE_NUM_COOLDOWN 0x0030