Skip to content

Commit

Permalink
sdp: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Morg42 authored Aug 17, 2024
1 parent 3e81dff commit 0b19cad
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/model/smartdeviceplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@
from lib.shtime import Shtime

from lib.model.sdp.globals import (
SDP_VERSION, update,
PLUGIN_ATTR_SEND_TIMEOUT, ATTR_NAMES, CMD_ATTR_CMD_SETTINGS, CMD_ATTR_ITEM_ATTRS,
update, PLUGIN_ATTR_SEND_TIMEOUT, ATTR_NAMES, CMD_ATTR_CMD_SETTINGS, CMD_ATTR_ITEM_ATTRS,
CMD_ATTR_ITEM_TYPE, CMD_ATTR_LOOKUP, CMD_ATTR_OPCODE, CMD_ATTR_PARAMS,
CMD_ATTR_READ, CMD_ATTR_READ_CMD, CMD_ATTR_WRITE, CMD_IATTR_ATTRIBUTES,
CMD_IATTR_CYCLE, CMD_IATTR_ENFORCE, CMD_IATTR_INITIAL,
Expand Down Expand Up @@ -674,7 +673,6 @@ def update_item(self, item, caller=None, source=None, dest=None):
item(item.property.last_value, self.get_shortname())
return

# TODO: add readafterwrite code
readafterwrite = self.get_iattr_value(item.conf, self._item_attrs.get('ITEM_ATTR_READAFTERWRITE', 'foo'))
if readafterwrite is not None:
try:
Expand Down

0 comments on commit 0b19cad

Please sign in to comment.