Commit Graph

71 Commits (b0bb2d24534ae5e3e3898a024480d2994e181ae2)

Author SHA1 Message Date
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
GitHub Action b2f0882e67 [ci skip] Translation update 2022-02-04 00:13:58 +00: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 cc14acb178
Bump pynetgear to 0.9.1 (#65290) 2022-01-31 13:00:10 +01:00
GitHub Action ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
GitHub Action 77ef86faee [ci skip] Translation update 2022-01-30 00:14:21 +00:00
J. Nick Koston 5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
GitHub Action dd4e5bb9c5 [ci skip] Translation update 2022-01-27 00:14:02 +00:00
starkillerOG 5d7cda850b
Address late Netgear review comments (#64428) 2022-01-19 12:11:23 +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 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
epenet 0793445c40
Cleanup netgear platform schema (#63873)
* Cleanup netgear platform schema

* Cleanup config_flow

* Cleanup tests

* Cleanup CONF_APS constant

* Cleanup tests (take 2)

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 08:07:56 +01:00
epenet f24b3509a7
Remove deprecated async_get_scanner from netgear (#63862) 2022-01-10 22:54:35 +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
GitHub Action a8fee4c2f6 [ci skip] Translation update 2022-01-09 00:15:18 +00:00
GitHub Action cceedf766a [ci skip] Translation update 2021-12-22 00:14:51 +00:00
starkillerOG ca9b26e829
bump pynetgear to 0.8.0 (#62261) 2021-12-18 13:29:52 +01:00
starkillerOG c4879d71a1
Add Netgear entity category and configuration url (#62260)
* add entity category

* add configuration_url

* add import
2021-12-18 12:34:16 +01:00
epenet 389d9c2c35
Use new enums in netgear (#61943) 2021-12-16 12:16:56 +01:00
GitHub Action f75b325ab2 [ci skip] Translation update 2021-12-12 00:14:30 +00:00
Marc Mueller e0cb33a0a1
Use platform enum (4) [M-O] (#60940) 2021-12-05 17:06:35 -10:00
GitHub Action 68ca0a05c8 [ci skip] Translation update 2021-12-04 00:13:16 +00:00
epenet 59f87b9488
Use dataclass properties in netgear discovery (#60730)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 14:38:17 +01:00
GitHub Action d3c020325b [ci skip] Translation update 2021-11-25 00:13:33 +00:00
GitHub Action 9e606abb0c [ci skip] Translation update 2021-11-23 00:13:54 +00: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
GitHub Action fc539da42b [ci skip] Translation update 2021-11-14 00:12:48 +00:00
GitHub Action e35b83081e [ci skip] Translation update 2021-11-08 00:12:31 +00:00
GitHub Action 332a571bb4 [ci skip] Translation update 2021-11-07 00:12:38 +00:00
Marvin Wichmann c5b5c8c3ce
Remove deprecated usages of HomeAssistantType (#59241) 2021-11-06 19:48:02 +01:00
GitHub Action 7b59dea67e [ci skip] Translation update 2021-11-06 00:11:41 +00:00
GitHub Action c8d8513a1a [ci skip] Translation update 2021-11-05 00:13:45 +00:00
Paulus Schoutsen e1e864d2b6
Get the registry using the callback method (#58542) 2021-10-27 15:58:14 -07:00
GitHub Action a9a74e0415 [ci skip] Translation update 2021-10-26 00:12:23 +00:00
GitHub Action 30fb619095 [ci skip] Translation update 2021-10-24 00:12:57 +00: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
Marc Mueller 70469e0979
Use assignment expressions 23 (#58180) 2021-10-22 11:13:05 +02:00
GitHub Action f9d985553c [ci skip] Translation update 2021-10-22 00:14:10 +00:00
starkillerOG 04f51e599a
Fix netgear NoneType and discovery (#57904) 2021-10-18 12:01:58 +02:00
GitHub Action c76e15149c [ci skip] Translation update 2021-10-17 00:12:27 +00:00
Robert Hillis 488a636aec
Clean up unused loggers (#57662) 2021-10-14 10:03:38 -07: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 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 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
Martin Hjelmare 82828b5a1b
Fix netgear config flow import (#57253) 2021-10-07 15:08:53 +02:00
GitHub Action 8fea54fff7 [ci skip] Translation update 2021-10-07 00:10:57 +00: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
GitHub Action f42c2f5170 [ci skip] Translation update 2021-10-02 12:59:05 +00:00
Marc Mueller 565a9fea6b
Import Callable from collections.abc (2) (#56776) 2021-09-29 14:06:51 +02:00