starkillerOG
d81139377c
Add Netgear allow/block switch ( #65705 )
...
* add allow/block switch
* keep api private
* typing
* change default to None
* retain None state
* change default to None
2022-02-07 12:00:02 +01:00
starkillerOG
5519888dc1
Netgear add traffic sensors ( #65645 )
...
* add sensors
* use entity discription
* use lambda functions
* use seperate coordinators
* styling
* revieuw comments
* set proper default
* move api lock
* fix styling
* Update homeassistant/components/netgear/sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/netgear/sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* use coordinator data
* fix styling
* fix typing
* move typing
* fix lock
* Update homeassistant/components/netgear/sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/netgear/sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-04 18:36:56 +01:00
starkillerOG
69a004a2f6
Netgear coordinator ( #65255 )
...
* implement coordinator
* fix styling
* fix async_uload_entry
* use async_config_entry_first_refresh
* use const
* fix black
* use KEY_ROUTER
* review comments
* fix black
* ensure the coordinator keeps updating
* fix flake8
* rework setup of entities using coordinator
* styling
* check for failed get_info call
* fix
* fix setup of entities
* simplify
* do not set unique_id and device_info on scanner entity
* Update homeassistant/components/netgear/sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/netgear/device_tracker.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/netgear/router.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* use entry_id instead of unique_id
* unused import
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-03 12:28:04 +01:00
starkillerOG
759b6fd9b2
Fix changed port on Netgear R7000 ( #64012 )
...
* fix changed port on Netgear R7000
* fix styling
* update tests
2022-01-15 18:01:23 +01:00
starkillerOG
1d24fb7ad9
Fix Netgear used method version ( #63686 )
...
* Netgear fix used method version
* add error message
* fix imports
* fix black
* fix error mess
* rename const
2022-01-09 11:27:42 +01:00
Marc Mueller
e0cb33a0a1
Use platform enum (4) [M-O] ( #60940 )
2021-12-05 17:06:35 -10:00
starkillerOG
d84722c3c2
Fix Netgear orbi port in ssdp discovery ( #57432 )
2021-10-11 11:35:29 +02:00
Shay Levy
4129119b69
Fix netgear renamed mdi icons ( #57431 )
2021-10-10 20:30:16 -07:00
starkillerOG
3e89ebb1cb
Remove Netgear tracker link_rate check on Orbi ( #57032 )
...
* Netgear tracker: remove link_rate check on Orbi
* fix debug message
* Add orbi models
* check start of model in V2 check
* fix black
2021-10-06 13:30:13 +02:00
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