Commit Graph

724 Commits (0904ff45fe4b73c201345db01cbc6082bebbdbe4)

Author SHA1 Message Date
Miloš Bunčić ef8253c549 Added ssl and verify_ssl parameters in ddwrt device tracker component ()
* Added ssl and verify_ssl parameters in ddwrt device tracker component

* Set defaults in validation
2018-10-13 21:04:51 +02:00
Fabian Affolter 8d9da4e7b9
Upgrade construct to 2.9.45 () 2018-10-10 23:52:45 +02:00
Ville Skyttä 707b7c202d Narrow scope of various pylint inline disables ()
* Narrow scope of various pylint inline disables

* Whitespace tweaks
2018-10-10 12:17:11 +02:00
Colby Rome 419725e1a9 Add Verizon Fios Quantum Gateway device_tracker platform ()
* wrote quantum_gateway.py

* ran gen_requirements script

* fixed linting errors, added docstrings

* update .coveragerc

* fixed typo

* add myself to contributors

* single quotes for single words

* added error handling to prevent stacktrace

* updated my pypi library

* houndci fixes - added RequestException

* added password to config schema
2018-10-10 08:23:31 +02:00
Fabian Affolter 5022cf8a6c Upgrade locationsharinglib to 3.0.6 () 2018-10-10 00:02:07 +02:00
Teemu R 56a43436d7 Bump python-miio requirement () 2018-10-08 22:33:06 +02:00
cdce8p 07d90c6c55 Fix device_tracker service call & cleanup ()
* Bugfix group service - device_tracker

* Cleanup
2018-10-05 23:09:55 +02:00
Michael Wei 2b3019bdf4 Support multiple accounts in Tile, use device identifiers ()
*  Update tile to support multiple accounts

* 🎨 fix indent

* 🐛 fix format string

* 🎨 use .format

* 🎨 fix line indent
2018-10-03 17:22:21 -06:00
Michael Wei 467a59a6ed Change Tile icon to view-grid () 2018-10-03 09:59:11 -06:00
cdce8p 7f0a50ce31 async_create_task ()
* async_create_task

* Update google.py
2018-10-02 11:03:09 +02:00
Mathieu Velten 8e276295eb Update pynetgear to 0.4.2 (fix ) () 2018-10-02 09:14:07 +02:00
Fabian Affolter 9edf1e5151 Upgrade locationsharinglib to 3.0.3 ()
* Upgrade locationsharinglib to 3.0.3

* Revert change from 
2018-10-01 10:55:16 +02:00
cdce8p b24f9f5dfa Async syntax 3/8 ()
* Async syntax 3, device_tracker & fan & hassio & image_processing & input

* Pylint fixes
2018-10-01 08:59:45 +02:00
Totoo 1b7bfec247 Google Maps supports battery level and charging. ()
* Google Maps supports battery level and charging.

With 3.0.2 locationsharinglib now the battery level and the charging attributes are available.

* Update google_maps.py

fix too long line error

* Update google_maps.py

Fix multi line import, and line length limit

* Update gen_requirements_all.py

Add locationsharinglib to gen_requirements_all

* update requirements_all

* Last try to fix requirements_all...
2018-09-30 15:17:39 +02:00
cdce8p f879ac0993 Remove service helper (6) ()
* Update automation

* Update group

* Async_create_task
2018-09-27 23:14:09 +02:00
Paul Biester eaee55175b Add configurable host for bbox routers ()
* Add configurable host for bbox routers

Add configurable host for bbox router running on non-default IP addresses.

* Fix unused import

Fix unused import which also resolves "line too long"

* Fix wrong import order

* Update validation
2018-09-23 10:37:53 +02:00
kunago 258beb9cd3 Upgrading librouteros version () 2018-09-20 07:52:06 +02:00
Pascal Vizeli 7705666061 Rewrite bluetooth le ()
* Rewrite bluetooth le

* Update requirements_all.txt

* Update gen_requirements_all.py

* Update bluetooth_le_tracker.py

* Update bluetooth_le_tracker.py

* Update bluetooth_le_tracker.py

* Update bluetooth_le_tracker.py

* Update bluetooth_le_tracker.py

