hass-core/homeassistant/components/demo
Matthew Garrett 34e2a1825b
Add support for exposing light effects via Google Assistant ()
* 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 () 2020-06-30 15:01:30 +02:00
air_quality.py
alarm_control_panel.py Use "arming" state during transition in manual alarm panel () 2020-04-24 00:07:07 +02:00
binary_sensor.py Rename BinarySensorDevice to BinarySensorEntity () 2020-04-23 21:57:07 +02:00
calendar.py
camera.py Clean up camera and demo camera () 2020-04-12 14:56:19 +02:00
climate.py Add climate services required features () 2020-05-20 23:47:30 +02:00
config_flow.py Bump voluptuous-serialize 2.4.0 () 2020-07-06 20:04:35 -07:00
const.py
cover.py Rename CoverDevice to CoverEntity () 2020-04-25 18:07:15 +02:00
demo_0.jpg
demo_1.jpg
demo_2.jpg
demo_3.jpg
device_tracker.py
fan.py Fix fan not checking supported_features () 2020-05-06 09:58:07 +02:00
geo_location.py Use LENGTH_KILOMETERS constant () 2020-04-11 02:12:39 +02:00
humidifier.py Add new humidifier entity integration () 2020-06-22 17:59:16 -07:00
image_processing.py
light.py Add support for exposing light effects via Google Assistant () 2020-08-08 14:28:04 -07:00
lock.py Rename LockDevice to LockEntity () 2020-04-25 18:02:41 +02:00
mailbox.py
manifest.json Remove Hue configurator demo from demo integration () 2020-06-30 15:01:30 +02:00
media_player.py Add support for InputSelector trait () 2020-07-18 16:07:32 -07:00
notify.py
remote.py Rename RemoteDevice to RemoteEntity () 2020-04-26 02:12:36 +02:00
sensor.py
services.yaml Add yamllint (in pre-commit and CI) () 2020-04-05 10:33:45 +02:00
strings.json Bump voluptuous-serialize 2.4.0 () 2020-07-06 20:04:35 -07:00
stt.py
switch.py Rename SwitchDevice to SwitchEntity () 2020-04-26 18:50:37 +02:00
tts.mp3
tts.py
vacuum.py Improve Vacuum Entity () 2020-05-25 17:56:12 -07:00
water_heater.py Rename WaterHeaterDevice to WaterHeaterEntity () 2020-05-01 16:29:14 +02:00
weather.py Add precipitation probability to weather forcast () 2020-06-17 07:39:33 +02:00