{"action":"created","issue":{"url":"https://api.github.com/repos/rytilahti/python-eq3bt/issues/26","repository_url":"https://api.github.com/repos/rytilahti/python-eq3bt","labels_url":"https://api.github.com/repos/rytilahti/python-eq3bt/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/rytilahti/python-eq3bt/issues/26/comments","events_url":"https://api.github.com/repos/rytilahti/python-eq3bt/issues/26/events","html_url":"https://github.com/rytilahti/python-eq3bt/issues/26","id":366270714,"node_id":"MDU6SXNzdWUzNjYyNzA3MTQ=","number":26,"title":"TypeError: locked() got multiple values for argument 'target'","user":{"login":"KarimGeiger","id":2329930,"node_id":"MDQ6VXNlcjIzMjk5MzA=","avatar_url":"https://avatars1.githubusercontent.com/u/2329930?v=4","gravatar_id":"","url":"https://api.github.com/users/KarimGeiger","html_url":"https://github.com/KarimGeiger","followers_url":"https://api.github.com/users/KarimGeiger/followers","following_url":"https://api.github.com/users/KarimGeiger/following{/other_user}","gists_url":"https://api.github.com/users/KarimGeiger/gists{/gist_id}","starred_url":"https://api.github.com/users/KarimGeiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KarimGeiger/subscriptions","organizations_url":"https://api.github.com/users/KarimGeiger/orgs","repos_url":"https://api.github.com/users/KarimGeiger/repos","events_url":"https://api.github.com/users/KarimGeiger/events{/privacy}","received_events_url":"https://api.github.com/users/KarimGeiger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-03T10:25:56Z","updated_at":"2018-10-03T10:51:55Z","closed_at":null,"author_association":"NONE","body":"Hi there,\r\n\r\nthanks for taking your time to implement and publish this library. Unfortunately, I can't quite get it to work for my system. I'm using [these models](https://smile.amazon.de/gp/product/B014VHFR6Y/), but when trying to connect, I get the following output:\r\n\r\n```\r\n# eq3cli --mac 00:1A:22:06:XX:XX --debug\r\nDEBUG:eq3bt.eq3btsmart:Querying the device..\r\nDEBUG:eq3bt.connection:Trying to connect to 00:1A:22:06:XX:XX\r\nDEBUG:eq3bt.connection:Connected to 00:1A:22:06:XX:XX\r\nDEBUG:eq3bt.connection:Writing b'03120a030a151e' to 1041 with with_response=True\r\nDEBUG:eq3bt.connection:Waiting for notifications for 1\r\nDEBUG:eq3bt.connection:Got notification from 1057: b'020108000427'\r\nDEBUG:eq3bt.eq3btsmart:Received notification from the device..\r\nDEBUG:eq3bt.eq3btsmart:Got status: b'020108000427'\r\nDEBUG:eq3bt.eq3btsmart:Parsed status: Container:\r\n    cmd = 2\r\n    mode = Container:\r\n        DST = True\r\n    valve = 0\r\n    target_temp = 19.5\r\n    away = b'' (total 0)\r\nDEBUG:eq3bt.eq3btsmart:Valve state: 0\r\nDEBUG:eq3bt.eq3btsmart:Mode:        auto dst\r\nDEBUG:eq3bt.eq3btsmart:Target temp: 19.5\r\nDEBUG:eq3bt.eq3btsmart:Away end:    None\r\n[00:1A:22:06:12:03] Target 19.5 (mode: auto dst, away: no)\r\nTraceback (most recent call last):\r\n  File \"/home/homeassistant/bin/eq3cli\", line 11, in <module>\r\n    sys.exit(cli())\r\n  File \"/home/homeassistant/lib/python3.6/site-packages/click/core.py\", line 764, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/home/homeassistant/lib/python3.6/site-packages/click/core.py\", line 717, in main\r\n    rv = self.invoke(ctx)\r\n  File \"/home/homeassistant/lib/python3.6/site-packages/click/core.py\", line 1114, in invoke\r\n    return Command.invoke(self, ctx)\r\n  File \"/home/homeassistant/lib/python3.6/site-packages/click/core.py\", line 956, in invoke\r\n    return ctx.invoke(self.callback, **ctx.params)\r\n  File \"/home/homeassistant/lib/python3.6/site-packages/click/core.py\", line 555, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"/home/homeassistant/lib/python3.6/site-packages/click/decorators.py\", line 17, in new_func\r\n    return f(get_current_context(), *args, **kwargs)\r\n  File \"/home/homeassistant/lib/python3.6/site-packages/eq3bt/eq3cli.py\", line 38, in cli\r\n    ctx.invoke(state)\r\n  File \"/home/homeassistant/lib/python3.6/site-packages/click/core.py\", line 555, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"/home/homeassistant/lib/python3.6/site-packages/click/decorators.py\", line 17, in new_func\r\n    return f(get_current_context(), *args, **kwargs)\r\n  File \"/home/homeassistant/lib/python3.6/site-packages/eq3bt/eq3cli.py\", line 161, in state\r\n    ctx.invoke(locked, ctx)\r\n  File \"/home/homeassistant/lib/python3.6/site-packages/click/core.py\", line 555, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"/home/homeassistant/lib/python3.6/site-packages/click/decorators.py\", line 64, in new_func\r\n    return ctx.invoke(f, obj, *args, **kwargs)\r\n  File \"/home/homeassistant/lib/python3.6/site-packages/click/core.py\", line 555, in invoke\r\n    return callback(*args, **kwargs)\r\nTypeError: locked() got multiple values for argument 'target'\r\n```\r\n\r\nFor me, it looks like it is able to connect, since it returns correct information (target_temp, etc.), and I can use some other commands like \"temp\", but there seems to be an incompatibility somewhere. Sadly, I don't know much about python, so I'm a bit lost here.\r\n\r\nAny help is much appreciated!\r\n\r\nThanks\r\n\r\nKarim"},"comment":{"url":"https://api.github.com/repos/rytilahti/python-eq3bt/issues/comments/426592397","html_url":"https://github.com/rytilahti/python-eq3bt/issues/26#issuecomment-426592397","issue_url":"https://api.github.com/repos/rytilahti/python-eq3bt/issues/26","id":426592397,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjU5MjM5Nw==","user":{"login":"rytilahti","id":3705853,"node_id":"MDQ6VXNlcjM3MDU4NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/3705853?v=4","gravatar_id":"","url":"https://api.github.com/users/rytilahti","html_url":"https://github.com/rytilahti","followers_url":"https://api.github.com/users/rytilahti/followers","following_url":"https://api.github.com/users/rytilahti/following{/other_user}","gists_url":"https://api.github.com/users/rytilahti/gists{/gist_id}","starred_url":"https://api.github.com/users/rytilahti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rytilahti/subscriptions","organizations_url":"https://api.github.com/users/rytilahti/orgs","repos_url":"https://api.github.com/users/rytilahti/repos","events_url":"https://api.github.com/users/rytilahti/events{/privacy}","received_events_url":"https://api.github.com/users/rytilahti/received_events","type":"User","site_admin":false},"created_at":"2018-10-03T10:51:55Z","updated_at":"2018-10-03T10:51:55Z","author_association":"OWNER","body":"That looks weird and I don't know a solution at the moment, but you could comment out the line 161 in `/home/homeassistant/lib/python3.6/site-packages/eq3bt/eq3cli.py` to let it hopefully execute correctly."}}
{"actor":{"display_login":"rytilahti"}}