Commit Graph

29 Commits (e00808bea86fe9e4267e01ff56f0d395aaad21d4)

Author SHA1 Message Date
epenet b5402f9b57
Import device tracker constants from root (#78242) 2022-09-12 20:50:44 -04:00
ollo69 93153b3790
Add UniqueID to AsusWRT config entry (#70478) 2022-05-03 13:56:57 -07:00
ollo69 74b50a8009
Enable AsusWRT strict typing (#70396)
* Enable AsusWRT strict typing

* Fix myPi errors
2022-04-22 10:14:13 +03:00
ollo69 f6e5e1b167
Simplify AsusWRT config flow (#69800) 2022-04-21 08:23:40 -07:00
ollo69 b7c1fbc842
Add missing typing in AsusWRT router class (#70189)
* Add missing typing in AsusWRT router class

* Fix typing in device tracker

* Fix mypy incompatible type
2022-04-19 22:55:46 +03:00
ollo69 f4d4b52204
Improve AsusWrt test coverage (#70215)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-18 09:20:40 -10:00
Chen-IL 8bb1a3fac4
Improve asuswrt code readability (#60975) 2021-12-04 10:29:26 +01:00
Chen-IL ac26c2378b
Add temperature sensors for Asuswrt (#58303)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-12-03 11:27:17 -08:00
ollo69 176245e5be
Use format_mac for AsusWRT ScannerEntity Mac Address (#54959)
* Use format_mac for AsusWRT ScannerEntity mac

* Fix after rebase

* Change check for duplicated entities
2021-11-21 14:45:40 -08:00
ollo69 cde6e007bf
Remove 'UnicodeDecodeError' exception in AsusWrt (#59447) 2021-11-10 07:53:05 +01:00
ollo69 20a443ad6c
Use entity_registry async_get for AsusWrt (#58885) 2021-11-01 15:18:01 +01:00
Maciej Bieniek 038158508c
Add `configuration_url` to AsusWrt integration (#58172) 2021-10-22 11:08:46 +02:00
Marc Mueller d51487f82a
Import Callable from collections.abc (3) (#56777) 2021-09-29 16:19:06 +02:00
Marc Mueller 811feb69ba
Fix dangerous brackets (#56384) 2021-09-18 16:08:22 +02:00
Erik Montnemery 09ee7fc021
Enable basic type checking for asuswrt (#54929) 2021-08-20 19:08:22 +02:00
Daniel Hjelseth Høyer fbad453c89
Pylint 2.9.3 (#52972)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-07-14 21:44:57 -07:00
ollo69 c6efdedd3c
Add AsusWRT load average sensors (#52230) 2021-06-28 22:33:15 +02:00
ollo69 e6e39a67f4
AsusWRT code improvements for sensors and related tests (#51822)
* Sensors implementation and tests improvements

* Remove check for unexpected condition
2021-06-27 15:09:03 -04:00
ollo69 4300484ca0
Catch AsusWRT UnicodeDecodeError in get_nvram call (#51811) 2021-06-13 17:20:02 -05:00
Aidan Timson ab2951f124
AsusWRT fix keyerror when firmver is missing from info (#51499)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-06-07 11:21:24 -07:00
ollo69 69e454fd49
Add missing function signature (#51153) 2021-05-27 14:52:05 +03:00
ollo69 daff62f42d
Add AsusWRT model and firmware information for device (#51102) 2021-05-26 09:46:06 -07:00
Milan Meulemans 29d72714f3
Replace dict with DeviceInfo (#49950)
* Replace dict with DeviceInfo

* Clean up

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-02 00:37:19 +02:00
Franck Nijhof 006bcde435
Remove HomeAssistantType alias - Part 3 (#49339) 2021-04-17 12:48:03 +02:00
Franck Nijhof db355f9b23
Merge of nested IF-IF cases - A-C (#48365) 2021-03-27 10:58:38 +01:00
Marc Mueller 76199c0eb2
Update typing 04 (#48037) 2021-03-17 23:34:25 +01:00
ollo69 32476a3fed
Fix AsusWRT wrong api call (#47522) 2021-03-08 10:34:12 -08:00
ollo69 292f4262aa
Move AsusWrt sensors update logic in router module (#46606) 2021-03-05 23:40:04 +01:00
ollo69 f38b06ed6d
Add Asuswrt Config Flow and Scanner Entities (#46468)
* Add Asuswrt config flow (#43948)

* Add AsusWrt Scanner Entity (#44759)

* Add Scanner Entity

- device tracker entity changed from "DeviceScanner" to "ScannerEntity"
- sensors recoded to use "router" class
- config entry review to allow multiple entity (for future use)

* Force checks

* Removed new option and change sensors

* Update test_sensor.py

* Requested changes

* Removed router unique-id

* Update last_activity attr only when available

* Add Options for AsusWRT Scanner Entity (#44808)

* Add Asuswrt config flow (#43948)

* Add AsusWrt Scanner Entity (#44759)

* Add Scanner Entity

- device tracker entity changed from "DeviceScanner" to "ScannerEntity"
- sensors recoded to use "router" class
- config entry review to allow multiple entity (for future use)

* Force checks

* Removed new option and change sensors

* Update test_sensor.py

* Requested changes

* Removed router unique-id

* Update last_activity attr only when available

* Add Options for Scanner Entity

* Fix isort

* Removed "Track New" option

* Add Options for Scanner Entity

* Fix isort

* Removed "Track New" option

* Add test for all the options in the config flow
2021-02-13 19:17:06 +01:00