WIP: Adds facebox_face_detect#14248
Closed
robmarkcole wants to merge 57 commits intohome-assistant:devfrom
robmarkcole:facebox
Closed
WIP: Adds facebox_face_detect#14248robmarkcole wants to merge 57 commits intohome-assistant:devfrom robmarkcole:facebox
robmarkcole wants to merge 57 commits intohome-assistant:devfrom
robmarkcole:facebox
Conversation
Use ImageProcessingFaceEntity
Confidence overcomplicates the component and is meaningless
Contributor
Author
|
Test giving error: @balloob advises that in the latest dev, calling the camera |
Member
|
My bad, I implemented that in #14231 which has not been merged yet. |
Python 3.6's http client passes an additional argument to _send_output, so add that to the function definition.
* Working but incomplete * Remove events on unload * Add unload test * Fix failing sensor test * Improve unload test * Move DeconzEvent to init * Fix visual under-indentation
* add initial precipitation support * move attr to component * remove blank line * add forecast attributes to platform and update demo * add tests * break long lines * calc lower temp correctly * move all new attributes to component * convert temp low only when existing
* Attempt Cast Fix * Cleanup
With Darksky allowing only 1000 API requests per day, 2 minutes retry seems to be bit closer to running over the limit and actually it did for 5 days in my account. Hence proposing a change to 5 minutes to keep the API happy and also it doesn't hurt to check the weather for every 5 mins than 2 mins someone lives in Jupiter :-P
* Fix TypeError on round(self.humidity) Some weather platforms postpone the first data fetch for a while on init. As a result round(self.humidity is called before it is assigned a value, producing an error. This is a fix for that. * Rewrite to avoid false negative evaluation As per the suggestion from @OttoWinter, rewrite to avoid matching e.g. 0.0 as false.
- Instead of registering listeners in the entity __init__, do it in async_added_to_hass to avoid errors updating an entity which isn't fully set up yet - Change from schedule_update_ha_state to async_schedule_update_ha_state
* Add basic PostNL sensor (WIP) * Update PostNL sensor * Bump version * Small updates to PostNL package based on feedback * Remove unused import * Pass api to sensor * Refactor based on feedback * Update based on feedback * Fix feedback * Clean up * Bugfiix * Bugfix * SCAN_INTERVAL fix * Remove unused import * Refactor for new wrapper implementation * Update postnl package requirement * Change throttle logic * Update package version * Add new line * Minor changes * Change refresh time to 30 minutes * Update requirements_all.txt
* update python-openzwave to 4.1.0 * add service which updates the configuration files from github * 0.4.3
* Add unique_id to zwave node entity * Wait 30s before adding zwave node if its unique_id is not ready * Use only node_id in unique_id. Update name, manufacturer, and product attributes on node update.
* Add restore_state to optimistic switch * no need to schedule update * test added * lint * new async syntax * lint
* add template fan * add-template: address PR comments * add-template: remove unused import * add-template: revert async_track_state_change change * add-template: use yield from * Revert "add-template: use yield from" This reverts commit 1e05371. * add-template: use yield * add-template: remove unused import * add-template: remove async_add_job usages * use components * add-template: use async/await * add-template: fix style * add-template: remove str() * address pr comments * fix style
Clarify that this component is for face detection by renaming component and class
Fix position of name
2 tasks
Contributor
Author
|
OK I'm in a world of pain trying to resolve all these conflicts. I'm afraid I am going to have to resort to my old trick of deleting my fork and creating a fresh one |
8 tasks
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
Adds component for face detection (number of faces) using facebox. Run facebox with:
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<5300>
Example entry for
configuration.yaml(if applicable):Checklist:
tox. Your PR cannot be merged unless tests passIf user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
REQUIREMENTSvariable ([example][ex-requir]).requirements_all.txtby runningscript/gen_requirements_all.py..coveragerc.If the code does not interact with devices: