{"action":"created","issue":{"url":"https://api.github.com/repos/pimatic/pimatic/issues/830","repository_url":"https://api.github.com/repos/pimatic/pimatic","labels_url":"https://api.github.com/repos/pimatic/pimatic/issues/830/labels{/name}","comments_url":"https://api.github.com/repos/pimatic/pimatic/issues/830/comments","events_url":"https://api.github.com/repos/pimatic/pimatic/issues/830/events","html_url":"https://github.com/pimatic/pimatic/issues/830","id":142211605,"number":830,"title":"[v0.9] Could not parse expression variables device","user":{"login":"sweebee","id":10496485,"avatar_url":"https://avatars.githubusercontent.com/u/10496485?v=3","gravatar_id":"","url":"https://api.github.com/users/sweebee","html_url":"https://github.com/sweebee","followers_url":"https://api.github.com/users/sweebee/followers","following_url":"https://api.github.com/users/sweebee/following{/other_user}","gists_url":"https://api.github.com/users/sweebee/gists{/gist_id}","starred_url":"https://api.github.com/users/sweebee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sweebee/subscriptions","organizations_url":"https://api.github.com/users/sweebee/orgs","repos_url":"https://api.github.com/users/sweebee/repos","events_url":"https://api.github.com/users/sweebee/events{/privacy}","received_events_url":"https://api.github.com/users/sweebee/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pimatic/pimatic/labels/v0.9%20beta%20testing","name":"v0.9 beta testing","color":"fad8c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-20T21:58:36Z","updated_at":"2016-03-26T10:23:45Z","closed_at":"2016-03-26T10:23:45Z","body":"I'm getting this error with the variables device. The device uses variables of an other device.\r\n\r\n```\r\n21:34:50.774 [pimatic] error: Could not get attribute value of Vandaag.vandaag: Could not parse expression\r\n21:34:51.016 [pimatic] debug: Error: Could not parse expression\r\n```\r\n\r\ndevice attr:\r\n```\r\n{\r\n          \"name\": \"vandaag\",\r\n          \"expression\": \"$kwh-meter.kWh - $kw24\",\r\n          \"type\": \"number\",\r\n          \"unit\": \"kWh\",\r\n          \"acronym\": \"Verbruik\"\r\n        },\r\n```"},"comment":{"url":"https://api.github.com/repos/pimatic/pimatic/issues/comments/201752607","html_url":"https://github.com/pimatic/pimatic/issues/830#issuecomment-201752607","issue_url":"https://api.github.com/repos/pimatic/pimatic/issues/830","id":201752607,"user":{"login":"sweetpi","id":5249312,"avatar_url":"https://avatars.githubusercontent.com/u/5249312?v=3","gravatar_id":"","url":"https://api.github.com/users/sweetpi","html_url":"https://github.com/sweetpi","followers_url":"https://api.github.com/users/sweetpi/followers","following_url":"https://api.github.com/users/sweetpi/following{/other_user}","gists_url":"https://api.github.com/users/sweetpi/gists{/gist_id}","starred_url":"https://api.github.com/users/sweetpi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sweetpi/subscriptions","organizations_url":"https://api.github.com/users/sweetpi/orgs","repos_url":"https://api.github.com/users/sweetpi/repos","events_url":"https://api.github.com/users/sweetpi/events{/privacy}","received_events_url":"https://api.github.com/users/sweetpi/received_events","type":"User","site_admin":false},"created_at":"2016-03-26T10:23:45Z","updated_at":"2016-03-26T10:23:45Z","body":"It was a race condition with variable initialization. Fixed in latest v0.9 beta."}}