Skip to content

Add context to scripts run by templates#17329

Merged
balloob merged 1 commit intodevfrom
template-context
Oct 15, 2018
Merged

Add context to scripts run by templates#17329
balloob merged 1 commit intodevfrom
template-context

Conversation

@balloob
Copy link
Copy Markdown
Member

@balloob balloob commented Oct 11, 2018

Description:

Scripts run by a template entity now use the context that called the service on the template entity.

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass

If the code does not interact with devices:

  • Tests have been added to verify that the new code works.

@ghost ghost assigned balloob Oct 11, 2018
@ghost ghost added the in progress label Oct 11, 2018
@balloob balloob merged commit ac79ff9 into dev Oct 15, 2018
@ghost ghost removed the in progress label Oct 15, 2018
@balloob balloob deleted the template-context branch October 15, 2018 09:38
@balloob balloob mentioned this pull request Oct 26, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Feb 5, 2019
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.

3 participants