diff --git a/lib/libesp32/berry_tasmota/src/embedded/rule_matcher.be b/lib/libesp32/berry_tasmota/src/embedded/rule_matcher.be index 79ed625fc..e7b83f052 100644 --- a/lib/libesp32/berry_tasmota/src/embedded/rule_matcher.be +++ b/lib/libesp32/berry_tasmota/src/embedded/rule_matcher.be @@ -171,7 +171,7 @@ class Rule_Matcher var keyu = string.toupper(keyi) if isinstance(m, map) for k:m.keys() - if string.toupper(k)==keyu + if string.toupper(str(k))==keyu return k end end