Skip to content

Commit 41f4063

Browse files
committed
add missing data type to read_group_value function
1 parent 22dcafe commit 41f4063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thingsboard_gateway/connectors/knx/knx_connector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ async def __process_rpc_request(self, config, value=None):
329329
if value is not None or config['requestType'] == 'write':
330330
result['response'] = group_value_write(self.__client, group_address, value, data_type)
331331
else:
332-
result['response'] = await read_group_value(self.__client, group_address)
332+
result['response'] = await read_group_value(self.__client, group_address, data_type)
333333
return {"response": result}
334334
else:
335335
self.__log.error('KNX bus is not connected')

0 commit comments

Comments
 (0)