🏡 Open source home automation that puts local control and privacy first.
Find a file
Matthew Garrett 34e2a1825b
Add support for exposing light effects via Google Assistant (#38575)
* Don't set SUPPORT_EFFECT on DemoLight if there are no effects

This requires an update to the group test - previously the other lights
instantiated by the DemoLight component had nothing in ATTR_EFFECT_LIST, but
still had SUPPORT_EFFECT set. This appears to have resulted in the light
group test code setting an effect on the group and expecting it to apply to
all lights, but given that two of the bulbs didn't actually support any
effects (due to the empty ATTR_EFFECT_LIST) this seems like a broken
assumption and updating the test to verify only the bulb that supports
effects has had one applied seems reasonable.

* Add support for exposing light effects via Google Assistant

The LightEffects trait only supports a fixed (and small) list of lighting
effects, but we can expose them via the Modes trait - this requires saying
"Set (foo) effect to (bar)" which is a little clumsy, but at least makes it
possible.
2020-08-08 14:28:04 -07:00
.devcontainer
.github Bump actions/upload-artifact from v2.1.2 to v2.1.3 (#38552) 2020-08-05 11:32:53 +02:00
.vscode Constraints pt3 (#37803) 2020-07-13 15:55:20 +02:00
docs Improve string formatting v5 (#33697) 2020-04-05 17:48:55 +02:00
homeassistant Add support for exposing light effects via Google Assistant (#38575) 2020-08-08 14:28:04 -07:00
rootfs Disable jemalloc via specific ENV variable, see Issue#36237 (#36274) 2020-06-03 01:08:50 +02:00
script Upgrade to TensorFlow 2 (#38384) 2020-08-07 08:56:28 +02:00
tests Add support for exposing light effects via Google Assistant (#38575) 2020-08-08 14:28:04 -07:00
.coveragerc Add devolo blinds devices (#36597) 2020-08-06 12:14:39 +02:00
.dockerignore
.gitattributes highlight Dockerfile.dev as Dockerfile in github ui (#36933) 2020-06-22 14:45:57 +02:00
.gitignore Add .env file to .gitignore for vscode environment settings (#35200) 2020-05-17 15:17:05 +02:00
.hadolint.yaml Add hadolint to CI (#34758) 2020-04-27 12:09:31 +02:00
.ignore
.pre-commit-config.yaml Bump pre-commit-hooks from v2.40 to v3.2.0 (#38664) 2020-08-08 15:01:57 +02:00
.prettierignore Rename translations dir for integrations (#34494) 2020-04-21 16:11:05 -07:00
.readthedocs.yml
.travis.yml Fix libav install in Travis CI (#38221) 2020-07-26 15:56:00 +02:00
.yamllint
azure-pipelines-ci.yml Reference constraint files from requirement files (#37751) 2020-07-11 06:20:14 -07:00
azure-pipelines-release.yml
azure-pipelines-translation.yml Migrate translations upload (#33926) 2020-04-09 17:52:33 -07:00
azure-pipelines-wheels.yml Remove tf-models-official from wheels builder (#38637) 2020-08-07 17:37:31 +02:00
build.json Update home assistant base image (#38063) 2020-07-22 16:39:50 +02:00
CLA.md
CODE_OF_CONDUCT.md Update Code of Conduct to 2.0 (#36142) 2020-05-25 19:40:40 -04:00
codecov.yml Update Codecov.io configuration (#33783) 2020-04-07 09:01:01 -07:00
CODEOWNERS Remove Linky integration (#38565) 2020-08-06 11:18:05 +02:00
CONTRIBUTING.md
Dockerfile Constraints pt3 (#37803) 2020-07-13 15:55:20 +02:00
Dockerfile.dev Fix Dockerfile.dev for VS Code devcontainer (#37801) 2020-07-12 16:18:08 -07:00
LICENSE.md
MANIFEST.in
pylintrc Upgrade to TensorFlow 2 (#38384) 2020-08-07 08:56:28 +02:00
pyproject.toml
README.rst
requirements.txt Pin yarl dependency to 1.4.2 as core dependency (#38428) 2020-07-31 22:06:02 +02:00
requirements_all.txt Update frontend to 20200807.1 (#38626) 2020-08-08 20:00:56 +02:00
requirements_docs.txt
requirements_test.txt Upgrade coverage to 5.2.1 (#38158) 2020-07-24 17:03:10 +02:00
requirements_test_all.txt Update frontend to 20200807.1 (#38626) 2020-08-08 20:00:56 +02:00
requirements_test_pre_commit.txt Bump codespell from v1.16.0 to v1.17.1 and fix new spelling errors (#38663) 2020-08-08 14:41:02 +02:00
setup.cfg Various type hint improvements (#37952) 2020-07-22 08:06:37 -07:00
setup.py Pin yarl dependency to 1.4.2 as core dependency (#38428) 2020-07-31 22:06:02 +02:00
tox.ini Constraints pt3 (#37803) 2020-07-13 15:55:20 +02:00

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-2/>`__ 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/en/architecture_index.html>`__ and the `section on creating your own
components <https://developers.home-assistant.io/docs/en/creating_component_index.html>`__.

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/