ollo69
93153b3790
Add UniqueID to AsusWRT config entry ( #70478 )
2022-05-03 13:56:57 -07: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
Paulus Schoutsen
2b4bb49eb7
Make device tracker entities work better ( #63328 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-04 23:16:43 -08: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
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
daff62f42d
Add AsusWRT model and firmware information for device ( #51102 )
2021-05-26 09:46:06 -07:00
ollo69
d5a9419fb7
Fix AsusWRT sensor test ( #50956 )
...
* Fix AsusWRT sensor test
* Revert use of utcnow
* Add MockDevice class
* Proper initialize static member
* Added mock_device fixture
2021-05-26 09:19:30 +02:00
Erik Montnemery
78b21b1ad1
Update tests a-b to use async_get() instead of async_get_registry() ( #47651 )
2021-03-09 14:24:34 +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
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +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
J. Nick Koston
89a9634d35
Use eventloop for scheduling ( #37184 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-06-29 09:39:24 -07:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 ( #34901 )
2020-04-30 13:29:50 -07:00
Aidan Timson
e47b548192
Add AsusWRT Devices Connected Sensor ( #34204 )
...
* Add Devices Connected
* Remove attributes
* Add sensors to test
* Improve sensor test
* Cleanup
* Apply suggestions from code review
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* Import device from aioasuswrt
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-15 17:42:01 +02:00
Patrick Kishino
f32411e394
Add asuswrt interface and dnsmasq location configuration ( #29834 )
...
* Added interface and dnsmasq location configuration
* Updated aioasuswrt requirement to latest 1.2.1 release
* Updated to working aioasus library and fixed correct conf formatting
2020-02-21 17:01:57 +01:00