mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Add basic UniFi Protect AiPort support (#133523)
* UnifiProtect add basic support for AiPort devices * Sort ignore-words --------- Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
parent
a97434976e
commit
2f77cda822
@ -12,7 +12,7 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: codespell
|
- id: codespell
|
||||||
args:
|
args:
|
||||||
- --ignore-words-list=astroid,checkin,currenty,hass,iif,incomfort,lookin,nam,NotIn
|
- --ignore-words-list=aiport,astroid,checkin,currenty,hass,iif,incomfort,lookin,nam,NotIn
|
||||||
- --skip="./.*,*.csv,*.json,*.ambr"
|
- --skip="./.*,*.csv,*.json,*.ambr"
|
||||||
- --quiet-level=2
|
- --quiet-level=2
|
||||||
exclude_types: [csv, json, html]
|
exclude_types: [csv, json, html]
|
||||||
|
@ -41,6 +41,7 @@ DEFAULT_VERIFY_SSL = False
|
|||||||
DEFAULT_MAX_MEDIA = 1000
|
DEFAULT_MAX_MEDIA = 1000
|
||||||
|
|
||||||
DEVICES_THAT_ADOPT = {
|
DEVICES_THAT_ADOPT = {
|
||||||
|
ModelType.AIPORT,
|
||||||
ModelType.CAMERA,
|
ModelType.CAMERA,
|
||||||
ModelType.LIGHT,
|
ModelType.LIGHT,
|
||||||
ModelType.VIEWPORT,
|
ModelType.VIEWPORT,
|
||||||
|
@ -119,6 +119,7 @@ def _async_device_entities(
|
|||||||
|
|
||||||
|
|
||||||
_ALL_MODEL_TYPES = (
|
_ALL_MODEL_TYPES = (
|
||||||
|
ModelType.AIPORT,
|
||||||
ModelType.CAMERA,
|
ModelType.CAMERA,
|
||||||
ModelType.LIGHT,
|
ModelType.LIGHT,
|
||||||
ModelType.SENSOR,
|
ModelType.SENSOR,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user