Skip to content

Commit

Permalink
Merge pull request thingsboard#1350 from samson0v/master
Browse files Browse the repository at this point in the history
Added missed getter for connector ID
  • Loading branch information
imbeacon authored Mar 22, 2024
2 parents b38112d + 54f9832 commit c12d0f6
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 c12d0f6

Please sign in to comment.