Lukas Barth
47dad547eb
Add 'forecast' ability to yr weather sensor ( #8650 )
...
* Add forecast option to YR sensor
* Fix some style issues
* Fix linting
2017-08-01 22:42:51 -07:00
Daniel Høyer Iversen
2f907696f3
[WIP] Spread the traffic to yr.no servers and remove yr.no from the default… ( #5171 )
...
* Spread the traffic to yr.no servers and remove yr.no from the default config
* use unique address for yr.no
* update yr tests
* Wait 10 min extra before requesting new data
* Update config.py
* Update yr.py
2017-01-04 23:20:30 +01:00
Johann Kellerman
f3595f790a
Async version of Yr.no ( #4158 )
...
* initial
* feedback
* More feedback. Still need to fix match_url
* url_match
* split_lines
2016-11-02 19:34:12 -07:00
Pascal Vizeli
d5368f6f78
Async bootstrap / component init ( #3991 )
...
* Async bootstrap
* Adress comments
* Fix tests
* More fixes
* Tests fixes
2016-10-27 00:16:23 -07:00
Paulus Schoutsen
519d9f2fd0
async HTTP component ( #3914 )
...
* Migrate WSGI to asyncio
* Rename wsgi -> http
* Python 3.4 compat
* Move linting to Python 3.4
* lint
* Lint
* Fix Python 3.4 mock_open + binary data
* Surpress logging aiohttp.access
* Spelling
* Sending files is a coroutine
* More callback annotations and naming fixes
* Fix ios
2016-10-23 23:48:01 -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
Paulus Schoutsen
0525af920c
Update betamax casettes
2016-06-08 21:06:14 -07:00
Daniel Høyer Iversen
d3493c7e5a
Config validation of yr sensor ( #1767 )
2016-04-10 10:43:05 -07:00
Fabian Affolter
9838697d2b
Fix PEP257 issues
2016-03-09 10:25:50 +01:00
Paulus Schoutsen
09ab3e95c0
Tests should all use test HA
2016-02-14 15:08:23 -08:00
Fabian Affolter
00afaac54c
Update for file header, docstrings, and PEP8/PEP257
2016-02-13 14:19:11 +01:00
Daniel
5005b20122
Added and fixed yr tests
2016-02-01 15:50:17 +01:00
Philip Lundrigan
3db6faab4d
Fix yr test
2016-01-08 13:30:16 -07:00
Paulus Schoutsen
c1eaf60461
VCR YR sensor test
2015-12-27 17:37:32 -08:00
Paulus Schoutsen
ab5a3f9de3
Clean up YR sensor
2015-12-27 11:07:25 -08:00
Daniel Hoyer Iversen
71bf707bcf
fix tests in yr sensor
2015-12-02 13:32:52 +01:00
Daniel Hoyer Iversen
ff15fea9f8
Added units to sensor yr
2015-12-01 13:31:55 +01:00
Daniel Hoyer Iversen
2dc9bc98f7
Tests for yr sensor
2015-12-01 13:24:03 +01:00