Commit Graph

80 Commits (5b257d2be80430819513874e8e247fb05a90c8f8)

Author SHA1 Message Date
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
GitHub Action 7615af35d8 [ci skip] Translation update 2021-06-07 00:18:16 +00:00
GitHub Action c81df50191 [ci skip] Translation update 2021-06-06 00:19:43 +00:00
tkdrob d1c4d0de49
Use bool annotations for setup entries (#51166) 2021-05-27 17:39:06 +02: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
Shay Levy cf228e3fe5
Add constructor return type in integrations A-D (#50903) 2021-05-20 18:51:39 +03:00
kennedyshead baacf1b787
Bumps aioasuswrt to 1.3.4 (#50414) 2021-05-10 20:35:32 +02: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 d4d0b93d3b
Clean up connection classes in integrations A-C (#49888) 2021-04-30 21:01:52 -10:00
J. Nick Koston 51be2f860a
Reduce boilerplate to setup config entry platforms A-C (#49681)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-26 07:46:55 -10:00
Ville Skyttä 631ab367e2
Fix typing.Any spelling (#49673) 2021-04-25 09:36:21 -10:00
HomeAssistant Azure 32dfaccf1f [ci skip] Translation update 2021-04-24 00:03:34 +00:00
J. Nick Koston 4361be613d
Expose the hostname of the device in asuswrt (#49393) 2021-04-19 13:25:30 +02:00
Franck Nijhof 006bcde435
Remove HomeAssistantType alias - Part 3 (#49339) 2021-04-17 12:48:03 +02:00
Franck Nijhof 055cdc64c0
Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
HomeAssistant Azure a36712509b [ci skip] Translation update 2021-04-10 00:03:44 +00:00
Maciej Bieniek 5be1eacde9
Set AsusWRT mac_address and ip_address properties (#48764) 2021-04-07 12:08:22 +02:00
Marc Mueller 2956eb0902
Update pylint to 2.7.3 (#48488)
* Update pylint to 2.7.3

* Add class-const-naming-style

* Remove unused-import message

* Additional cleanup
2021-03-29 18:02:56 -10:00
Franck Nijhof db355f9b23
Merge of nested IF-IF cases - A-C (#48365) 2021-03-27 10:58:38 +01:00
HomeAssistant Azure 99874cd993 [ci skip] Translation update 2021-03-27 00:03:21 +00:00
Paulus Schoutsen 19ab7306ec
Clean up AsusWRT (#48012) 2021-03-22 23:21:33 +01:00
Erik Montnemery 9e9ba53f0e
Move SensorEntity last in the inheritance tree (#48230) 2021-03-22 20:05:13 +01:00
Erik Montnemery e0cd7072d6
Migrate integrations a-c to extend SensorEntity (#48210) 2021-03-22 12:37:16 +01:00
Marc Mueller 76199c0eb2
Update typing 04 (#48037) 2021-03-17 23:34:25 +01:00
HomeAssistant Azure 4306c8fbb4 [ci skip] Translation update 2021-03-17 00:03:55 +00:00
HomeAssistant Azure c11b85af2f [ci skip] Translation update 2021-03-16 00:04:36 +00:00
Erik Montnemery 6c084ae6ce
Update integrations a-e to override extra_state_attributes() (#47756) 2021-03-11 16:51:03 +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
HomeAssistant Azure 44ed6cda40 [ci skip] Translation update 2021-03-01 00:09:01 +00:00
HomeAssistant Azure bb7f1b748f [ci skip] Translation update 2021-02-25 00:05:20 +00:00
HomeAssistant Azure 9159f54900 [ci skip] Translation update 2021-02-24 00:04:14 +00:00
HomeAssistant Azure 0cb1f61deb [ci skip] Translation update 2021-02-21 00:07:04 +00:00
HomeAssistant Azure fd60d4273b [ci skip] Translation update 2021-02-20 00:08:25 +00:00
HomeAssistant Azure d9ce7db554 [ci skip] Translation update 2021-02-19 00:03:06 +00:00
HomeAssistant Azure 318cbf2913 [ci skip] Translation update 2021-02-17 00:08:46 +00:00
HomeAssistant Azure 1bb535aa67 [ci skip] Translation update 2021-02-16 00:03:57 +00:00
HomeAssistant Azure 0af634a9f8 [ci skip] Translation update 2021-02-15 00:14:36 +00:00
tkdrob a5a45f29e2
Cleanup unused loggers (#46510) 2021-02-14 13:46:58 +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
tkdrob 5d3dcff7c9
Use core constants for asuswrt (#46015) 2021-02-04 23:34:39 +01:00
JJdeVries 84973ec8f7
Fix unit of measurement for asuswrt sensors (#44009) 2020-12-07 12:46:53 +01:00
JJdeVries 8f18af9e80
Decrease asuswrt connects per sensor (#43383)
* asuswrt: Decrease number of connects per sensor

* Changed implementation to DataUpdateCoordinator

* review changes

* update aioasuswrt dependency

* Apply suggestions from code review

Add explicit return None and fix type hint

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-11-24 04:50:57 +01:00
JJdeVries 537c0c41eb
Bump aioasuswrt version to handle telnet asus routers (#43031) 2020-11-10 09:50:03 +01:00
springstan 92379ad8d2
Use list literal without using dict.keys() (#42573) 2020-10-30 09:19:13 -05:00
kennedyshead 767be18265
Bumping aioasuswrt version so that it have license-tag and manifest (#39654)
Took 32 minutes

Co-authored-by: magnusknutas <magnus@thefarm.se>
2020-09-04 14:52:44 -04:00