Skip to content

Commit

Permalink
mailrcv plugin: add super().__init__() , push version to 1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
onkelandy committed Oct 28, 2023
1 parent 56fc856 commit d135805
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion mailrcv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@

class IMAP(SmartPlugin):
ALLOW_MULTIINSTANCE = True
PLUGIN_VERSION = "1.4.1"
PLUGIN_VERSION = "1.4.2"

def __init__(self, sh, *args, **kwargs):
super().__init__()
self._host = self.get_parameter_value('host')
self._port = self.get_parameter_value('port')
self._username = self.get_parameter_value('username')
Expand Down
4 changes: 1 addition & 3 deletions mailrcv/plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ plugin:
# documentation: https://github.com/smarthomeNG/smarthome/wiki/CLI-Plugin # url of documentation (wiki) page
# support: https://knx-user-forum.de/forum/supportforen/smarthome-py

version: 1.4.1 # Plugin version
version: 1.4.2 # Plugin version
sh_minversion: 1.4 # minimum shNG version to use this plugin
# sh_maxversion: # maximum shNG version to use this plugin (leave empty if latest)
multi_instance: True # plugin supports multi instance
Expand Down Expand Up @@ -85,5 +85,3 @@ plugin_functions: NONE

logic_parameters: NONE
# Definition of logic parameters defined by this plugin


0 comments on commit d135805

Please sign in to comment.