{"action":"created","issue":{"url":"https://api.github.com/repos/taligentx/dscKeybusInterface/issues/8","repository_url":"https://api.github.com/repos/taligentx/dscKeybusInterface","labels_url":"https://api.github.com/repos/taligentx/dscKeybusInterface/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/taligentx/dscKeybusInterface/issues/8/comments","events_url":"https://api.github.com/repos/taligentx/dscKeybusInterface/issues/8/events","html_url":"https://github.com/taligentx/dscKeybusInterface/issues/8","id":323354939,"number":8,"title":"[Enhancement] Init value for Fire and Alarm status","user":{"login":"MagnusPer","id":35903236,"avatar_url":"https://avatars0.githubusercontent.com/u/35903236?v=4","gravatar_id":"","url":"https://api.github.com/users/MagnusPer","html_url":"https://github.com/MagnusPer","followers_url":"https://api.github.com/users/MagnusPer/followers","following_url":"https://api.github.com/users/MagnusPer/following{/other_user}","gists_url":"https://api.github.com/users/MagnusPer/gists{/gist_id}","starred_url":"https://api.github.com/users/MagnusPer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MagnusPer/subscriptions","organizations_url":"https://api.github.com/users/MagnusPer/orgs","repos_url":"https://api.github.com/users/MagnusPer/repos","events_url":"https://api.github.com/users/MagnusPer/events{/privacy}","received_events_url":"https://api.github.com/users/MagnusPer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-15T19:38:33Z","updated_at":"2018-05-15T21:12:21Z","closed_at":"2018-05-15T20:52:48Z","author_association":"NONE","body":"WAIT - I WILL INSTEAD TRY TO HAVE MY OWN INIT IN THE BEGINING OF THE LOOP, IT MAY BE BETTER IF THIS IS CONTROLLED BY RESPECTIVELY IMPLEMENTATION\r\n\r\nProvide an init value for at least Fire and Alarm at startup, meaning let the Change flag be true once.\r\n- dsc.partitionAlarmChanged\r\n- dsc.fireStatusChanged\r\n\r\nThe logic as of today provides updates only if there has been a status change. In the Homey app there is an absence of the status in the Fire and Tamper alarm device since nothing is provided. The status change for these are quite rare!\r\n\r\nIt may be needed to have a minor delay, or trigg on another status change in order to ensure listening systems such Homey is established.\r\n\r\n```\r\n// Publish alarm status to Homey\r\n    if (dsc.partitionAlarmChanged) {\r\n      dsc.partitionAlarmChanged = false;  // Resets the partition alarm status flag\r\n      if (dsc.partitionAlarm) Homey.setCapabilityValue(\"alarm_tamper\", true);\r\n      else Homey.setCapabilityValue(\"alarm_tamper\", false);\r\n    }\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/taligentx/dscKeybusInterface/issues/comments/389315107","html_url":"https://github.com/taligentx/dscKeybusInterface/issues/8#issuecomment-389315107","issue_url":"https://api.github.com/repos/taligentx/dscKeybusInterface/issues/8","id":389315107,"user":{"login":"MagnusPer","id":35903236,"avatar_url":"https://avatars0.githubusercontent.com/u/35903236?v=4","gravatar_id":"","url":"https://api.github.com/users/MagnusPer","html_url":"https://github.com/MagnusPer","followers_url":"https://api.github.com/users/MagnusPer/followers","following_url":"https://api.github.com/users/MagnusPer/following{/other_user}","gists_url":"https://api.github.com/users/MagnusPer/gists{/gist_id}","starred_url":"https://api.github.com/users/MagnusPer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MagnusPer/subscriptions","organizations_url":"https://api.github.com/users/MagnusPer/orgs","repos_url":"https://api.github.com/users/MagnusPer/repos","events_url":"https://api.github.com/users/MagnusPer/events{/privacy}","received_events_url":"https://api.github.com/users/MagnusPer/received_events","type":"User","site_admin":false},"created_at":"2018-05-15T21:12:21Z","updated_at":"2018-05-15T21:12:21Z","author_association":"NONE","body":"No problem to share my example of integration to Homey when finished"}}
{"actor":{"display_login":"MagnusPer"}}