Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix smart task transition #276

Merged

Conversation

MartinHjelmare
Copy link
Contributor

@MartinHjelmare MartinHjelmare commented Sep 3, 2020

  • In my testing, the transition item is not always present in the raw dict for the SmartTaskItem instance.
  • Guard the transition access by defaulting to 0 if transition is missing.

@ggravlingen ggravlingen merged commit 30d72b9 into home-assistant-libs:master Sep 3, 2020
@MartinHjelmare MartinHjelmare deleted the fix-smart-task branch September 3, 2020 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants