Skip to content
This repository has been archived by the owner on Jan 17, 2020. It is now read-only.

Commit

Permalink
Merge pull request #14 from foglamp/FOGL-2295
Browse files Browse the repository at this point in the history
FOGL-2295 pollInterval removal fixes & copyright fixes
  • Loading branch information
ashish-jabble authored Jan 11, 2019
2 parents 167ba44 + 570e92c commit f1cdebc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
11 changes: 1 addition & 10 deletions python/foglamp/plugins/south/dht11/dht11.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


__author__ = "Mark Riddoch"
__copyright__ = "Copyright (c) 2017 OSIsoft, LLC"
__copyright__ = "Copyright (c) 2018 Dianomic Systems"
__license__ = "Apache 2.0"
__version__ = "${VERSION}"

Expand All @@ -38,13 +38,6 @@
'order': "1",
'displayName': 'Asset Name'
},
'pollInterval': {
'description': 'The interval between poll calls to the sensor poll routine expressed in milliseconds.',
'type': 'integer',
'default': '1000',
'order': '2',
'displayName': 'Poll Interval'
},
'gpioPin': {
'description': 'The GPIO pin into which the DHT11 data pin is connected',
'type': 'integer',
Expand Down Expand Up @@ -141,8 +134,6 @@ def plugin_reconfigure(handle, new_config):
_LOGGER.info("Old config for DHT11 plugin {} \n new config {}".format(handle, new_config))

new_handle = copy.deepcopy(new_config)
new_handle['restart'] = 'no'

return new_handle


Expand Down
2 changes: 1 addition & 1 deletion test/test_dht11.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from python.foglamp.plugins.south.dht11 import dht11

__author__ = "Praveen Garg"
__copyright__ = "Copyright (c) 2017 OSIsoft, LLC"
__copyright__ = "Copyright (c) 2018 Dianomic Systems"
__license__ = "Apache 2.0"
__version__ = "${VERSION}"

Expand Down

0 comments on commit f1cdebc

Please sign in to comment.