core/script/hassfest
starkillerOG 5f86388f1c
Netgear config flow (#54479)
* Original work from Quentame

* Small adjustments

* Add properties and method_version

* fix unknown name

* add consider_home functionality

* fix typo

* fix key

* swao setup order

* use formatted mac

* add tracked_list option

* add options flow

* add config flow

* add config flow

* clean up registries

* only remove if no other integration has that device

* tracked_list formatting

* convert tracked list

* add import

* move imports

* use new tracked list on update

* use update_device instead of remove

* add strings

* initialize already known devices

* Update router.py

* Update router.py

* Update router.py

* small fixes

* styling

* fix typing

* fix spelling

* Update router.py

* get model of router

* add router device info

* fix api

* add listeners

* update router device info

* remove method version option

* Update __init__.py

* fix styling

* ignore typing

* remove typing

* fix mypy config

* Update mypy.ini

* add options flow tests

* Update .coveragerc

* fix styling

* Update homeassistant/components/netgear/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/netgear/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/netgear/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/netgear/config_flow.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/netgear/router.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* add ConfigEntryNotReady

* Update router.py

* use entry.async_on_unload

* Update homeassistant/components/netgear/device_tracker.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* use cv.ensure_list_csv

* add hostname property

* Update device_tracker.py

* fix typo

* fix isort

* add myself to codeowners

* clean config flow

* further clean config flow

* deprecate old netgear discovery

* split out _async_remove_untracked_registries

* Update homeassistant/components/netgear/config_flow.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/netgear/config_flow.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* cleanup

* fix rename

* fix typo

* remove URL option

* fixes

* add sensor platform

* fixes

* fix removing multiple entities

* remove extra attributes

* initialize sensors correctly

* extra sensors disabled by default

* fix styling and unused imports

* fix tests

* Update .coveragerc

* fix requirements

* remove tracked list

* remove tracked registry editing

* fix styling

* fix discovery test

* simplify unload

* Update homeassistant/components/netgear/router.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* add typing

Co-authored-by: J. Nick Koston <nick@koston.org>

* add typing

Co-authored-by: J. Nick Koston <nick@koston.org>

* add typing

Co-authored-by: J. Nick Koston <nick@koston.org>

* condense NetgearSensorEntities

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/netgear/router.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/netgear/router.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/netgear/router.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/netgear/router.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* add typing

* styling

* add typing

* use ForwardRefrence for typing

* Update homeassistant/components/netgear/device_tracker.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* add typing

* Apply suggestions from code review

Thanks!

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* process review comments

* fix styling

* fix devicename not available on all models

* ensure DeviceName is not needed

* Update homeassistant/components/netgear/config_flow.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/netgear/config_flow.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update __init__.py

* fix styling

Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-09-13 18:18:21 +02:00
..
__init__.py Validate component usage (#23037) 2019-04-13 13:17:01 -07:00
__main__.py Validate requirements format in hassfest (#55094) 2021-08-24 08:51:07 +02:00
codeowners.py Update typing 16 (#48087) 2021-03-18 22:58:19 +01:00
config_flow.py Add support for USB discovery (#54904) 2021-08-20 14:04:18 -05:00
coverage.py Fix hisense_aehw4a1 test exclusion (#53084) 2021-07-18 19:17:36 -05:00
dependencies.py Add network configuration integration (#50874) 2021-05-26 09:06:30 -07:00
dhcp.py Allow specifying discovery without a config flow (#54677) 2021-08-16 16:28:26 +02:00
json.py Update typing 16 (#48087) 2021-03-18 22:58:19 +01:00
manifest.py Limit USB discovery to specific manufacturer/description/serial_number matches (#55236) 2021-08-26 09:59:02 -04:00
manifest_helper.py Sort imports according to PEP8 for 'script' folder (#29790) 2019-12-09 16:24:03 +01:00
model.py Allow specifying discovery without a config flow (#54677) 2021-08-16 16:28:26 +02:00
mqtt.py Allow specifying discovery without a config flow (#54677) 2021-08-16 16:28:26 +02:00
mypy_config.py Netgear config flow (#54479) 2021-09-13 18:18:21 +02:00
requirements.py Whole-string match reqs in comment_requirement (#55192) 2021-08-30 08:20:02 -07:00
services.py Make hassfest service validation faster (#50003) 2021-05-02 21:49:51 -07:00
ssdp.py Allow specifying discovery without a config flow (#54677) 2021-08-16 16:28:26 +02:00
translations.py Block title in strings.json unless internal or allowed (#53304) 2021-07-22 08:37:33 +02:00
usb.py Add known devices to USB Vendor / Product IDs (#54986) 2021-08-21 21:56:49 +02:00
zeroconf.py Allow specifying discovery without a config flow (#54677) 2021-08-16 16:28:26 +02:00