core/tests
Angelo Gagliano 874e1f6103
Prevent tplink missing devices and unavailable state ()
* Adds self to codeowners for tplink

* Adds retry to update to prevent missing devices

* Runs through isort and corrects async commit

* Runs through black

* Runs through pre-checks

* Corrects and matches var names

* Re-runs through black

* Corrects var name

* Removes the retry loop and in favor of async add

* Cleanup imports

* Removes no longer valid test

* Removes is_ready and only log retry once

* Corrects switch logging vars

* Adds list of entities to add_entities

* Consumes exception for attempt_update

* Consumes specific exception

* Removes unnecessary update

* Reducing back to 2 seconds

* Removes useless return

* Call get_sysinfo for all at once

* Formated black

* Adds missing docstirng

* Corrects docstring

* Update homeassistant/components/tplink/light.py

Co-authored-by: Anders Melchiorsen <amelchio@nogoto.net>

* Corrects sysinfo call

* Adds default for host vars

* Adds log when device responds again

* Revert host alias default

* Removes unncessary host var

* Removes host var

* Get device details from sysinfo

* Use host and alias for log msg

* Gets hosts from smartbulb

* Changes retry logging to debug

* Attempts coverage add

* Removes unused import

* Updates tests for new retry

* Runs through isort

* Removes unneeded try

* Prevents static entries from failing integration

* Format black

* Forces an update after turn on off

* Remove common test

* Revert update after turn_on off

* Adds patch for sleep_time 0

* Returns False when update fails

Co-authored-by: Anders Melchiorsen <amelchio@nogoto.net>
2020-10-11 21:10:36 +02:00
..
auth Use core GitHub URL in all files () 2020-10-03 00:04:11 +02:00
components Prevent tplink missing devices and unavailable state () 2020-10-11 21:10:36 +02:00
fixtures Clean up some of the ozw tests () 2020-10-10 09:45:20 +02:00
hassfest Upgrade isort to 5.4.2 () 2020-08-29 08:23:55 +02:00
helpers Allow custom_serializer to recognize cv.string and cv.boolean to make config schema more reusable () 2020-10-09 09:36:54 +02:00
mock Upgrade pytest to 6.0.2 () 2020-09-15 10:09:56 +02:00
resources
scripts Support dual stack IP support (IPv4 and IPv6) () 2020-08-04 15:34:23 +02:00
test_util Add support for Flo by Moen water shutoff devices () 2020-08-10 14:19:38 +02:00
testing_config Add missing unit for signal strength () 2020-10-01 16:14:29 +02:00
util Fix string parameter processing in parse_time_expression () () 2020-10-09 11:48:49 +02:00
__init__.py
async_mock.py Upgrade isort to 5.4.2 () 2020-08-29 08:23:55 +02:00
bandit.yaml
common.py Fix local media browser source conflicting with local www folder () 2020-09-16 21:38:40 +02:00
conftest.py Cache matching MQTT subscriptions () 2020-10-08 08:52:23 +02:00
ignore_uncaught_exceptions.py Upgrade black to 20.8b1 () 2020-08-27 13:56:20 +02:00
test_bootstrap.py Upgrade black to 20.8b1 () 2020-08-27 13:56:20 +02:00
test_config.py Add native Python types support to templates () 2020-10-07 00:05:52 +02:00
test_config_entries.py Upgrade black to 20.8b1 () 2020-08-27 13:56:20 +02:00
test_core.py Determine how to run listeners at setup time instead of execution time () 2020-10-07 16:51:50 +02:00
test_data_entry_flow.py
test_loader.py Add MQTT integration discovery () 2020-10-07 18:30:51 +02:00
test_main.py
test_requirements.py Add MQTT integration discovery () 2020-10-07 18:30:51 +02:00
test_setup.py Upgrade black to 20.8b1 () 2020-08-27 13:56:20 +02:00