Skip to content

Commit

Permalink
Added missed getter for connector ID
Browse files Browse the repository at this point in the history
  • Loading branch information
samson0v committed Mar 22, 2024
1 parent b38112d commit 54f9832
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions thingsboard_gateway/connectors/socket/socket_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,9 @@ def is_stopped(self):
def get_config(self):
return self.__config

def get_id(self):
return self.__id

@CustomCollectStatistics(start_stat_type='allBytesSentToDevices')
def __write_value_via_tcp(self, address, port, value):
try:
Expand Down

0 comments on commit 54f9832

Please sign in to comment.