code refactoring: use the defined states of header file
This commit is contained in:
@@ -69,9 +69,9 @@ static const char *SENSOR_STRING[] = {
|
||||
#define PLANTSTATE_STR_NO_SENSOR "nosensor"
|
||||
#define PLANTSTATE_STR_WET "wet"
|
||||
#define PLANTSTATE_STR_SUNNY_ALARM "sunny+alarm"
|
||||
#define PLANTSTATE_STR_ACTIVE_ALARM "activate+alarm"
|
||||
#define PLANTSTATE_STR_ACTIVE_SUPESSED "activate+supressed"
|
||||
#define PLANTSTATE_STR_ACTIVE "activate"
|
||||
#define PLANTSTATE_STR_ACTIVE_ALARM "active+alarm"
|
||||
#define PLANTSTATE_STR_ACTIVE_SUPESSED "active+supressed"
|
||||
#define PLANTSTATE_STR_ACTIVE "active"
|
||||
#define PLANTSTATE_STR_SUNNY "sunny"
|
||||
#define PLANTSTATE_STR_COOLDOWN_ALARM "cooldown+alarm"
|
||||
#define PLANTSTATE_STR_COOLDOWN "cooldown"
|
||||
|
||||
Reference in New Issue
Block a user