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

Add device triggers to vacuum #28548

Merged
merged 3 commits into from Nov 7, 2019
Merged

Add device triggers to vacuum #28548

merged 3 commits into from Nov 7, 2019

Conversation

balloob
Copy link
Member

@balloob balloob commented Nov 5, 2019

Description:

Add device triggers to vacuum devices.

Related issue (if applicable): fixes #27022

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 the code does not interact with devices:

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

@probot-home-assistant
Copy link

Hey there @home-assistant/core, mind taking a look at this pull request as its been labeled with a integration (automation) you are listed as a codeowner for? Thanks!

from homeassistant.components.device_automation import TRIGGER_BASE_SCHEMA
from . import DOMAIN, STATE_CLEANING, STATE_DOCKED, STATES

TRIGGER_TYPES = {"cleaning", "docked"}
Copy link
Member Author

Choose a reason for hiding this comment

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

This is only for the new vacuum devices, the old one should be removed (and should have been removed when we introduced the new one)

@probot-home-assistant
Copy link

Hey there @home-assistant/core, mind taking a look at this pull request as its been labeled with a integration (device_automation) you are listed as a codeowner for? Thanks!

@pvizeli pvizeli merged commit 6999a71 into dev Nov 7, 2019
Dev automation moved this from Needs review to Done Nov 7, 2019
@delete-merged-branch delete-merged-branch bot deleted the device-trigger-vacuum branch November 7, 2019 12:39
@lock lock bot locked and limited conversation to collaborators Nov 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Dev
  
Done
Development

Successfully merging this pull request may close these issues.

Add device trigger support to the vacuum integration
3 participants