* Update bluetooth_le_tracker.py
2018-09-14 13:49:20 +02:00
Ville Skyttä e59ba28fe6 Add Huawei LTE router platform, device tracker, and sensor ()
* Add Huawei LTE router platform, device tracker, and sensor

* Add myself to CODEOWNERS for huawei_lte
2018-09-13 10:01:28 +02:00
Jason Hu 1586d3000c Fix broken bluetooth tracker () 2018-09-13 07:52:31 +02:00
Phil Bruckner a5d95dfbdc Make last_seen attribute a timezone aware datetime in UTC ()
The last_seen attribute was a datetime in the local timezone but with
no tzinfo (i.e., a "naive" datetime.) When state changes occurred it
would be printed incorrectly in homeassistant.log because
homeassistant.util.dt.as_local assumes any datetime without tzinfo is
UTC. Also most, if not all, datetime attributes are timezone aware in
UTC. So use homeassistant.util.dt.as_utc (which assumes a naive
datetime is local) to convert last_seen to a timezone aware datetime
in UTC.
2018-09-01 18:49:03 +02:00
Hunter Horsman dec2d8d5b0 Add device_tracker.bluetooth_update service ()
* Add device_tracker.bluetooth_update service

Will immediately scan for Bluetooth devices outside of the interval timer. Allows for less frequent scanning, with scanning on demand via automation.

* remove excess whitespace per bot comments

* Refactored update_bluetooth to call new function update_bluetooth_once

* Change service name to bluetooth_tracker_update to reflect platform name

* Reformat for line length

* Linting fix, pydoc, first line should end with a period

* Fixed a method call, and removed some more unsused parameters
2018-08-27 09:08:23 +02:00
Ville Skyttä dd9d53c83e Update pydocstyle to 2.1.1 and flake8-docstrings to 1.3.0 ()
* Update pydocstyle to 2.1.1 and flake8-docstrings to 1.3.0

* Pydocstyle D401 fixes
2018-08-24 10:28:43 +02:00
Sebastian Muszynski 7ed8ed83e3 Bump python-miio version () 2018-08-21 21:25:48 +02:00
Andrey Kupreychik 85a724e289 Bumped NDMS2 client library to 0.0.4 to get compatible with python 3.5 () 2018-08-20 18:51:25 +02:00
Paulus Schoutsen d1e1b9b38a
Deprecated stuff ()
* Use async with for locks

* Fix regex in template test

* Close session correctly

* Use correct current_task method

* push camera cleanup

* Lint

* Revert current_task

* Update websocket_api.py

* Mock executor_job betteR

* Fix async_create_task mock
2018-08-20 16:34:18 +02:00
Tim Bailey 975befd136 TpLink Device Tracker Error ()
* Fix 'Error setting up platform tplink' error when a scanner fails even if another scanner would succeed

* Try to fix tox errors

* Adjust code based on PR comments
2018-08-20 14:34:52 +02:00
Ville Skyttä dbd0763f83 Grammar and spelling fixes () 2018-08-19 22:29:08 +02:00
Wim Haanstra ec2e94425e Update RitAssist to support maximum speed and current address ()
Update RitAssist dependency to 0.9.2 so we support fetching the current maximum speed and address for a device.
2018-08-18 09:40:29 +02:00
Charles Garwood 39647a15ae Add monitored conditions for Unifi device_tracker ()
* Add support for monitored_conditions for attributes

* Update unifi tests

* Add list of available attrs
2018-08-13 21:18:25 +02:00
Fabian Affolter 2342709803 Upgrade beautifulsoup4 to 4.6.3 () 2018-08-13 10:52:47 +02:00
Ville Skyttä 1911168855 Misc cleanups ()
* device_tracker.huawei_router: Pylint logging-not-lazy fix

