Skip to content

Commit

Permalink
Merge branch 'master' of github.com:thingsboard/thingsboard-gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
imbeacon committed Sep 18, 2024
2 parents a008d28 + 5caae0e commit 120f7da
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,9 @@ def _handle_connector_configuration_update(self, config):
self._gateway.load_connectors(self._get_general_config_in_local_format())
self._gateway.connect_with_connectors()

# can be removed in the future versions:
config['sendDataOnlyOnChange'] = config['configurationJson'].get('sendDataOnlyOnChange', False)

for (device_name, device_config) in list(self._gateway.get_devices().items()):
if (connector_id == device_config.get('connector').get_id()
and self._gateway.available_connectors_by_id.get(connector_id) is not None):
Expand Down

0 comments on commit 120f7da

Please sign in to comment.