{"action":"closed","issue":{"url":"https://api.github.com/repos/home-assistant/appdaemon/issues/453","repository_url":"https://api.github.com/repos/home-assistant/appdaemon","labels_url":"https://api.github.com/repos/home-assistant/appdaemon/issues/453/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/appdaemon/issues/453/comments","events_url":"https://api.github.com/repos/home-assistant/appdaemon/issues/453/events","html_url":"https://github.com/home-assistant/appdaemon/issues/453","id":392225079,"node_id":"MDU6SXNzdWUzOTIyMjUwNzk=","number":453,"title":"Entity Callback for Set_state not called when executed immediately after another","user":{"login":"Odianosen25","id":20871413,"node_id":"MDQ6VXNlcjIwODcxNDEz","avatar_url":"https://avatars2.githubusercontent.com/u/20871413?v=4","gravatar_id":"","url":"https://api.github.com/users/Odianosen25","html_url":"https://github.com/Odianosen25","followers_url":"https://api.github.com/users/Odianosen25/followers","following_url":"https://api.github.com/users/Odianosen25/following{/other_user}","gists_url":"https://api.github.com/users/Odianosen25/gists{/gist_id}","starred_url":"https://api.github.com/users/Odianosen25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Odianosen25/subscriptions","organizations_url":"https://api.github.com/users/Odianosen25/orgs","repos_url":"https://api.github.com/users/Odianosen25/repos","events_url":"https://api.github.com/users/Odianosen25/events{/privacy}","received_events_url":"https://api.github.com/users/Odianosen25/received_events","type":"User","site_admin":false},"labels":[{"id":407675284,"node_id":"MDU6TGFiZWw0MDc2NzUyODQ=","url":"https://api.github.com/repos/home-assistant/appdaemon/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-18T16:05:58Z","updated_at":"2018-12-22T11:59:05Z","closed_at":"2018-12-22T11:59:05Z","author_association":"CONTRIBUTOR","body":"AD version 4.0b1\r\n\r\nI just noticed that when I have something like the below\r\n\r\n```\r\nself.set_state(entity, state = 'Response', attributes = attribute)\r\nself.set_state(entity, state = 'Task Completed')\r\n```\r\n\r\nBefore both used to be  executed one after the other, and their respective callbacks are called one after the other\r\n\r\nBut now, the first though executed and from the Admin interface I can see the data is stored within the entity, its callback in another app is not processed and is totally omitted, but the second one is executed. Its like the second one over writes the first and the callback for the first never gets called\r\nThis is a recent issue\r\nThis is happening in MQTT namespace, which has no set_plugin_state in the plugin to execute\r\n\r\nRegards "}}
{"actor":{"display_login":"acockburn"}}