mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +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:
|
||||
- id: codespell
|
||||
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"
|
||||
- --quiet-level=2
|
||||
exclude_types: [csv, json, html]
|
||||
|
@ -41,6 +41,7 @@ DEFAULT_VERIFY_SSL = False
|
||||
DEFAULT_MAX_MEDIA = 1000
|
||||
|
||||
DEVICES_THAT_ADOPT = {
|
||||
ModelType.AIPORT,
|
||||
ModelType.CAMERA,
|
||||
ModelType.LIGHT,
|
||||
ModelType.VIEWPORT,
|
||||
|
@ -119,6 +119,7 @@ def _async_device_entities(
|
||||
|
||||
|
||||
_ALL_MODEL_TYPES = (
|
||||
ModelType.AIPORT,
|
||||
ModelType.CAMERA,
|
||||
ModelType.LIGHT,
|
||||
ModelType.SENSOR,
|
||||
|
Loading…
x
Reference in New Issue
Block a user