83a5f932d1
* 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. |
||
---|---|---|
.. | ||
components | ||
helpers | ||
scripts | ||
util | ||
__init__.py | ||
__main__.py | ||
bootstrap.py | ||
config.py | ||
const.py | ||
core.py | ||
exceptions.py | ||
loader.py | ||
monkey_patch.py | ||
package_constraints.txt | ||
remote.py | ||
setup.py |