Fabian Heredia Montiel
ae97218582
Improvement typing core ( #2624 )
...
* Add package typing
* Add util/location typing
* FIX: lint wrong order of imports
* Fix sometyping and add helpers/entity typing
* Mypy import trick
* Add asteroid to test requiremts to fix pylint issue
* Fix deprecated function isSet for is_set
* Add loader.py typing
* Improve typing bootstrap
2016-07-27 20:33:49 -07:00
Paulus Schoutsen
6714392e9c
Move elevation to core config and clean up HTTP mocking in tests ( #2378 )
...
* Stick version numbers
* Move elevation to core config
* Migrate forecast test to requests-mock
* Migrate YR tests to requests-mock
* Add requests_mock to requirements_test.txt
* Move conf code from bootstrap to config
* More config fixes
* Fix some more issues
* Add test for set config and failing auto detect
2016-06-27 09:02:45 -07:00
Fabian Affolter
4b0df51b40
Vendorize vincenty requirement ( #2176 )
2016-05-29 11:55:16 -07:00
Fabian Affolter
72cf7fd9c2
Add timeout to request for location elevation ( #1978 )
2016-05-06 18:10:13 -07:00
Fabian Affolter
2e44166854
Change to freegeoip.io and add a second service as fall-back
2016-04-06 10:25:40 -07:00
Fabian Affolter
eb8228237e
Catch connection issue with freegeoip.net ( Fixes #1378 )
2016-02-27 23:58:36 +01:00
Paulus Schoutsen
e80309c03c
Fix imports (using isort)
2016-02-18 21:27:50 -08:00
Paulus Schoutsen
a5db23afa4
Mock util.location by default
2016-02-04 22:26:02 -08:00
Fabian Affolter
7aba78f96e
Update docstrings
2016-01-27 00:08:06 +01:00
Paulus Schoutsen
ab5a3f9de3
Clean up YR sensor
2015-12-27 11:07:25 -08:00
Paulus Schoutsen
9bdfa89b7c
More robust geofence checking
2015-10-02 08:16:53 -07:00
Paulus Schoutsen
2eb36c18bd
Add geofencing to automation
2015-09-29 00:18:52 -07:00
Paulus Schoutsen
30492cc685
Fix tests and linting
2015-09-20 11:46:01 -07:00
Paulus Schoutsen
19d40612e6
Add home_range to device tracker
2015-09-20 09:35:03 -07:00
Paulus Schoutsen
aeae7c2c02
Reorganize util methods
2015-07-07 00:01:17 -07:00