Martin Hjelmare
d299915c1a
Fix netgear typing ( #67287 )
2022-02-26 14:00:33 -08:00
starkillerOG
714daebfb9
Netgear add reboot button ( #65706 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-02-17 09:41:21 +01:00
starkillerOG
f9c81dd00b
Lock Netgear api during setup ( #66033 )
2022-02-08 02:50:38 +01:00
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
37caa22a36
Netgear try all ports ( #64170 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-18 11:02:43 -08: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
starkillerOG
3a7a4e8ffc
Fix Netgear init error on orbi models ( #59799 )
...
* fix Netgear init error on orbi models
* Update sensor.py
2021-11-17 11:49:12 +01:00
Marvin Wichmann
c5b5c8c3ce
Remove deprecated usages of HomeAssistantType ( #59241 )
2021-11-06 19:48:02 +01:00
epenet
176ed4f7ba
Use DeviceInfo on components with via_device (I-T) ( #58212 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-22 12:31:12 +02:00
starkillerOG
04f51e599a
Fix netgear NoneType and discovery ( #57904 )
2021-10-18 12:01:58 +02:00
starkillerOG
1fbc94f56d
Add Netgear ssid and conn_ap_mac sensors ( #57226 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-10-11 13:08:56 +02:00
starkillerOG
830e2bc47a
Netgear fix port and device model beeing overwritten ( #57277 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-10-08 09:03:21 -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
Marc Mueller
565a9fea6b
Import Callable from collections.abc (2) ( #56776 )
2021-09-29 14:06:51 +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