Refactor ImageProcessingFaceEntity (#14296)
* Refactor ImageProcessingFaceEntity * Replace STATE_UNKNOWN with None
This commit is contained in:
1 parent
4d085882d5
commit
b9e893184a
6 files changed
+110
-114
No files matched your search
@@ -4,11 +4,12 @@ Support for the demo image processing.
|
||||
For more details about this platform, please refer to the documentation at
|
||||
https://home-assistant.io/components/demo/
|
||||
"""
|
||||
from homeassistant.components.image_processing import ATTR_CONFIDENCE
|
||||
from homeassistant.components.image_processing import (
|
||||
ImageProcessingFaceEntity, ATTR_CONFIDENCE, ATTR_NAME, ATTR_AGE,
|
||||
ATTR_GENDER
|
||||
)
|
||||
from homeassistant.components.image_processing.openalpr_local import (
|
||||
ImageProcessingAlprEntity)
|
||||
from homeassistant.components.image_processing.microsoft_face_identify import (
|
||||
ImageProcessingFaceEntity, ATTR_NAME, ATTR_AGE, ATTR_GENDER)
|
||||
|
||||
|
||||
def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
|
||||
Reference in new issue
Block a user