{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/smarthome/issues/5679","repository_url":"https://api.github.com/repos/eclipse/smarthome","labels_url":"https://api.github.com/repos/eclipse/smarthome/issues/5679/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/smarthome/issues/5679/comments","events_url":"https://api.github.com/repos/eclipse/smarthome/issues/5679/events","html_url":"https://github.com/eclipse/smarthome/pull/5679","id":329025332,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyMzg0OTYy","number":5679,"title":"TransformationProfile and SystemOffsetProfile","user":{"login":"triller-telekom","id":26876013,"node_id":"MDQ6VXNlcjI2ODc2MDEz","avatar_url":"https://avatars3.githubusercontent.com/u/26876013?v=4","gravatar_id":"","url":"https://api.github.com/users/triller-telekom","html_url":"https://github.com/triller-telekom","followers_url":"https://api.github.com/users/triller-telekom/followers","following_url":"https://api.github.com/users/triller-telekom/following{/other_user}","gists_url":"https://api.github.com/users/triller-telekom/gists{/gist_id}","starred_url":"https://api.github.com/users/triller-telekom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/triller-telekom/subscriptions","organizations_url":"https://api.github.com/users/triller-telekom/orgs","repos_url":"https://api.github.com/users/triller-telekom/repos","events_url":"https://api.github.com/users/triller-telekom/events{/privacy}","received_events_url":"https://api.github.com/users/triller-telekom/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-06-04T12:00:09Z","updated_at":"2018-07-02T20:39:32Z","closed_at":"2018-06-27T09:51:53Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/eclipse/smarthome/pulls/5679","html_url":"https://github.com/eclipse/smarthome/pull/5679","diff_url":"https://github.com/eclipse/smarthome/pull/5679.diff","patch_url":"https://github.com/eclipse/smarthome/pull/5679.patch"},"body":"This PR includes two new profiles.\r\n\r\nThe TransformationProfile is a new system profile which is registered\r\nunder the scope \"transform\". It offers the possibility to use all\r\nTransformationServices on ChannelItemLinks. The Strings send from a device\r\nwill be transformed via the specified function in the \"pattern\" parameter.\r\nThe other direction, i.e. Item to device is left untouched.\r\n\r\nThe SystemOffsetProfile lives in the \"system\" scope of profiles and is able\r\nto add or substract and offset from a value send from or to a device. This\r\nprofile works in both directions by applying the opposite offset for the\r\nopposite direction. QuantityTypes are supported as well, i.e. one can put\r\nan offset of \"1°C\" on a channel that sends Fahrenheit.\r\n\r\nIn addition there is a new \"ChattyThing\" fort he magic binding which sends\r\nrandom values on a Number channel and random Strings on a StringType channel\r\nbased on a configurable interval. For profile testing this turned out to be\r\nquite useful.\r\n\r\nSigned-off-by: Stefan Triller <stefan.triller@telekom.de>"},"comment":{"url":"https://api.github.com/repos/eclipse/smarthome/issues/comments/401927608","html_url":"https://github.com/eclipse/smarthome/pull/5679#issuecomment-401927608","issue_url":"https://api.github.com/repos/eclipse/smarthome/issues/5679","id":401927608,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTkyNzYwOA==","user":{"login":"openhab-bot","id":5867665,"node_id":"MDQ6VXNlcjU4Njc2NjU=","avatar_url":"https://avatars1.githubusercontent.com/u/5867665?v=4","gravatar_id":"","url":"https://api.github.com/users/openhab-bot","html_url":"https://github.com/openhab-bot","followers_url":"https://api.github.com/users/openhab-bot/followers","following_url":"https://api.github.com/users/openhab-bot/following{/other_user}","gists_url":"https://api.github.com/users/openhab-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/openhab-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openhab-bot/subscriptions","organizations_url":"https://api.github.com/users/openhab-bot/orgs","repos_url":"https://api.github.com/users/openhab-bot/repos","events_url":"https://api.github.com/users/openhab-bot/events{/privacy}","received_events_url":"https://api.github.com/users/openhab-bot/received_events","type":"User","site_admin":false},"created_at":"2018-07-02T20:39:32Z","updated_at":"2018-07-02T20:39:32Z","author_association":"CONTRIBUTOR","body":"This pull request has been mentioned on **openHAB Community**. There might be relevant details there:\n\nhttps://community.openhab.org/t/transformationservice-of-type-scale-is-unavailable/47236/9\n"}}
{"actor":{"display_login":"openhab-bot"}}