Skip to content

Bugfix time and task coro#6968

Merged
balloob merged 4 commits into
home-assistant:devfrom
pvizeli:fix-async-timer
Apr 7, 2017
Merged

Bugfix time and task coro#6968
balloob merged 4 commits into
home-assistant:devfrom
pvizeli:fix-async-timer

Conversation

@pvizeli
Copy link
Copy Markdown
Member

@pvizeli pvizeli commented Apr 6, 2017

Description:

I think the right way to task a coro is with our fire_coroutine_threadsafe. It fix also the create timer.

@mention-bot
Copy link
Copy Markdown

@pvizeli, thanks for your PR! By analyzing the history of the files in this pull request, we identified @balloob, @fabaff and @jaharkes to be potential reviewers.

@emlove
Copy link
Copy Markdown
Contributor

emlove commented Apr 6, 2017

I was working on the same thing. You can feel free to take the test_core.py updates from here: https://github.com/armills/home-assistant/commit/f1cb7c7624c89717eb4397db3f246000eeddf44a

@pvizeli pvizeli added this to the 0.42 milestone Apr 6, 2017
@balloob
Copy link
Copy Markdown
Member

balloob commented Apr 7, 2017

Both look good and pretty much the same. Merging this, thanks to both of you! I will add a test shortly

@balloob balloob merged commit 74ac160 into home-assistant:dev Apr 7, 2017
balloob pushed a commit that referenced this pull request Apr 8, 2017
* Bugfix time and task coro

* fix also other create_task

* fix tests

* fix lint in test
@balloob
Copy link
Copy Markdown
Member

balloob commented Apr 8, 2017

Cherry-picked into the 0.42 branch

@fabaff fabaff mentioned this pull request Apr 8, 2017
@balloob balloob mentioned this pull request Apr 21, 2017
@home-assistant home-assistant locked and limited conversation to collaborators Jul 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants