From 84234f8713ab766d7579d9861fa9c1e7ee3cc792 Mon Sep 17 00:00:00 2001 From: Junior Martinez Date: Wed, 23 Jun 2021 10:21:14 -0400 Subject: [PATCH] Remove int cast from ParseValueWithType value argument --- src/controller/python/chip-device-ctrl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/python/chip-device-ctrl.py b/src/controller/python/chip-device-ctrl.py index fef309e4a64a9a..05f66ce1fdb499 100755 --- a/src/controller/python/chip-device-ctrl.py +++ b/src/controller/python/chip-device-ctrl.py @@ -131,7 +131,7 @@ def FormatZCLArguments(args, command): raise ParsingError("Argument should in key=value format") key, value = kvPair.split("=", 1) valueType = command.get(key, None) - commandArgs[key] = ParseValueWithType(int(value), valueType) + commandArgs[key] = ParseValueWithType(value, valueType) return commandArgs