core/tests/components/hue
Eugenio Panadero 71aaf2d809
Add device triggers for Hue remotes (#33476)
* Store device_registry entry id in HueEvent

so it can be retrieved with that key when using device triggers

* Add device_trigger for hue_event from hue remotes

* supporting Hue dimmer switch & Hue Tap
* State mapping and strings are copied from deCONZ

* refactor mock_bridge for hue tests

and also share `setup_bridge_for_sensors`
for test_sensor_base and test_device_trigger.

* Add tests for device triggers with hue remotes

* Remove some triggers
2020-04-01 11:42:22 -07:00
..
__init__.py Refactor Hue: phue -> aiohue (#13043) 2018-03-16 20:27:05 -07:00
conftest.py Add device triggers for Hue remotes (#33476) 2020-04-01 11:42:22 -07:00
test_bridge.py Fix hue tests that have uncaught exceptions (#33443) 2020-03-31 10:17:09 -05:00
test_config_flow.py Disable Hue groups for new setups (#31713) 2020-02-11 08:50:07 -08:00
test_device_trigger.py Add device triggers for Hue remotes (#33476) 2020-04-01 11:42:22 -07:00
test_init.py Fix hue tests that have uncaught exceptions (#33443) 2020-03-31 10:17:09 -05:00
test_light.py Add device triggers for Hue remotes (#33476) 2020-04-01 11:42:22 -07:00
test_sensor_base.py Add device triggers for Hue remotes (#33476) 2020-04-01 11:42:22 -07:00