core/homeassistant/components/demo
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
..
translations [ci skip] Translation update 2020-07-28 00:04:53 +00:00
__init__.py Remove Hue configurator demo from demo integration (#37250) 2020-06-30 15:01:30 +02:00
air_quality.py
alarm_control_panel.py
binary_sensor.py
calendar.py
camera.py
climate.py
config_flow.py Bump voluptuous-serialize 2.4.0 (#37241) 2020-07-06 20:04:35 -07:00
const.py
cover.py
demo_0.jpg
demo_1.jpg
demo_2.jpg
demo_3.jpg
device_tracker.py
fan.py
geo_location.py
humidifier.py Add new humidifier entity integration (#28693) 2020-06-22 17:59:16 -07:00
image_processing.py
light.py Add support for exposing light effects via Google Assistant (#38575) 2020-08-08 14:28:04 -07:00
lock.py
mailbox.py
manifest.json Remove Hue configurator demo from demo integration (#37250) 2020-06-30 15:01:30 +02:00
media_player.py Add support for InputSelector trait (#35753) 2020-07-18 16:07:32 -07:00
notify.py
remote.py
sensor.py
services.yaml
strings.json Bump voluptuous-serialize 2.4.0 (#37241) 2020-07-06 20:04:35 -07:00
stt.py
switch.py
tts.mp3
tts.py
vacuum.py
water_heater.py
weather.py Add precipitation probability to weather forcast (#36019) 2020-06-17 07:39:33 +02:00