Anton Lundin
548417761e
ubus: Refresh session on Access denied ( #8111 )
...
When a openwrt router reboots, all the session ids gets invalidated.
In that case we need to log in again and get a new session id.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
2017-06-22 13:34:57 +02:00
tobygray
ca3f07cdef
device_tracker.ubus: Handle empty results ( #7673 )
...
If OpenWRT isn't running the DHCP server then some OpenWRT hardware,
such as TP-Link TL-WDR3600 v1, can't determine the host
corresponding to an associated wifi client. This change handles that
by returning None when the request has no data in the result.
2017-05-21 17:26:05 -07:00
Fabian Affolter
3ee4d1060f
Update docstrings ( #7361 )
...
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update tomato.py
* Update isy994.py
* Lint + fix tests
* Lint
2017-04-29 22:04:49 -07:00
Pascal Vizeli
b2371c6614
Update device_traker for async platforms ( #5102 )
...
Async DeviceScanner object, migrate to async, cleanups
2017-01-02 21:50:42 +02:00
Fabian Affolter
be272ac64a
Disable too-many-* ( #4107 )
...
* Disable too-many-* and too-few-public-methods
* Remove globally disabled pylint warnings
2016-10-30 22:18:53 +01:00
Johann Kellerman
22362727e4
Use voluptuous for Unifi, Ubus ( #3125 )
2016-09-04 10:06:16 +02:00
Fabian Affolter
cc7a4d545e
Fix PEP257 issues
2016-03-07 21:18:53 +01:00
Fabian Affolter
7ff9aecd4e
Update docstrings to match PEP257
2016-03-07 18:50:30 +01:00
Paulus Schoutsen
e80309c03c
Fix imports (using isort)
2016-02-18 21:27:50 -08:00
Fabian Affolter
97f9f8aa49
Update link to docs (Jekyll 3 update)
2015-11-09 13:12:18 +01:00
Krzysztof Koziarek
fbb73dd5da
fixed pylint warnings
2015-10-26 11:50:09 +01:00
Krzysztof Koziarek
c9f1dce6a2
Coding style fixes
2015-10-26 11:32:00 +01:00
Krzysztof Koziarek
50fbd83b3d
corrected flake8 warnings
2015-10-24 11:20:57 +02:00
Krzysztof Koziarek
29c9c5a7ec
Add new OpenWRT presence detection routine based on ubus instead of luci
2015-10-23 17:01:42 +02:00