{"action":"created","issue":{"url":"https://api.github.com/repos/sidoh/esp8266_milight_hub/issues/169","repository_url":"https://api.github.com/repos/sidoh/esp8266_milight_hub","labels_url":"https://api.github.com/repos/sidoh/esp8266_milight_hub/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/sidoh/esp8266_milight_hub/issues/169/comments","events_url":"https://api.github.com/repos/sidoh/esp8266_milight_hub/issues/169/events","html_url":"https://github.com/sidoh/esp8266_milight_hub/issues/169","id":276723258,"number":169,"title":"next_mode and previous_mode should update based on known state","user":{"login":"servim","id":22333446,"avatar_url":"https://avatars2.githubusercontent.com/u/22333446?v=4","gravatar_id":"","url":"https://api.github.com/users/servim","html_url":"https://github.com/servim","followers_url":"https://api.github.com/users/servim/followers","following_url":"https://api.github.com/users/servim/following{/other_user}","gists_url":"https://api.github.com/users/servim/gists{/gist_id}","starred_url":"https://api.github.com/users/servim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/servim/subscriptions","organizations_url":"https://api.github.com/users/servim/orgs","repos_url":"https://api.github.com/users/servim/repos","events_url":"https://api.github.com/users/servim/events{/privacy}","received_events_url":"https://api.github.com/users/servim/received_events","type":"User","site_admin":false},"labels":[{"id":526972692,"url":"https://api.github.com/repos/sidoh/esp8266_milight_hub/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-11-25T03:53:07Z","updated_at":"2017-11-25T09:25:42Z","closed_at":null,"author_association":"NONE","body":"Hello! I'm not sure I can explain, my English is quite bad.\r\nI have a light bulb RGBW, firmware 1.6.0\r\nCommand: next_mode it works, the mode changes from 0 to 8. But if the mode is changed through the mode: {\"state\":\"ON\",\"mode\":\"0\"}, then this command will continue from the place where it finished, and not from the last mode. Eg:\r\n![1](https://user-images.githubusercontent.com/22333446/33227099-e2a18ea6-d1d6-11e7-8f87-8a3febeb5219.png)\r\n\r\nCommand: previous_mode, changes mode 15,2,1,0,15,2,1,0 etc\r\n![2](https://user-images.githubusercontent.com/22333446/33227105-f5c41efe-d1d6-11e7-9c28-2a5b46379ff3.png)\r\n\r\nIs this expected behavior?"},"comment":{"url":"https://api.github.com/repos/sidoh/esp8266_milight_hub/issues/comments/346929342","html_url":"https://github.com/sidoh/esp8266_milight_hub/issues/169#issuecomment-346929342","issue_url":"https://api.github.com/repos/sidoh/esp8266_milight_hub/issues/169","id":346929342,"user":{"login":"servim","id":22333446,"avatar_url":"https://avatars2.githubusercontent.com/u/22333446?v=4","gravatar_id":"","url":"https://api.github.com/users/servim","html_url":"https://github.com/servim","followers_url":"https://api.github.com/users/servim/followers","following_url":"https://api.github.com/users/servim/following{/other_user}","gists_url":"https://api.github.com/users/servim/gists{/gist_id}","starred_url":"https://api.github.com/users/servim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/servim/subscriptions","organizations_url":"https://api.github.com/users/servim/orgs","repos_url":"https://api.github.com/users/servim/repos","events_url":"https://api.github.com/users/servim/events{/privacy}","received_events_url":"https://api.github.com/users/servim/received_events","type":"User","site_admin":false},"created_at":"2017-11-25T09:25:42Z","updated_at":"2017-11-25T09:25:42Z","author_association":"NONE","body":"Thank you! I thought so :(\r\n"}}
{"actor":{"display_login":"servim"}}