diff --git a/oppo/__init__.py b/oppo/__init__.py index 3c3ad7645..7f2c90978 100755 --- a/oppo/__init__.py +++ b/oppo/__init__.py @@ -55,6 +55,7 @@ class oppo(SmartDevicePlugin): """ PLUGIN_VERSION = '1.0.1' + MIN_SDP_VERSION = '1.0.3' def _set_device_defaults(self): @@ -63,7 +64,7 @@ def _set_device_defaults(self): self._parameters[PLUGIN_ATTR_CONNECTION] = CONN_NET_TCP_CLI elif PLUGIN_ATTR_SERIAL_PORT in self._parameters and self._parameters[PLUGIN_ATTR_SERIAL_PORT]: self._parameters[PLUGIN_ATTR_CONNECTION] = CONN_SER_ASYNC - + self._parameters[PLUGIN_ATTR_CMD_CLASS] = SDPCommandParseStr b = self._parameters[PLUGIN_ATTR_CONN_TERMINATOR].encode() diff --git a/oppo/plugin.yaml b/oppo/plugin.yaml index c38208d18..534790b05 100755 --- a/oppo/plugin.yaml +++ b/oppo/plugin.yaml @@ -9,7 +9,6 @@ plugin: version: 1.0.1 sh_minversion: '1.9.5.1' py_minversion: '3.6' - MIN_SDP_VERSION: '1.0.3' multi_instance: false restartable: true classname: oppo @@ -169,16 +168,6 @@ parameters: de: Item-Pfad für das Standby-Item en: item path for standby switch item - protocol: - type: str - default: '' - valid list: - - '' - - 'resend' - description: - de: 'Protokoll' - en: 'Protocol' - send_retries: type: num default: 0 @@ -232,7 +221,7 @@ parameters: description: de: 'Bei resume vom Plugin erstmaliges Lesen erneut durchführen' en: 'Repeat initial read on resume' - + item_attributes: