Skip to content

Add device automation action#26455

Merged
balloob merged 2 commits into
home-assistant:devfrom
emontnemery:device_automation_action
Sep 5, 2019
Merged

Add device automation action#26455
balloob merged 2 commits into
home-assistant:devfrom
emontnemery:device_automation_action

Conversation

@emontnemery
Copy link
Copy Markdown
Contributor

Description:

Add websock command to query device for actions.

Conditions can be provided by the integration that provided the device or the entity integrations that the device has entities with.

As an example of the latter, this PR also adds turn_on and turn_off conditions to light entities.

This PR is intended as a step towards home-assistant/architecture#178

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

Example entry for configuration.yaml (if applicable):

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist

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

If the code does not interact with devices:

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

@emontnemery emontnemery requested a review from a team as a code owner September 5, 2019 14:56
@emontnemery emontnemery changed the title Add Device automation action Add device automation action Sep 5, 2019
@emontnemery emontnemery force-pushed the device_automation_action branch from 54b0d2e to f277ad3 Compare September 5, 2019 19:57
@balloob balloob merged commit b1c2a5f into home-assistant:dev Sep 5, 2019
@emontnemery emontnemery deleted the device_automation_action branch September 6, 2019 10:02
@lock lock Bot locked and limited conversation to collaborators Sep 7, 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