hass-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 Use f-strings in integrations starting with "B"-"E" (#32121) 2020-02-24 08:47:52 -08:00
alarm_control_panel.py Use "arming" state during transition in manual alarm panel (#32950) 2020-04-24 00:07:07 +02:00
binary_sensor.py Rename BinarySensorDevice to BinarySensorEntity (#34462) 2020-04-23 21:57:07 +02:00
calendar.py use isort to sort imports according to PEP8 for demo (#29630) 2019-12-08 22:29:27 +05:30
camera.py Clean up camera and demo camera (#34058) 2020-04-12 14:56:19 +02:00
climate.py Add climate services required features (#35804) 2020-05-20 23:47:30 +02:00
config_flow.py Bump voluptuous-serialize 2.4.0 (#37241) 2020-07-06 20:04:35 -07:00
const.py update demo service domain and service description (#29164) 2019-11-27 20:36:40 -08:00
cover.py Rename CoverDevice to CoverEntity (#34595) 2020-04-25 18:07:15 +02:00
demo_0.jpg Consolidate more platforms (#22308) 2019-03-23 20:22:35 -07:00
demo_1.jpg Consolidate more platforms (#22308) 2019-03-23 20:22:35 -07:00
demo_2.jpg Consolidate more platforms (#22308) 2019-03-23 20:22:35 -07:00
demo_3.jpg Consolidate more platforms (#22308) 2019-03-23 20:22:35 -07:00
device_tracker.py update demo service domain and service description (#29164) 2019-11-27 20:36:40 -08:00
fan.py Fix fan not checking supported_features (#35248) 2020-05-06 09:58:07 +02:00
geo_location.py Use LENGTH_KILOMETERS constant (#33976) 2020-04-11 02:12:39 +02:00
humidifier.py Add new humidifier entity integration (#28693) 2020-06-22 17:59:16 -07:00
image_processing.py use isort to sort imports according to PEP8 for demo (#29630) 2019-12-08 22:29:27 +05:30
light.py Add support for exposing light effects via Google Assistant (#38575) 2020-08-08 14:28:04 -07:00
lock.py Rename LockDevice to LockEntity (#34594) 2020-04-25 18:02:41 +02:00
mailbox.py Use f-strings in integrations starting with "B"-"E" (#32121) 2020-02-24 08:47:52 -08:00
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 Black 2019-07-31 12:25:30 -07:00
remote.py Rename RemoteDevice to RemoteEntity (#34676) 2020-04-26 02:12:36 +02:00
sensor.py Add and use percentage constant (#32094) 2020-02-28 11:46:48 -08:00
services.yaml Add yamllint (in pre-commit and CI) (#33676) 2020-04-05 10:33:45 +02:00
strings.json Bump voluptuous-serialize 2.4.0 (#37241) 2020-07-06 20:04:35 -07:00
stt.py Add additional support over NC (#28527) 2019-11-05 22:39:15 +01:00
switch.py Rename SwitchDevice to SwitchEntity (#34673) 2020-04-26 18:50:37 +02:00
tts.mp3 Migrate tts (#22403) 2019-03-26 07:34:16 -07:00
tts.py Fix demo TTS (#28608) 2019-11-07 13:43:43 +01:00
vacuum.py Improve Vacuum Entity (#35554) 2020-05-25 17:56:12 -07:00
water_heater.py Rename WaterHeaterDevice to WaterHeaterEntity (#34675) 2020-05-01 16:29:14 +02:00
weather.py Add precipitation probability to weather forcast (#36019) 2020-06-17 07:39:33 +02:00