* sensor.irish_rail_transport: Clean up redundant self.info test
2018-08-10 16:09:08 +02:00
Fabian Affolter 39d19f2183 Upgrade locationsharinglib to 2.0.11 () 2018-08-09 13:05:28 +02:00
DubhAd fcc918a146 Update based upon forum post ()
Based upon [this post](https://community.home-assistant.io/t/device-tracker-ping-on-windows-not-working-solved/61474/3) it looks like we've found why people couldn't get the ping tracker working on Windows.
2018-08-07 18:12:36 +02:00
Fabian Affolter 1d8678c431
Upgrade pysnmp to 4.4.5 () 2018-08-07 09:13:01 +02:00
ahobsonsayers e4b2ae29bd Fix bt_home_hub_5 device tracker ()
* Fix bt_home_hub_5 device tracker

Updated BT Home Hub 5 device tracker component to get it working again. The old parsing method of the DNS table has been broken for a while causing the component to fail to get connected devices. A new parsing method has been implemened and fixes all previous issues.

* Moved part of code to a published PyPi library

* Fixed Violations

* Fixed bugs in device tracker

* Moved API Specific Code to PyPi Repository

* Updated to fit requested changes, removed test as it is no longer valid and updated requirement_all.txt

* Update to fit style requirements and remove redundant code

* Removed Unnecessary Comment
2018-08-06 07:38:02 +02:00
Ryan Davies ac4674fdb0 Add max_gps_accuracy option to Google Maps ()
* Google Maps - Add max_gps_accuracy option

* Remove else statement and add continue
2018-08-06 07:17:21 +02:00
Wim Haanstra 2f8d66ef2b RitAssist / FleetGO support ()
* RitAssist / FleetGO support

* Fix lint issue
Add to .coveragerc
2018-08-02 07:01:40 +02:00
Mathieu Velten 3445dc1f00 Update pynetgear to 0.4.1 (bugfixes) () 2018-07-31 21:40:13 +02:00
Andrey Kupreychik 951372491c Fixed NDMS for latest firmware ()
* Fixed NDMS for latest firmware.
Now using telnet instead of Web Interface

* Using external library for NDMS interactions

* updated requirements_all

* renamed `mac` to `device` back

* Using generators for name and attributes fetching
2018-07-31 11:14:49 +02:00
Fabian Affolter 28ad0017e1
Upgrade beautifulsoup4 to 4.6.1 () 2018-07-29 19:55:49 +02:00
Cheong Yip 45c35ceb2b Fix typo `asayn_init` instead of `async_init` () 2018-07-23 20:19:01 -06:00
Ville Skyttä b7c336a687 Pylint cleanups ()
* Pylint 2 no-else-return fixes

* Remove unneeded abstract-class-not-used pylint disable
2018-07-23 10:16:05 +02:00
Ville Skyttä 2f7b79764a More pylint 2 fixes ()
## Description:

More fixes flagged by pylint 2 that don't hurt to have before the actual pylint 2 upgrade (which I'll submit soon).

## Checklist:
  - [ ] The code change is tested and works locally.
  - [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
2018-07-20 11:45:20 +03:00
Ville Skyttä bf17ed0917 More pylint 2 fixes ()
* Pylint 2 useless-import-alias fixes

* Pylint 2 chained-comparison fixes

* Pylint 2 consider-using-get fixes

* Pylint 2 len-as-condition fixes
2018-07-18 11:54:27 +02:00
Dario Iacampo 4ab502a691 Support latest tplink Archer D9 Firmware version / Device Scanner ()
* Support latest tplink Archer D9 Firmware version / Device Scanner

* tplink integration on pypi package

* initialize the client only once

* remove unnecessary instance attributes
2018-07-17 22:47:32 +02:00
Ville Skyttä e31dd4404e Pylint 2 fixes ()
* pylint 2 inline disable syntax fixes

* pylint 2 logging-not-lazy fixes

* pylint 2 consider-using-in fixes

* Revert pylint 2 inline disable syntax fixes addressing unused-imports

Will have a go at removing more unused imports altogether first.
2018-07-17 19:34:29 +02:00
Paulus Schoutsen 84858f5c19
Fix comment formatting () 2018-07-13 15:05:55 +02:00
Ville Skyttä 14a34f8c4b Remove some unneeded pylint import-error disables () 2018-07-09 21:34:27 +02:00
Andrey 02238b6412 Add python 3.7 to travis and tox ()
* Add python 3.7 to travis and tox

* Use pyyaml from github

* Don't version constraints

* Fix version tag

* Change to new pyyaml release

* Python 3.7 requires xenial

* Fix namespace detection

* Use correct RegEx type

* Update pexpect to 4.6

* Use correct validation for dictionaries

* Disable Py37 incompatible packages

* Upgrade all pexpect to 4.6

* Add explicit None as default param
2018-07-07 10:48:02 -04:00