{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/12734","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/12734/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/12734/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/12734/events","html_url":"https://github.com/home-assistant/home-assistant/pull/12734","id":300476315,"number":12734,"title":"Fix for moisture sensors in isy994","user":{"login":"thejta","id":8660984,"avatar_url":"https://avatars1.githubusercontent.com/u/8660984?v=4","gravatar_id":"","url":"https://api.github.com/users/thejta","html_url":"https://github.com/thejta","followers_url":"https://api.github.com/users/thejta/followers","following_url":"https://api.github.com/users/thejta/following{/other_user}","gists_url":"https://api.github.com/users/thejta/gists{/gist_id}","starred_url":"https://api.github.com/users/thejta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thejta/subscriptions","organizations_url":"https://api.github.com/users/thejta/orgs","repos_url":"https://api.github.com/users/thejta/repos","events_url":"https://api.github.com/users/thejta/events{/privacy}","received_events_url":"https://api.github.com/users/thejta/received_events","type":"User","site_admin":false},"labels":[{"id":527871105,"url":"https://api.github.com/repos/home-assistant/home-assistant/labels/cla-signed","name":"cla-signed","color":"008000","default":false},{"id":760971746,"url":"https://api.github.com/repos/home-assistant/home-assistant/labels/platform:%20binary_sensor.isy994","name":"platform: binary_sensor.isy994","color":"ededed","default":false},{"id":832964196,"url":"https://api.github.com/repos/home-assistant/home-assistant/labels/small-pr","name":"small-pr","color":"e5bd7e","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-27T02:58:34Z","updated_at":"2018-02-27T04:51:29Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/12734","html_url":"https://github.com/home-assistant/home-assistant/pull/12734","diff_url":"https://github.com/home-assistant/home-assistant/pull/12734.diff","patch_url":"https://github.com/home-assistant/home-assistant/pull/12734.patch"},"body":"## Description:\r\n\r\nInsteon moisture sensors on the isy994 were not showing state changes on the front end when wet.  This looks to be because the dry->wet state change only sent a ST message on node 1 instead of a DOFF that would be captured by the positive node.\r\n\r\nBy registering the negative node in this change, the DON state change on node 2 is captured and dry->wet state changes are now shown on the front end.\r\n\r\nThe change consolidates opening and moisture cases into the same conditional since now identical, and put the nodes in ascending order.\r\n\r\n## Checklist:\r\n  - [x] The code change is tested and works locally.\r\n"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/368746854","html_url":"https://github.com/home-assistant/home-assistant/pull/12734#issuecomment-368746854","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/12734","id":368746854,"user":{"login":"thejta","id":8660984,"avatar_url":"https://avatars1.githubusercontent.com/u/8660984?v=4","gravatar_id":"","url":"https://api.github.com/users/thejta","html_url":"https://github.com/thejta","followers_url":"https://api.github.com/users/thejta/followers","following_url":"https://api.github.com/users/thejta/following{/other_user}","gists_url":"https://api.github.com/users/thejta/gists{/gist_id}","starred_url":"https://api.github.com/users/thejta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thejta/subscriptions","organizations_url":"https://api.github.com/users/thejta/orgs","repos_url":"https://api.github.com/users/thejta/repos","events_url":"https://api.github.com/users/thejta/events{/privacy}","received_events_url":"https://api.github.com/users/thejta/received_events","type":"User","site_admin":false},"created_at":"2018-02-27T04:51:29Z","updated_at":"2018-02-27T04:51:29Z","author_association":"NONE","body":"Thanks - I'm on the 5.0.11C ISY software.  Let me know if you need any other info if you can't recreate."}}
{"actor":{"display_login":"thejta"}}