Skip to content

Commit

Permalink
mqtt_sample_plugin: fix pause item name
Browse files Browse the repository at this point in the history
  • Loading branch information
Morg42 authored Jul 1, 2024
1 parent d01d81b commit d812dfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/sample_mqttplugin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ def parse_item(self, item):
with the item, caller, source and dest as arguments and in case of the knx plugin the value
can be sent to the knx with a knx write function within the knx plugin.
"""
# check for alive item
# check for pause item
if item.property.path == self._pause_item_path:
self.logger.debug(f'alive item {item.property.path} registered')
self.logger.debug(f'pause item {item.property.path} registered')
self._pause_item = item
self.add_item(item, updating=True)
return self.update_item
Expand Down

0 comments on commit d812dfc

Please sign in to comment.