core/homeassistant
Lev Aronsky 83a5f932d1 Add citybikes platform (#8202)
* Initial commit - new CityBikes platform

* Several syntax fixes.

* Added imperial unit support.

* Added station list lenght validation.

* Style fixes.

* Updated requirements.

* Updated .coveragerc.

* Fixed style problems according to pylint output.

* Updated SCAN_INTERVAL value.

* Fixed station names.
Removed unnecessary calls to `slugify`.
Changed the base name to reflect the name of the bike sharing
network, instead of the more generic `citybikes`.

* Small style fix.

* Use async version of python-citybikes

* Made platform setup async.

* Made some more things async.

* Switched to constants.

* WIP: different approach to async.

* Removed python-citybikes depnedency to fix async issues.

* Removed unnecessary hidden property.

* Style fixes.

* Retry network detection.

* Style fixes, and base name usage.

* Fixes according to comments.

* Use cv.latitude instead of coercing to float.

* Updated requirements.

* Several fixes and improvements.

* Started using PlatformNotReady exception.
* Cached the networks list result to avoid unnecessary API requests.
* Switched the asyncio.timeout to use a constant.
* Refactored CityBikes API requests into a separate function

* Fixed linting errors.

* Removed unnecessary requirement.
2017-07-04 22:55:21 -07:00
..
components Add citybikes platform (#8202) 2017-07-04 22:55:21 -07:00
helpers EntityComponent to retry platforms that are not ready yet (#8209) 2017-06-26 09:41:48 -07:00
scripts Add initial benchmark framework (#7827) 2017-05-30 21:34:40 -07:00
util LIFX: clean up internal color conversions (#7964) 2017-06-11 21:19:58 +02:00
__init__.py
__main__.py Always enable monkey patch (#8054) 2017-06-17 10:59:18 -07:00
bootstrap.py Replace executor with async_add_job (#7658) 2017-05-26 08:28:07 -07:00
config.py Add security layer to send file output things (#8189) 2017-06-26 00:10:30 +02:00
const.py Version bump to 0.48.1 2017-07-04 21:38:48 -07:00
core.py Fix pathlib resolve (#8311) 2017-07-04 21:43:15 -07:00
exceptions.py EntityComponent to retry platforms that are not ready yet (#8209) 2017-06-26 09:41:48 -07:00
loader.py Don't use len(SEQUENCE) as condition value (#7249) 2017-04-23 20:41:09 -07:00
monkey_patch.py Make monkey patch work in Python 3.6 (#7848) 2017-06-01 23:23:39 -07:00
package_constraints.txt Upgrade aiohttp to 2.2.2 (#8314) 2017-07-03 13:48:53 +02:00
remote.py Update docstrings (#7361) 2017-04-29 22:04:49 -07:00
setup.py log time delay of domain setup in info level (#7808) 2017-06-01 22:44:44 -07:00