core/tests/components
David F. Mulcahey 74cdf7c347
Add tests for ZHA switch (#20691)
* start test setup

test cleanup

test deps

update switch test

actually update test deps

cleanup and remove switch from coveragerc

comment

refactor to use fixtures and shared components

lint

* remove availability part that isn't in zha yet

* review comments and cleanup

* review comments

* add switch back unil post reorg merge
2019-02-03 07:03:31 -05:00
..
air_quality Rename air pollutants to air quality (#19448) 2019-01-05 11:42:36 -05:00
alarm_control_panel Move MQTT platforms under the component (#20050) 2019-01-15 17:31:06 +01:00
alexa Small refactoring for the alexa component (#19782) 2019-01-10 17:39:49 -08:00
ambient_station Make Ambient PWS async and cloud-push (#20332) 2019-01-28 15:35:39 -08:00
arlo Embed all platforms into components (#20677) 2019-02-02 07:13:16 -08:00
auth No more opt-out auth (#18854) 2018-12-02 16:32:53 +01:00
automation Add character encoding to MQTT automation. (#20292) 2019-01-24 22:43:56 -08:00
binary_sensor Change deCONZ to embedded platforms (#20113) 2019-01-15 19:29:56 +01:00
calendar Embed all platforms into components (#20677) 2019-02-02 07:13:16 -08:00
camera Upgrade aiohttp to 3.5.3 (#19957) 2019-01-16 14:23:46 -08:00
cast Consolidate config flow components (#20635) 2019-02-01 15:45:44 -08:00
climate Embed all platforms into components (#20677) 2019-02-02 07:13:16 -08:00
cloud Add command to refresh auth (#20183) 2019-01-17 19:33:01 +01:00
config Add remove commmand to entity registry (#20597) 2019-01-30 09:50:32 -08:00
counter Async tests for counter (#18684) 2018-11-24 16:12:29 -05:00
cover Change deCONZ to embedded platforms (#20113) 2019-01-15 19:29:56 +01:00
daikin Add config flow for Daikin (#19182) 2018-12-16 16:19:18 +01:00
deconz Change deCONZ to embedded platforms (#20113) 2019-01-15 19:29:56 +01:00
device_tracker Consolidate config flow components (#20635) 2019-02-01 15:45:44 -08:00
dialogflow Use a fixture for dialogflow calls in unit tests (#17999) 2018-11-01 19:37:38 +01:00
ecobee Embed all platforms into components (#20677) 2019-02-02 07:13:16 -08:00
emulated_hue add empy all groups view. Makes Brilliant Lightpad work (#20564) 2019-01-29 09:26:07 -08:00
emulated_roku Add emulated_roku component (#17596) 2019-01-11 03:20:35 +01:00
esphome Add ESPHome native API discovery (#19399) 2019-01-05 16:00:07 +01:00
fan Change STATE_UNKOWN to None (#20337) 2019-01-24 08:20:20 +01:00
fritzbox Embed all platforms into components (#20677) 2019-02-02 07:13:16 -08:00
frontend Fix map icons 2019-01-30 17:09:56 +01:00
geo_location Geo Location -> Geolocation (class names and unit test comments) (#19877) 2019-01-08 20:11:51 -08:00
geofency Load/unload geofency entities correctly between component and platform (#20497) 2019-01-27 13:18:20 -08:00
google Embed all platforms into components (#20677) 2019-02-02 07:13:16 -08:00
google_assistant bugfix: ensure the `google_assistant` component respects `allow_unlock` (#18874) 2018-12-02 11:14:46 +01:00
gpslogger Load/unload gpslogger entities correctly between component and platform (#20448) 2019-01-27 15:37:19 -08: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 Update test_auth.py 2019-01-11 12:55:23 -08:00
homekit Add safe_mode HomeKit (#18356) 2018-11-16 11:08:39 +01:00
homekit_controller Add support for HomeKit motion sensor devices (#20555) 2019-01-28 20:30:56 -08:00
homematicip_cloud HomematicIP add cover FROLL and BROLL devices (#19794) 2019-01-22 09:22:45 +01:00
http Fix HTTP login attempts check triggering too late (#20431) 2019-01-26 03:13:44 +01:00
hue Add check to validate gamut (#20518) 2019-01-28 17:52:00 -08: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 Consolidate config flow components (#20635) 2019-02-01 15:45:44 -08:00
kira Embed all platforms into components (#20677) 2019-02-02 07:13:16 -08:00
light Embed all platforms into components (#20677) 2019-02-02 07:13:16 -08:00
locative Load/unload locative entities correctly between component and platform (#20498) 2019-01-27 23:43:16 +01:00
lock Embed all platforms into components (#20677) 2019-02-02 07:13:16 -08:00
lovelace Add lovelace systeam health (#20592) 2019-01-30 12:57:56 -08: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 Embed all platforms into components (#20677) 2019-02-02 07:13:16 -08:00
mochad Embed all platforms into components (#20677) 2019-02-02 07:13:16 -08:00
mqtt Move mqtt_mock to tests/components/mqtt/conftest.py (#20621) 2019-01-31 21:22:29 +01:00
nest Show notification when user configures Nest client_id/secret (#14970) 2018-06-15 15:19:58 -04:00
notify Add notify.html5_dismiss service (#19912) 2019-01-15 15:31:57 -08:00
onboarding No more opt-out auth (#18854) 2018-12-02 16:32:53 +01:00
openuv Adjust OpenUV integration for upcoming API limit changes (#19949) 2019-01-14 13:12:06 +01: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 Error handling for recorder purge (#20424) 2019-01-26 11:02:16 +01:00
remote Embed all platforms into components (#20677) 2019-02-02 07:13:16 -08:00
scene Change deCONZ to embedded platforms (#20113) 2019-01-15 19:29:56 +01:00
sensor Embed all platforms into components (#20677) 2019-02-02 07:13:16 -08:00
simplisafe Add config entry for SimpliSafe (#17148) 2018-10-12 19:07:47 +02:00
smartthings Add SmartThings button support via events (#20707) 2019-02-02 22:08:37 -08:00
smhi Consolidate config flow components (#20635) 2019-02-01 15:45:44 -08:00
sonos Consolidate config flow components (#20635) 2019-02-01 15:45:44 -08:00
switch Embed all platforms into components (#20677) 2019-02-02 07:13:16 -08:00
system_health RFC: Add system health component (#20436) 2019-01-30 10:57:53 -08:00
tellduslive Fix tellduslive discovery and auth issues (#20023) 2019-01-15 06:36:17 +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 Embed all platforms into components (#20677) 2019-02-02 07:13:16 -08: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
utility_meter Utility meter (#19718) 2019-01-26 16:33:11 +01:00
vacuum Embed all platforms into components (#20677) 2019-02-02 07:13:16 -08:00
verisure Embed all platforms into components (#20677) 2019-02-02 07:13:16 -08:00
water_heater RFC: Call services directly (#18720) 2018-11-30 21:28:35 +01:00
weather Consolidate config flow components (#20635) 2019-02-01 15:45:44 -08:00
webostv Embed all platforms into components (#20677) 2019-02-02 07:13:16 -08:00
websocket_api assign user to websocket connection when using legacy_api_password (#19797) 2019-01-08 20:45:24 -08:00
xiaomi_miio Embed all platforms into components (#20677) 2019-02-02 07:13:16 -08:00
zha Add tests for ZHA switch (#20691) 2019-02-03 07:03:31 -05: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 Add data/data_template/title to alert component (#17616) 2019-01-23 08:47:37 +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 Accept both domains and entities in influxdb include (#19927) 2019-01-15 16:20:51 -08: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 Move mqtt_mock to tests/components/mqtt/conftest.py (#20621) 2019-01-31 21:22:29 +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 RFC: Add system health component (#20436) 2019-01-30 10:57:53 -08: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 Remove trailing slash from base_url and added ability to generate webhook path. (#20295) 2019-01-21 20:50:41 +01:00
test_weblink.py Pytest tests (#17750) 2018-10-24 12:10:05 +02:00