generated from ludeeus/integration_blueprint
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
💥 Support for general motion sensor (#248)
* Update name to make functionality more clear * Add new motion sensor type * Use right list operator * Add tests for general motion sensor * Fix pytest * Fix incorrect id * Entity needs to be enabled to test state * Entity needs to be enabled to test state * Await to ensure that entity is enabled * Convert existing 'motion' sensor to presence sensor * Update tests and test vars * Fix other entity naming * Reorganize tests * Small cleanups * Remove bad test * presence -> occupancy * Update tests for occupancy * Fix testing * Fix testing * Update test to fire mqtt * Adjust payload for changes upstream * Adjust test to fit updated payload * Update to new topic from parent PR * Get the tests to pass. * Attempt to remove old motion entities * Add test for removing old motion sensor * Fix name of domain * Fix interaction between v1_v2 migration and the motion sensor rename. Co-authored-by: Dermot Duffy <dermot.duffy@gmail.com>
- Loading branch information
1 parent
1bdaa33
commit 8deb6a0
Showing
5 changed files
with
249 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.