Skip to content

Added host variable to Splunk.py and updated tox tests#8052

Merged
balloob merged 3 commits into
home-assistant:devfrom
boojew:update_splunk.py
Jun 16, 2017
Merged

Added host variable to Splunk.py and updated tox tests#8052
balloob merged 3 commits into
home-assistant:devfrom
boojew:update_splunk.py

Conversation

@boojew
Copy link
Copy Markdown
Contributor

@boojew boojew commented Jun 16, 2017

This change is to allow the user to send a variable "name" in configuration.yaml that will send Splunk a friendly name for your HASS instance. PR also contains updated tests

Description:

Related issue (if applicable): fixes #

Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.io#2817

Related issue (if applicable): fixes #

Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>

Example entry for configuration.yaml (if applicable):

Checklist:

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • New dependencies have been added to the REQUIREMENTS variable (example).
  • New dependencies are only imported inside functions that use them (example).
  • New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
  • New files were added to .coveragerc.

If the code does not interact with devices:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • Tests have been added to verify that the new code works.

@mention-bot
Copy link
Copy Markdown

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

Comment thread homeassistant/components/splunk.py Outdated
hass.bus.listen(EVENT_STATE_CHANGED, splunk_event_listener)

return True

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blank line at end of file

@balloob balloob merged commit c478f2c into home-assistant:dev Jun 16, 2017
@balloob balloob mentioned this pull request Jun 16, 2017
@home-assistant home-assistant locked and limited conversation to collaborators Oct 20, 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