{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/2472","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/2472/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/2472/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/2472/events","html_url":"https://github.com/home-assistant/home-assistant/issues/2472","id":164452787,"number":2472,"title":"Turn on light to new color and brightness level and transition.","user":{"login":"keatontaylor","id":657559,"avatar_url":"https://avatars.githubusercontent.com/u/657559?v=3","gravatar_id":"","url":"https://api.github.com/users/keatontaylor","html_url":"https://github.com/keatontaylor","followers_url":"https://api.github.com/users/keatontaylor/followers","following_url":"https://api.github.com/users/keatontaylor/following{/other_user}","gists_url":"https://api.github.com/users/keatontaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/keatontaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keatontaylor/subscriptions","organizations_url":"https://api.github.com/users/keatontaylor/orgs","repos_url":"https://api.github.com/users/keatontaylor/repos","events_url":"https://api.github.com/users/keatontaylor/events{/privacy}","received_events_url":"https://api.github.com/users/keatontaylor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-08T03:31:20Z","updated_at":"2016-07-08T13:43:46Z","closed_at":null,"body":"Make sure you are running the latest version of Home Assistant before reporting an issue.\r\n\r\nYou should only file an issue if you found a bug. Feature and enhancement requests should go in [the Feature Requests section](https://community.home-assistant.io/c/feature-requests) of our community forum:\r\n\r\n**Home Assistant release (`hass --version`):**\r\n0.23.1\r\n\r\n**Python release (`python3 --version`):**\r\n3.4.2\r\n\r\n\r\n**Component/platform:**\r\nlight\r\n\r\n**Description of problem:**\r\nWhen turning on a light with new brightness and color values, the light will briefly flash to its last state before moving to the state configured in the automation. It seems to be far more noticeable when running HA on a slower device such as the Pi3. \r\n\r\nTransitions are highly effected as well as the transition beings from the last known state of the light, making the transition unpredictable. \r\n\r\n**Expected:**\r\nWhen turning on a light it should go directly to the state configured in the automation without first turning on to the last known state. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/231362700","html_url":"https://github.com/home-assistant/home-assistant/issues/2472#issuecomment-231362700","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/2472","id":231362700,"user":{"login":"keatontaylor","id":657559,"avatar_url":"https://avatars.githubusercontent.com/u/657559?v=3","gravatar_id":"","url":"https://api.github.com/users/keatontaylor","html_url":"https://github.com/keatontaylor","followers_url":"https://api.github.com/users/keatontaylor/followers","following_url":"https://api.github.com/users/keatontaylor/following{/other_user}","gists_url":"https://api.github.com/users/keatontaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/keatontaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keatontaylor/subscriptions","organizations_url":"https://api.github.com/users/keatontaylor/orgs","repos_url":"https://api.github.com/users/keatontaylor/repos","events_url":"https://api.github.com/users/keatontaylor/events{/privacy}","received_events_url":"https://api.github.com/users/keatontaylor/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T13:43:46Z","updated_at":"2016-07-08T13:43:46Z","body":"`        if self._power == 0:\r\n            self._liffylights.set_power(self._ip, 65535, fade)\r\n\r\n        self._liffylights.set_color(self._ip, hue, saturation,\r\n                                    brightness, kelvin, fade)`\r\n\r\n\r\nThe core LiFX code currently turns the light on, then sends color and brightness information to the bulb, if none are provided it sends color information from the last state. The LiFX LAN Protocol expects all state information to be sent as a single command for the lights to work as expected. Like I mentioned this would require a change of the underlying liffylights library used by HA and modifications to the LiFX component. \r\n\r\nI cannot speak for all the other light components, but some have mentioned similar issues with Hue lights. "}}
{"actor":{"display_login":"keatontaylor"}}