{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/smarthome/issues/989","repository_url":"https://api.github.com/repos/eclipse/smarthome","labels_url":"https://api.github.com/repos/eclipse/smarthome/issues/989/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/smarthome/issues/989/comments","events_url":"https://api.github.com/repos/eclipse/smarthome/issues/989/events","html_url":"https://github.com/eclipse/smarthome/issues/989","id":131846358,"number":989,"title":"SCALE transform issue","user":{"login":"lolodomo","id":10186704,"avatar_url":"https://avatars.githubusercontent.com/u/10186704?v=3","gravatar_id":"","url":"https://api.github.com/users/lolodomo","html_url":"https://github.com/lolodomo","followers_url":"https://api.github.com/users/lolodomo/followers","following_url":"https://api.github.com/users/lolodomo/following{/other_user}","gists_url":"https://api.github.com/users/lolodomo/gists{/gist_id}","starred_url":"https://api.github.com/users/lolodomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lolodomo/subscriptions","organizations_url":"https://api.github.com/users/lolodomo/orgs","repos_url":"https://api.github.com/users/lolodomo/repos","events_url":"https://api.github.com/users/lolodomo/events{/privacy}","received_events_url":"https://api.github.com/users/lolodomo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-02-06T11:30:53Z","updated_at":"2016-11-20T11:46:14Z","closed_at":"2016-02-22T14:12:03Z","body":"I have a scale transform working well in OH 1.x but leading to an error in OH 2 beta 2.\nHere is the scale file I am using:\n\n```\n[0,0]=0 %\n[1,1]=11 %\n[2,2]=22 %\n[3,3]=33 %\n[4,4]=44 %\n[5,5]=56 %\n[6,6]=67 %\n[7,7]=78 %\n[8,8]=89 %\n[9,9]=100 %\n```\n\nAnd here are the logs:\n\n```\n12:25:06.519 [INFO ] [marthome.event.ItemStateChangedEvent] - BatterieTempHumVeranda changed from NULL to 0\n12:25:11.927 [WARN ] [.internal.ScaleTransformationService] - Scale transform entry does not comply with syntax : '[7,7]', '78 %'\n12:25:11.928 [WARN ] [.internal.ScaleTransformationService] - Scale transform entry does not comply with syntax : '[2,2]', '22 %'\n12:25:11.942 [WARN ] [.internal.ScaleTransformationService] - Scale transform entry does not comply with syntax : '[5,5]', '56 %'\n12:25:11.945 [WARN ] [.internal.ScaleTransformationService] - Scale transform entry does not comply with syntax : '[0,0]', '0 %'\n12:25:11.948 [WARN ] [.internal.ScaleTransformationService] - Scale transform entry does not comply with syntax : '[8,8]', '89 %'\n12:25:11.951 [WARN ] [.internal.ScaleTransformationService] - Scale transform entry does not comply with syntax : '[3,3]', '33 %'\n12:25:11.954 [WARN ] [.internal.ScaleTransformationService] - Scale transform entry does not comply with syntax : '[6,6]', '67 %'\n12:25:11.957 [WARN ] [.internal.ScaleTransformationService] - Scale transform entry does not comply with syntax : '[1,1]', '11 %'\n12:25:11.959 [WARN ] [.internal.ScaleTransformationService] - Scale transform entry does not comply with syntax : '[9,9]', '100 %'\n12:25:11.962 [WARN ] [.internal.ScaleTransformationService] - Scale transform entry does not comply with syntax : '[4,4]', '44 %'\n12:25:11.965 [WARN ] [rm.AbstractFileTransformationService] - Could not transform '0' with the file 'batteryOregon.scale'.\n12:25:14.262 [INFO ] [ome.event.GroupItemStateChangedEvent] - GFreebox changed from NULL to UNDEF through FreeboWifi\n```\n"},"comment":{"url":"https://api.github.com/repos/eclipse/smarthome/issues/comments/261773382","html_url":"https://github.com/eclipse/smarthome/issues/989#issuecomment-261773382","issue_url":"https://api.github.com/repos/eclipse/smarthome/issues/989","id":261773382,"user":{"login":"watou","id":3008217,"avatar_url":"https://avatars.githubusercontent.com/u/3008217?v=3","gravatar_id":"","url":"https://api.github.com/users/watou","html_url":"https://github.com/watou","followers_url":"https://api.github.com/users/watou/followers","following_url":"https://api.github.com/users/watou/following{/other_user}","gists_url":"https://api.github.com/users/watou/gists{/gist_id}","starred_url":"https://api.github.com/users/watou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/watou/subscriptions","organizations_url":"https://api.github.com/users/watou/orgs","repos_url":"https://api.github.com/users/watou/repos","events_url":"https://api.github.com/users/watou/events{/privacy}","received_events_url":"https://api.github.com/users/watou/received_events","type":"User","site_admin":false},"created_at":"2016-11-20T11:46:14Z","updated_at":"2016-11-20T11:46:14Z","body":"> And what about the uncertain value?\r\n\r\nIt might make sense to special-case the `[..]` catchall to handle any input.  I can submit a PR if no one objects."}}
{"actor":{"display_login":"watou"}}