Update xdrv_10_rules.ino

This commit is contained in:
alexasf 2022-01-27 14:55:25 +03:00 committed by GitHub
parent 72fe98cee1
commit 076b490331
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -485,6 +485,7 @@ bool RulesRuleMatch(uint8_t rule_set, String &event, String &rule, bool stop_all
char scolor[LIGHT_COLOR_SIZE];
if (rule_param.startsWith(F("%COLOR%"))) {
rule_param = LightGetColor(scolor);
}
#endif
// #ifdef USE_ZIGBEE
// if (rule_param.startsWith(F("%ZBDEVICE%"))) {