core/script
Jose Motta Lopes f705ac6b43 Add Time of Flight Sensor using VL53L1X (#21230)
* Add Time of Flight Sensor using VL53L1X

* Fix issues found by bot

* Fix issues from bot

* Remove extra logs

* Keep removing logs dependencies not used

* Remove log from update

* Add logger info to async_update

* Fix over-indented line

* Fix pylint error

* Remove logger reporting successful operation

* Update requirements

* Update requirements_all.txt

* Update requirements_test_all.txt

* Used isort to keep imports and added STMicroelectronics to docstring

* Replace time.sleep by asyncio.sleep

* Add requirements to COMMENT_REQUIREMENTS and fix typo

* Using async_add_executor_job to schedule the call in the pool

* Fix typo

* Optimize async_update

* Updated requirements files

* Group and schedule calls that should be run sequentially

* Fix lint errors

* Revision showing development history

* Cleaning and typos

* Cleaning and typos

* Fix wrong-import-order

* Fix gen_requirements_all

* Schedule rpi_gpio I/O on the executor thread pool

* Fix partial parameters

* Fix bot error - add blank line

* Fix lint error

* Remove dependencies from requirements

* Review initial commits

* Move all device I/O to async_update

* Update requirements_all.txt

* Revised header with no url to the docs

* Use async_added_to_hass to add and initialize the sensor

* Add docstring to init()

* Move sensor.open() to async_setup_platform

* Remove logging and async

* Fix typo

* Move sensor.open to safe initialization

* Fix typo

* Fix typo

* Add the new tof module to .coveragerc

* Move the sensor platform under a tof package

* Update .coveragerc and requirements_all for tof package
2019-03-08 08:21:22 +01:00
..
bootstrap Consolidate frontend (#9915) 2017-10-24 19:36:27 -07:00
check_dirty Fail if dirty (#16839) 2018-09-25 20:47:51 +02:00
dev_docker tradfri: Improve color temp support detection (#7211) 2017-04-21 23:32:51 -07:00
dev_openzwave_docker Improve development workflow in docker (#5079) 2017-01-02 22:04:09 +01:00
gen_requirements_all.py Add Time of Flight Sensor using VL53L1X (#21230) 2019-03-08 08:21:22 +01:00
inspect_schemas.py Update pydocstyle to 2.1.1 and flake8-docstrings to 1.3.0 (#14557) 2018-08-24 10:28:43 +02:00
lazytox.py Update pydocstyle to 2.1.1 and flake8-docstrings to 1.3.0 (#14557) 2018-08-24 10:28:43 +02:00
lint script/lint: Ensure there are files to test with pylint (#14363) 2018-05-10 12:47:04 +02:00
lint_docker Speeds up lint and test in docker by keeping the cache between invocations. (#5177) 2017-01-05 09:45:14 +01:00
monkeytype Add script to run monkeytype typing on test suite (#14440) 2018-06-21 15:06:05 +02:00
release Clean up build artifacts correctly 2019-01-20 17:31:09 -08:00
server Improve development workflow in docker (#5079) 2017-01-02 22:04:09 +01:00
setup Reorganize lint travis builds (#10670) 2017-11-19 17:39:24 -08:00
test Removing asyncio.coroutine syntax from HASS core (#12509) 2018-02-25 03:38:46 -08:00
test_docker Fix a bunch of typos (#9545) 2017-09-23 17:15:46 +02:00
translations_develop Config flow translations (#13066) 2018-03-11 12:04:34 -07:00
translations_download Update translations 2019-03-03 21:53:45 -08:00
translations_download_split.py Update pydocstyle to 2.1.1 and flake8-docstrings to 1.3.0 (#14557) 2018-08-24 10:28:43 +02:00
translations_upload Fix for Lokalise backend misinterpretation of keys (#13986) 2018-04-18 15:58:47 -04:00
translations_upload_merge.py Update pydocstyle to 2.1.1 and flake8-docstrings to 1.3.0 (#14557) 2018-08-24 10:28:43 +02:00
travis_deploy Support serving of backend translations (#12453) 2018-02-28 19:31:38 -08:00
update Improve development workflow in docker (#5079) 2017-01-02 22:04:09 +01:00
version_bump.py Use older syntax for version bump 2018-06-22 11:07:26 -04:00