core/tests/components
Pascal Vizeli 0b8b9ecb94 Async EntitiesComponent (#3820)
* first version

* First draft component entities

* Change add_entities to callback from coroutine

* Fix bug add async_prepare_reload

* Group draft v1

* group async

* bugfix

* bugfix v2

* fix lint

* fix extract_entity_ids

* fix other things

* move get_component out of executor

* bugfix

* Address minor changes

* lint

* bugfix - should work now

* make group init async only

* change update handling to old stuff

* fix group handling, remove generator from init

* fix lint

* protect loop for spaming with updates

* fix lint

* update test_group

* fix

* update group handling

* fix __init__ async trouble

* move device_tracker to new layout

* lint

* fix group unittest

* Test with coroutine

* fix bug

* now it works 💯

* ups

* first part of suggestion

* add_entities to coroutine

* change group

* convert add async_add_entity to coroutine

* fix unit tests

* fix lint

* fix lint part 2

* fix wrong import delete

* change async_update_tracked_entity_ids to coroutine

* fix

* revert last change

* fix unittest entity id

* fix unittest

* fix unittest

* fix unittest entity_component

* fix group

* fix group_test

* try part 2 to fix test_group

* fix all entity_component

* rename _process_config

* Change Group to init with factory

* fix lint

* fix lint

* fix callback

* Tweak entity component and group

* More fixes

* Final fixes

* No longer needed blocks

* Address @bbangert comments

* Add test for group.stop

* More callbacks for automation
2016-10-16 09:35:46 -07:00
..
alarm_control_panel Continue on invalid platforms and new setup_component unit tests (#3736) 2016-10-08 11:27:35 -07:00
automation Continue on invalid platforms and new setup_component unit tests (#3736) 2016-10-08 11:27:35 -07:00
binary_sensor Async EntitiesComponent (#3820) 2016-10-16 09:35:46 -07:00
camera Async EntitiesComponent (#3820) 2016-10-16 09:35:46 -07:00
climate Separate climate platform and presentation units (#3755) 2016-10-11 00:00:29 -07:00
cover Skip RFXtrx tests unless RFXTRX=RUN (#3625) 2016-10-01 13:57:10 -07:00
device_tracker Coerce device IDs from known_devices to be slugs (#3764) 2016-10-08 14:40:50 -07:00
fan Use setup_component in tests (#3414) 2016-09-17 10:29:58 -07:00
garage_door Continue on invalid platforms and new setup_component unit tests (#3736) 2016-10-08 11:27:35 -07:00
hvac Use setup_component in tests v1 (#3507) 2016-09-25 23:15:21 +02:00
light Continue on invalid platforms and new setup_component unit tests (#3736) 2016-10-08 11:27:35 -07:00
lock Use setup_component in tests (#3414) 2016-09-17 10:29:58 -07:00
media_player Fixes an issue where Chromecast audio groups were not properly discovered (#3630) 2016-10-13 08:51:43 -07:00
mqtt Catch MQTT encoding errors (#3749) 2016-10-14 21:08:44 -07:00
notify Notify: Only attach target if in call data (#3831) 2016-10-11 20:33:41 -07:00
recorder Fix tests (#3387) 2016-09-13 18:17:51 -07:00
rollershutter Skip RFXtrx tests unless RFXTRX=RUN (#3625) 2016-10-01 13:57:10 -07:00
sensor Minimum/maximum/mean sensor (#3852) 2016-10-14 21:43:46 -07:00
switch Continue on invalid platforms and new setup_component unit tests (#3736) 2016-10-08 11:27:35 -07:00
thermostat Continue on invalid platforms and new setup_component unit tests (#3736) 2016-10-08 11:27:35 -07:00
__init__.py Fix PEP257 issues 2016-03-09 10:25:50 +01:00
test_alexa.py Add Alexa Flash Briefing Skill API support (#3745) 2016-10-13 09:14:22 -07:00
test_api.py Add async_safe annotation (#3688) 2016-10-04 20:44:32 -07:00
test_configurator.py Migrate core from threads to async awesomeness (#3248) 2016-09-12 19:16:14 -07:00
test_conversation.py Use setup_component in tests v1 (#3507) 2016-09-25 23:15:21 +02:00
test_demo.py Use setup_component in tests v1 (#3507) 2016-09-25 23:15:21 +02:00
test_device_sun_light_trigger.py Use setup_component in tests v1 (#3507) 2016-09-25 23:15:21 +02:00
test_emulated_hue.py Add missing docstrings (fix PEP257 issues) (#3098) 2016-09-02 14:25:13 +02:00
test_frontend.py Migrate core from threads to async awesomeness (#3248) 2016-09-12 19:16:14 -07:00
test_graphite.py Use setup_component in tests v1 (#3507) 2016-09-25 23:15:21 +02:00
test_group.py Async EntitiesComponent (#3820) 2016-10-16 09:35:46 -07:00
test_history.py Added include and exclude functionality to history component (#3674) 2016-10-13 08:54:45 -07:00
test_http.py Http: Change approved_ips from string to cidr validation (#3532) [BREAKING CHANGE] 2016-10-09 08:13:30 -07:00
test_influxdb.py Relaxes the configuration options for influxdb (#3869) 2016-10-14 21:10:04 -07:00
test_init.py Spread async love (#3575) 2016-09-30 12:57:24 -07:00
test_input_boolean.py Use voluptuous for input_slider, input_boolean, input_select (#3256) 2016-09-23 00:12:11 -07:00
test_input_select.py select next and previous of input select (#3839) 2016-10-13 21:53:47 -07:00
test_input_slider.py Use voluptuous for input_slider, input_boolean, input_select (#3256) 2016-09-23 00:12:11 -07:00
test_introduction.py Use setup_component in tests v1 (#3507) 2016-09-25 23:15:21 +02:00
test_logbook.py add include configuration to logbook (#3739) 2016-10-08 11:26:14 -07:00
test_logentries.py Limit worker pool to 10 threads (#3560) 2016-09-28 00:05:38 -07:00
test_logger.py Limit worker pool to 10 threads (#3560) 2016-09-28 00:05:38 -07:00
test_mqtt_eventstream.py Use setup_component in tests v1 (#3507) 2016-09-25 23:15:21 +02:00
test_panel_custom.py Add panel custom to load any webcomponent (#2747) 2016-08-08 17:35:46 -07:00
test_panel_iframe.py Tweak panel parameters (#2746) 2016-08-07 21:56:17 -07:00
test_persistent_notification.py Use setup_component in tests v1 (#3507) 2016-09-25 23:15:21 +02:00
test_proximity.py Migrate to voluptuous (#3293) [BREAKING CHANGE] 2016-10-11 00:26:11 -07:00
test_rfxtrx.py Skip RFXtrx tests unless RFXTRX=RUN (#3625) 2016-10-01 13:57:10 -07:00
test_scene.py Use setup_component in tests (#3414) 2016-09-17 10:29:58 -07:00
test_script.py Add automations and scripts to group.all_automations and group.all_scripts (#3664) 2016-10-04 21:20:48 -07:00
test_shell_command.py Optimize template 2 (#3521) 2016-09-27 21:29:55 -07:00
test_sleepiq.py Fix typos (#3490) 2016-09-23 10:28:16 +02:00
test_splunk.py Limit worker pool to 10 threads (#3560) 2016-09-28 00:05:38 -07:00
test_statsd.py Limit worker pool to 10 threads (#3560) 2016-09-28 00:05:38 -07:00
test_sun.py Use setup_component in tests v2 (#3537) 2016-09-26 23:20:36 +02:00
test_updater.py Check that no configuration is provided (#3553) 2016-09-29 19:02:22 -07:00
test_weblink.py Use setup_component in tests v2 (#3537) 2016-09-26 23:20:36 +02:00
test_zone.py Fix zone being setup twice 2016-09-24 00:04:03 -07:00