Skip to content

Commit

Permalink
Removing report strategy section from configuration JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
samson0v committed Nov 5, 2024
1 parent 7fdaff5 commit edc980e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,8 @@ def _handle_connector_configuration_update(self, config):
# can be removed in the future versions:
config['sendDataOnlyOnChange'] = config['configurationJson'].get('sendDataOnlyOnChange', False)

config['configurationJson'].pop('reportStrategy', None)

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 edc980e

Please sign in to comment.