1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00
Files
core/tests/components
Felipe Martins Diel a2c1f08c8c Implement config flow in the Broadlink integration (#36914)
* Implement config flow in the Broadlink integration

* General improvements to the Broadlink config flow

* Remove unnecessary else after return

* Fix translations

* Rename device to device_entry

* Add tests for the config flow

* Improve docstrings

* Test we do not accept more than one config entry per device

* Improve helpers

* Allow empty packets

* Allow multiple config files for switches related to the same device

* Rename mock_device to mock_api

* General improvements

* Make new attempts before marking the device as unavailable

* Let the name be the template for the entity_id

* Handle OSError

* Test network unavailable in the configuration flow

* Rename lock attribute

* Update manifest.json

* Import devices from platforms

* Test import flow

* Add deprecation warnings

* General improvements

* Rename deprecate to discontinue

* Test device setup

* Add type attribute to mock api

* Test we handle an update failure at startup

* Remove BroadlinkDevice from tests

* Remove device.py from .coveragerc

* Add tests for the config flow

* Add tests for the device

* Test device registry and update listener

* Test MAC address validation

* Add tests for the device

* Extract domains and types to a helper function

* Do not patch integration details

* Add tests for the device

* Set device classes where appropriate

* Set an appropriate connection class

* Do not set device class for custom switches

* Fix tests and improve code readability

* Use RM4 to test authentication errors

* Handle BroadlinkException in the authentication
2020-08-20 17:30:41 +02:00
..
2020-07-13 17:43:11 +02:00
2020-06-08 12:26:40 -07:00
2020-06-06 13:43:28 -07:00
2020-06-08 12:26:40 -07:00
2020-05-26 13:29:19 +02:00
2020-06-08 12:26:40 -07:00
2020-06-08 12:26:40 -07:00
2020-06-08 12:26:40 -07:00
2020-07-02 02:14:54 +02:00
2020-06-08 12:26:40 -07:00
2020-07-08 20:46:38 -04:00
2020-06-08 12:26:40 -07:00
2020-06-08 12:26:40 -07:00
2020-07-22 20:21:32 -10:00
2020-06-08 12:26:40 -07:00
2020-07-13 17:43:11 +02:00
2020-07-02 13:45:57 -05:00
2020-06-08 12:26:40 -07:00
2020-07-10 09:37:36 -07:00
2020-08-19 11:33:04 +02:00
2020-08-02 13:02:47 -10:00
2020-06-08 12:26:40 -07:00
2020-08-17 11:54:56 -05:00
2020-06-05 10:59:55 +02:00
2020-05-10 08:44:05 -05:00
2020-07-13 17:43:11 +02:00
2020-06-08 12:26:40 -07:00
2020-08-17 11:54:56 -05:00
2020-08-13 07:46:07 -04:00
2020-04-30 14:23:30 +02:00
2020-06-29 15:41:52 -07:00
2020-08-19 11:33:04 +02:00
2020-07-03 11:34:11 -07:00
2020-06-08 12:26:40 -07:00
2020-06-08 12:26:40 -07:00
2020-06-08 12:26:40 -07:00
2020-06-08 12:26:40 -07:00
2020-06-08 12:26:40 -07:00
2020-06-08 12:26:40 -07:00
2020-06-05 10:59:55 +02:00
2020-06-08 12:26:40 -07:00
2020-06-08 12:26:40 -07:00
2020-06-08 12:26:40 -07:00
2020-08-04 22:37:20 +02:00
2020-06-08 12:26:40 -07:00
2020-08-19 23:18:54 -04:00
2020-04-09 00:57:47 +02:00
2020-08-17 11:54:56 -05:00
2020-08-19 14:57:38 +02:00
2020-05-03 14:40:19 +02:00
2020-06-05 21:12:48 +02:00
2020-06-29 09:39:24 -07:00
2020-05-10 22:01:00 -05:00
2020-06-08 12:26:40 -07:00
2020-06-08 12:26:40 -07:00
2020-06-08 12:26:40 -07:00
2020-08-17 11:54:56 -05:00
2020-06-08 12:26:40 -07:00
2020-06-29 09:39:24 -07:00
2020-08-17 11:54:56 -05:00