Skip to content
Snippets Groups Projects
Commit e5e809ab authored by jkerdreu's avatar jkerdreu
Browse files

Remove a warning



git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@2711 b32b6428-25c9-4566-ad07-03861ab6144f
parent 99489db9
Branches
No related tags found
No related merge requests found
import logging
import asyncio
from fauxmo.plugins import FauxmoPlugin
from xaal.monitor import Monitor
......@@ -21,7 +22,6 @@ MAP = {
'shutter': ['down','up',None],
}
def setup(device,filter_func):
global monitor
monitor = Monitor(device,filter_func)
......@@ -105,7 +105,7 @@ class XAALPlugin(FauxmoPlugin):
if on_off[value] == self._latest_action:
return self._latest_action
else:
# fake state
# fake state due to missing state for this device
return self._latest_action
# no device found with the right state, so send
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment