{"action":"created","issue":{"url":"https://api.github.com/repos/domoticz/domoticz/issues/795","repository_url":"https://api.github.com/repos/domoticz/domoticz","labels_url":"https://api.github.com/repos/domoticz/domoticz/issues/795/labels{/name}","comments_url":"https://api.github.com/repos/domoticz/domoticz/issues/795/comments","events_url":"https://api.github.com/repos/domoticz/domoticz/issues/795/events","html_url":"https://github.com/domoticz/domoticz/issues/795","id":171394680,"number":795,"title":"Dummy dimmer problem with last level value","user":{"login":"daniarv","id":18097443,"avatar_url":"https://avatars.githubusercontent.com/u/18097443?v=3","gravatar_id":"","url":"https://api.github.com/users/daniarv","html_url":"https://github.com/daniarv","followers_url":"https://api.github.com/users/daniarv/followers","following_url":"https://api.github.com/users/daniarv/following{/other_user}","gists_url":"https://api.github.com/users/daniarv/gists{/gist_id}","starred_url":"https://api.github.com/users/daniarv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniarv/subscriptions","organizations_url":"https://api.github.com/users/daniarv/orgs","repos_url":"https://api.github.com/users/daniarv/repos","events_url":"https://api.github.com/users/daniarv/events{/privacy}","received_events_url":"https://api.github.com/users/daniarv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-16T12:23:32Z","updated_at":"2016-08-16T16:32:15Z","closed_at":null,"body":"Hi,\r\n\r\nI believe there is some problem when using a dummy dimmer switch.\r\nIf I turn off the dim switch when the dimlevel is set it won't go back to that level when the lamp is turned on.\r\n\r\nExample:\r\nIf I change level to 40%, this value is stored in the database in svalue and LastLevel.\r\nWhen I turn off the switch by pressing the lamp icon, the values are svalue=0 LastLevel=40.\r\nBut when I turn on the switch by pressing the lamp icon the svalue is still 0 but the dim slider still shows 40.\r\n\r\nIs this a bug?\r\nAfter I turn on the lamp by pressing the lamp icon the idea is to run a command based on the svalue which in this case I believe should be 40 (fromlastlevel).\r\n\r\n\r\nDimlevel Set:\r\n![dim_level_set](https://cloud.githubusercontent.com/assets/18097443/17698687/c733292e-63bc-11e6-8fe9-b60794348e91.PNG)\r\nDimmer turned off:\r\n![dim_off](https://cloud.githubusercontent.com/assets/18097443/17698686/c732a3fa-63bc-11e6-8556-98dea8de1a1c.PNG)\r\nDimmer turned on:\r\n![dim_on](https://cloud.githubusercontent.com/assets/18097443/17698688/c736019e-63bc-11e6-9f17-c021c976aa1b.PNG)\r\n\r\n\r\n\r\n\r\nSee attached images."},"comment":{"url":"https://api.github.com/repos/domoticz/domoticz/issues/comments/240158828","html_url":"https://github.com/domoticz/domoticz/issues/795#issuecomment-240158828","issue_url":"https://api.github.com/repos/domoticz/domoticz/issues/795","id":240158828,"user":{"login":"daniarv","id":18097443,"avatar_url":"https://avatars.githubusercontent.com/u/18097443?v=3","gravatar_id":"","url":"https://api.github.com/users/daniarv","html_url":"https://github.com/daniarv","followers_url":"https://api.github.com/users/daniarv/followers","following_url":"https://api.github.com/users/daniarv/following{/other_user}","gists_url":"https://api.github.com/users/daniarv/gists{/gist_id}","starred_url":"https://api.github.com/users/daniarv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniarv/subscriptions","organizations_url":"https://api.github.com/users/daniarv/orgs","repos_url":"https://api.github.com/users/daniarv/repos","events_url":"https://api.github.com/users/daniarv/events{/privacy}","received_events_url":"https://api.github.com/users/daniarv/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T16:32:15Z","updated_at":"2016-08-16T16:32:15Z","body":"With this dimmer I execute some batch scripts that controls my 433mhz device/devices."}}
{"actor":{"display_login":"daniarv"}}