Commit graph

13 commits

Author SHA1 Message Date
Paulus Schoutsen
f5076188ef
Consolidate all platforms that have no tests ()
* Consolidate

* Fix tests

* Update imports

* Fix import

* Use importlib because integration and package share name

* Fix more tests

* Update .coveragerc and CODEOWNERS
2019-03-16 20:44:05 -07: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
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
tschmidty69
4914ad1dd9 Ping device tracker now respects interval_seconds ()
* Ping device tracker now respects interval_seconds
2017-12-29 16:18:39 +01:00
vrs01
8a4e993183 Update ping.py () 2017-06-08 07:30:51 +02:00
Fabian Affolter
3ee4d1060f Update docstrings ()
* 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
Anders Melchiorsen
6cbe28a9cd Send stderr of ping tracker to devnull ()
When pinging an inaccessible device, OS errors like

    ping: sendto: No route to host

can occur. For a ping tracker this is not an error but rather a normal
situation. Thus, it makes sense to hide the error.
2017-04-15 19:00:01 -07:00
Fabian Affolter
cc459e25cc Remove configuration sample () 2017-04-11 09:05:27 -07:00
Pascal Vizeli
4e96e461f7 Cleanup component track_point_in_utc_time usage () 2017-03-01 07:37:48 -08:00
Martin Hjelmare
45a7c27280 Add mysensors device tracker and platform discovery ()
* Add mysensors device_tracker platform

* Add discovery of device_tracker platforms

* Enable discovery of device_tracker platforms that are not
  DeviceScanner.
* Update signature of setup_scanner function in all affected platforms.
* Add test.
* Use discovery for mysensors device_tracker platform.

* Remove gps accuracy

* Small change to core like schema

* fix depency
2017-02-07 20:47:11 +01:00
Michaël Arnauts
b080ae154c Add devices detected by ping as SOURCE_TYPE_ROUTER instead of GPS () 2017-01-31 08:01:14 -08:00
Michaël Arnauts
c3783bf49b Bugfix for ping component now DEFAULT_SCAN_INTERVAL is a timedelta () 2017-01-14 11:55:29 +01:00
Michaël Arnauts
5e8e2a8312 Ping device tracker ()
* Ping device tracker

* Style fixes
2017-01-04 21:06:09 +01:00