core/tests/components
Abílio Costa ead38f6005 Proactive Alexa ChangeReport messages (#18114)
* Alexa: implement auth and proactive ChangeReport messages

* refactor after rebase from dev to use the new AlexaDirective and Response classes

* move to aiohttp; cleanup

* better function name

* move endpoint to config

* allow passing token function

* remove uneeded state get

* use iterable directly

Co-Authored-By: abmantis <abmantis@users.noreply.github.com>

* missing delete from previous commit

* checks for when user has no auth config

* update cloud component

* PR suggestions

* string lint

* Revert "string lint"

This reverts commit a05a1f134c9ebc7a6e67c093009744f142256365.

* linters are now happier

* more happy linters

* use internal date parser; improve json response handling

* remove unused import

* use await instead of async_add_job

* protect access token update method

* add test_report_state

* line too long

* add docstring

* Update test_smart_home.py

* test accept grant api

* init prefs if None

* add tests for auth and token requests

* replace global with hass.data

* doc lint
2019-01-03 22:28:43 +01:00
..
air_pollutants Add air pollutants component (#18707) 2018-12-14 13:32:58 +01:00
alarm_control_panel Add device registry to MQTT alarm control panel (#19331) 2018-12-19 19:27:23 +01:00
alexa Proactive Alexa ChangeReport messages (#18114) 2019-01-03 22:28:43 +01:00
auth No more opt-out auth (#18854) 2018-12-02 16:32:53 +01:00
automation Make automations log errors (#18965) 2018-12-13 12:21:16 +01:00
binary_sensor Clean up RFLink tests and add two tests (#19511) 2018-12-22 08:53:02 +01:00
calendar No more opt-out auth (#18854) 2018-12-02 16:32:53 +01:00
camera No more opt-out auth (#18854) 2018-12-02 16:32:53 +01:00
cast Add confirmation to Cast/Sonos/iOS config entries (#16769) 2018-09-21 16:34:37 +02:00
climate Add testcase test_entity_id_update 2018-12-19 15:28:25 +01:00
cloud Fix cloud defaults (#19172) 2018-12-11 06:50:54 +01:00
config Rename is_owner decorator to is_admin (#19266) 2018-12-14 10:19:27 +01:00
counter Async tests for counter (#18684) 2018-11-24 16:12:29 -05:00
cover Correct calls to subscription.async_unsubscribe_topics (#19414) 2018-12-19 14:05:24 +01:00
daikin Add config flow for Daikin (#19182) 2018-12-16 16:19:18 +01:00
deconz RFC: Call services directly (#18720) 2018-11-30 21:28:35 +01:00
device_tracker Use unicode slugify (#19192) 2018-12-17 07:51:13 +01:00
dialogflow Use a fixture for dialogflow calls in unit tests (#17999) 2018-11-01 19:37:38 +01:00
emulated_hue Restore states through a JSON store instead of recorder (#17270) 2018-11-28 13:16:43 +01:00
esphome Add native ESPHome API component (#19334) 2018-12-17 01:29:32 +01:00
fan Correct calls to subscription.async_unsubscribe_topics (#19414) 2018-12-19 14:05:24 +01:00
frontend No more opt-out auth (#18854) 2018-12-02 16:32:53 +01:00
geo_location Geo Location platform code clean up (#18717) 2018-11-27 13:12:29 +01:00
geofency Mock out device tracker configuration loading funcs in Geofency + OwnTracks (#18968) 2018-12-04 10:45:41 +01:00
google_assistant bugfix: ensure the `google_assistant` component respects `allow_unlock` (#18874) 2018-12-02 11:14:46 +01:00
group Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
hangouts Hangouts (#16049) 2018-08-24 10:39:35 +02:00
hassio No more opt-out auth (#18854) 2018-12-02 16:32:53 +01:00
homekit Add safe_mode HomeKit (#18356) 2018-11-16 11:08:39 +01:00
homematicip_cloud Clean up homematicip cloud (#19481) 2018-12-25 09:40:36 +01:00
http No more opt-out auth (#18854) 2018-12-02 16:32:53 +01:00
hue Remove discovery (#17070) 2018-10-04 16:04:44 +02:00
ifttt Migrate Mailgun to use the webhook component (#17464) 2018-10-23 11:14:46 +02:00
image_processing Allow MS face detection to handle updating entities when no face is detected (#17593) 2018-11-02 10:50:43 +01:00
ios Add confirmation to Cast/Sonos/iOS config entries (#16769) 2018-09-21 16:34:37 +02:00
light Add support for color_temp_command_template in MQTT light component (#19675) 2019-01-01 15:42:41 +01:00
lock Add device registry to MQTT lock (#19333) 2018-12-19 19:26:07 +01:00
lovelace Fix lovelace save (#19162) 2018-12-10 12:25:08 +01:00
luftdaten Enable config flow for Luftdaten (#17700) 2018-11-06 14:27:52 +01:00
mailbox No more opt-out auth (#18854) 2018-12-02 16:32:53 +01:00
mailgun Switch mailgun webhooks to the new Mailgun webhook api (#17919) 2018-10-30 12:12:41 +01:00
media_player Set directv unavailable state when errors returned for longer then a minute (#19014) 2018-12-07 07:26:49 +01:00
mqtt RFC: Call services directly (#18720) 2018-11-30 21:28:35 +01:00
nest Show notification when user configures Nest client_id/secret (#14970) 2018-06-15 15:19:58 -04:00
notify No more opt-out auth (#18854) 2018-12-02 16:32:53 +01:00
onboarding No more opt-out auth (#18854) 2018-12-02 16:32:53 +01:00
openuv Clean up OpenUV config flow (#17349) 2018-10-15 13:21:21 -06:00
owntracks Drop OwnTracks bad packets (#19161) 2018-12-10 12:24:56 +01:00
persistent_notification Add time created to persistent notifications. (#17121) 2018-10-04 10:24:14 +02:00
point Support for Point component (#17466) 2018-11-19 12:52:21 +01:00
rainmachine Add Rainmachine config entry (#18419) 2018-11-14 13:23:49 -07:00
recorder Remove recorder purge protection (#19358) 2018-12-16 23:31:50 +01:00
remote Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
scene deCONZ - retry if setup fails (#17772) 2018-10-31 22:38:04 +01:00
sensor Do not choke on no awair data (#19708) 2019-01-03 14:41:18 +01:00
simplisafe Add config entry for SimpliSafe (#17148) 2018-10-12 19:07:47 +02:00
smhi Swedish weather institute weather component (#16717) 2018-10-08 23:54:55 +02:00
sonos Add confirmation to Cast/Sonos/iOS config entries (#16769) 2018-09-21 16:34:37 +02:00
switch Clean up RFLink tests and add two tests (#19511) 2018-12-22 08:53:02 +01:00
tellduslive TelldusLive config flow (#18758) 2018-12-10 18:44:45 +01:00
timer Added events STARTED, RESTARTED AND PAUSED (#19516) 2018-12-29 16:40:17 +01:00
tradfri Allow tradfri groups for new imported entries (#17310) 2018-10-11 10:37:34 +02:00
tts No more opt-out auth (#18854) 2018-12-02 16:32:53 +01:00
twilio Webhook names (#18206) 2018-11-05 09:23:58 +01:00
unifi Fix controller not being stored when setup fails and sequentially fails the retry functionality (#17927) 2018-10-29 19:09:54 +01:00
upnp Disable creating port mappings from UI, add discovery from component (#18565) 2018-12-21 17:25:23 +00:00
vacuum Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
water_heater RFC: Call services directly (#18720) 2018-11-30 21:28:35 +01:00
weather Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
websocket_api No more opt-out auth (#18854) 2018-12-02 16:32:53 +01:00
zha Add config entry for ZHA (#18352) 2018-11-27 21:21:25 +01:00
zone Grammar and spelling fixes (#16065) 2018-08-19 22:29:08 +02:00
zwave RFC: Call services directly (#18720) 2018-11-30 21:28:35 +01:00
__init__.py
conftest.py No more opt-out auth (#18854) 2018-12-02 16:32:53 +01:00
test_alert.py RFC: Call services directly (#18720) 2018-11-30 21:28:35 +01:00
test_api.py RFC: Call services directly (#18720) 2018-11-30 21:28:35 +01:00
test_canary.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_configurator.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_conversation.py Legacy api fix (#18733) 2018-11-27 10:41:44 +01:00
test_datadog.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_demo.py Remove homeassistant.remote (#16099) 2018-08-21 15:49:58 +02:00
test_device_sun_light_trigger.py Async device sun light trigger tests (#18689) 2018-11-25 11:39:18 -05:00
test_discovery.py Update pydocstyle to 2.1.1 and flake8-docstrings to 1.3.0 (#14557) 2018-08-24 10:28:43 +02:00
test_duckdns.py Remove service helper (3) (#16879) 2018-09-26 08:50:05 +02:00
test_dyson.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_feedreader.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_ffmpeg.py Remove FFmpeg input tests (#18131) 2018-11-03 12:36:22 +01:00
test_folder_watcher.py Grammar and spelling fixes (#16065) 2018-08-19 22:29:08 +02:00
test_freedns.py Add FreeDNS component (#13526) 2018-03-30 21:33:30 +02:00
test_google.py Pass hass_config to load_platform (#17952) 2018-10-29 19:21:21 +01:00
test_google_domains.py Add Google Domains component (#9996) 2017-10-25 11:42:53 +02:00
test_graphite.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_history.py Restore states through a JSON store instead of recorder (#17270) 2018-11-28 13:16:43 +01:00
test_history_graph.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_huawei_lte.py Fix tests 2018-12-14 17:58:45 +01:00
test_influxdb.py remove the need to have query feature support (#18942) 2018-12-04 09:59:03 +01:00
test_init.py Allow a list ofr update entity (#17860) 2018-10-27 21:34:33 +02:00
test_input_boolean.py Add permissions check in service helper (#18596) 2018-11-21 12:26:08 +01:00
test_input_datetime.py RFC: Call services directly (#18720) 2018-11-30 21:28:35 +01:00
test_input_number.py Add permissions check in service helper (#18596) 2018-11-21 12:26:08 +01:00
test_input_select.py Add permissions check in service helper (#18596) 2018-11-21 12:26:08 +01:00
test_input_text.py Add permissions check in service helper (#18596) 2018-11-21 12:26:08 +01:00
test_intent_script.py Add Intent component (#8434) 2017-07-21 21:38:53 -07:00
test_introduction.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_kira.py Grammar and spelling fixes (#16065) 2018-08-19 22:29:08 +02:00
test_litejet.py Grammar and spelling fixes (#16065) 2018-08-19 22:29:08 +02:00
test_logbook.py Add automation and script events to logbook filter events (#19253) 2018-12-14 10:25:02 +01:00
test_logentries.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_logger.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_melissa.py Async version of melissa (#17721) 2018-10-30 21:29:11 +01:00
test_microsoft_face.py Remove service helper (8) (#17055) 2018-10-02 10:23:37 +02:00
test_mqtt_eventstream.py Remove homeassistant.remote (#16099) 2018-08-21 15:49:58 +02:00
test_mqtt_statestream.py Grammar and spelling fixes (#16065) 2018-08-19 22:29:08 +02:00
test_mythicbeastsdns.py Add Mythic Beasts DNSAPI Component (#18333) 2018-12-20 11:33:47 +01:00
test_namecheapdns.py Make host optional (#10063) 2017-10-23 15:24:04 +02:00
test_ness_alarm.py Add ness alarm control panel using nessclient (#18463) 2019-01-01 08:08:13 -07:00
test_no_ip.py Support for NO-IP (#10155) 2017-10-27 10:15:47 +02:00
test_nuheat.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_panel_custom.py Add support for JS modules in custom panels (#16096) 2018-08-23 11:14:18 +02:00
test_panel_iframe.py Break up websocket 2 (#17028) 2018-10-01 16:09:31 +02:00
test_pilight.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_plant.py Initialise plant attributes at startup (#19315) 2018-12-16 21:54:33 +01:00
test_prometheus.py No more opt-out auth (#18854) 2018-12-02 16:32:53 +01:00
test_proximity.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_python_script.py Fix time functions would throw errors in python scripts (#11414) 2018-01-07 01:50:55 +01:00
test_qwikswitch.py Qwikswitch binary sensors (#14008) 2018-04-21 08:34:42 +02:00
test_remember_the_milk.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_rest_command.py Grammar and spelling fixes (#16065) 2018-08-19 22:29:08 +02:00
test_rflink.py Improve rflink coverage (#19596) 2019-01-01 15:35:31 +01:00
test_rfxtrx.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_ring.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_rss_feed_template.py No more opt-out auth (#18854) 2018-12-02 16:32:53 +01:00
test_script.py New Events and Context Fixes (#18765) 2018-12-04 09:45:17 +01:00
test_shell_command.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_shopping_list.py Convert shopping-list clear to WebSockets (#18769) 2018-11-29 10:06:18 +01:00
test_sleepiq.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_snips.py RFC: Call services directly (#18720) 2018-11-30 21:28:35 +01:00
test_spaceapi.py Legacy api fix (#18733) 2018-11-27 10:41:44 +01:00
test_spc.py Init sub-components using global var. (#17220) 2018-10-07 23:30:09 +02:00
test_splunk.py Add verify_ssl option to Splunk component (#19112) 2018-12-27 14:23:04 +01:00
test_statsd.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_sun.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_system_log.py Legacy api fix (#18733) 2018-11-27 10:41:44 +01:00
test_updater.py Grammar and spelling fixes (#16065) 2018-08-19 22:29:08 +02:00
test_vultr.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00
test_wake_on_lan.py RFC: Call services directly (#18720) 2018-11-30 21:28:35 +01:00
test_webhook.py Legacy api fix (#18733) 2018-11-27 10:41:44 +01:00
test_weblink.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00