🏡 Open source home automation that puts local control and privacy first.
Go to file
Allen Porter 23277181ca
Increase test coverage for google calendar (#62648)
* Increase test coverage for google calendar

Update tests to exercise the API responses, getting test coverage
to 97% for calendar.py

----------- coverage: platform linux, python 3.9.6-final-0 -----------
Name                                          Stmts   Miss  Cover   Missing
---------------------------------------------------------------------------
homeassistant/components/google/__init__.py     193     84    56%   92, 163-228, 238, 244-247, 254-262, 274, 298-299, 305-347, 387-392, 416-430, 435-437
homeassistant/components/google/calendar.py     122      4    97%   41, 45, 51, 135
---------------------------------------------------------------------------
TOTAL                                           315     88    72%

* Revert conftest changes

* Update typing errors found on CI

* Update python3.8 typing imports

* Remove commented out code
2021-12-23 07:31:56 +01:00
.devcontainer VSCode switch to terminal.integrated.profiles (#54301) 2021-08-21 21:46:24 +02:00
.github Bump docker/login-action from 1.10.0 to 1.12.0 (#62462) 2021-12-21 10:40:04 +01:00
.vscode Update "Code Coverage" task to use numprocesses (#61449) 2021-12-20 19:18:55 +01:00
docs Drop unused ruamel (#55672) 2021-09-03 22:17:10 -07:00
homeassistant Increase test coverage for google calendar (#62648) 2021-12-23 07:31:56 +01:00
machine Update base image 2021.11.0 (#60227) 2021-11-24 09:48:34 +01:00
pylint/plugins Pylint plugin to check that relative imports are used (#50937) 2021-05-22 09:15:30 +01:00
rootfs Pass exit code to s6-init (#59545) 2021-11-14 16:56:09 +01:00
script Derive mypy python_version from REQUIRED_PYTHON_VER (#62616) 2021-12-22 21:21:05 +01:00
tests Increase test coverage for google calendar (#62648) 2021-12-23 07:31:56 +01:00
.core_files.yaml Add input_button (#62008) 2021-12-20 16:18:58 +01:00
.coveragerc Increase test coverage for google calendar (#62648) 2021-12-23 07:31:56 +01:00
.dockerignore Integrate dockerbuild (#33168) 2020-03-23 00:39:37 +01:00
.gitattributes highlight Dockerfile.dev as Dockerfile in github ui (#36933) 2020-06-22 14:45:57 +02:00
.gitignore Ignore config directory symlink in development (#56639) 2021-09-25 12:53:41 +02:00
.hadolint.yaml Add hadolint to CI (#34758) 2020-04-27 12:09:31 +02:00
.ignore
.pre-commit-config.yaml Add iif (immediate if) template function/filter (#61428) 2021-12-21 17:25:07 +01:00
.prettierignore Rename translations dir for integrations (#34494) 2020-04-21 16:11:05 -07:00
.readthedocs.yml Drop remaining Python < 3.8 support (#44743) 2021-01-04 11:47:29 +01:00
.strict-typing Add strict typing to PVOutput (#62628) 2021-12-23 06:25:05 +01:00
.yamllint Add yamllint (in pre-commit and CI) (#33676) 2020-04-05 10:33:45 +02:00
CLA.md
CODEOWNERS Implement config_Flow for Sensibo (#60900) 2021-12-22 10:32:50 -10:00
CODE_OF_CONDUCT.md Update Code of Conduct to 2.0 (#36142) 2020-05-25 19:40:40 -04:00
CONTRIBUTING.md Use core GitHub URL in contributing guidelines (#41083) 2020-10-02 20:42:33 +02:00
Dockerfile Extend Docker build caching opportunities (#60661) 2021-12-01 13:20:00 +01:00
Dockerfile.dev Extend Docker build caching opportunities (#60661) 2021-12-01 13:20:00 +01:00
LICENSE.md Update license to official GitHub template (#16470) 2018-09-07 10:11:51 +02:00
MANIFEST.in
README.rst Update README.rst to avoid redirects (#44519) 2020-12-26 10:05:41 +01:00
build.yaml Update base image 2021.11.0 (#60227) 2021-11-24 09:48:34 +01:00
codecov.yml Guard config flow coverage in Codecov (#60718) 2021-12-01 12:52:08 +01:00
mypy.ini Add strict typing to PVOutput (#62628) 2021-12-23 06:25:05 +01:00
pyproject.toml Upgrade pylint to 2.12.1 (#60375) 2021-11-26 00:13:27 +01:00
requirements.txt Bump voluptuous_serialize to 2.5.0 (#62363) 2021-12-19 22:28:15 -08:00
requirements_all.txt Bump PyISY to v3.0.1 (#62646) 2021-12-22 21:22:27 -07:00
requirements_docs.txt Refactor API documentation (#33217) 2020-03-25 13:21:04 -07:00
requirements_test.txt Upgrade pre-commit to 2.16.0 (#60680) 2021-12-01 08:43:37 +01:00
requirements_test_all.txt Bump PyISY to v3.0.1 (#62646) 2021-12-22 21:22:27 -07:00
requirements_test_pre_commit.txt Upgrade black to 21.12b0 (#61741) 2021-12-13 16:02:35 -08:00
setup.cfg Don't ignore mypy errors by default (#49270) 2021-04-26 14:23:21 +02:00
setup.py Bump voluptuous_serialize to 2.5.0 (#62363) 2021-12-19 22:28:15 -08:00
tox.ini Remove -bb option from tox and ci (#59846) 2021-11-18 13:23:25 +08:00

README.rst

Home Assistant |Chat Status|
=================================================================================

Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server.

Check out `home-assistant.io <https://home-assistant.io>`__ for `a
demo <https://home-assistant.io/demo/>`__, `installation instructions <https://home-assistant.io/getting-started/>`__,
`tutorials <https://home-assistant.io/getting-started/automation/>`__ and `documentation <https://home-assistant.io/docs/>`__.

|screenshot-states|

Featured integrations
---------------------

|screenshot-components|

The system is built using a modular approach so support for other devices or actions can be implemented easily. See also the `section on architecture <https://developers.home-assistant.io/docs/architecture_index/>`__ and the `section on creating your own
components <https://developers.home-assistant.io/docs/creating_component_index/>`__.

If you run into issues while using Home Assistant or during development
of a component, check the `Home Assistant help section <https://home-assistant.io/help/>`__ of our website for further help and information.

.. |Chat Status| image:: https://img.shields.io/discord/330944238910963714.svg
   :target: https://discord.gg/c5DvZ4e
.. |screenshot-states| image:: https://raw.github.com/home-assistant/home-assistant/master/docs/screenshots.png
   :target: https://home-assistant.io/demo/
.. |screenshot-components| image:: https://raw.github.com/home-assistant/home-assistant/dev/docs/screenshot-components.png
   :target: https://home-assistant.io/integrations/