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-26 08:59:11 -10:00
2020-08-09 09:21:36 -05:00
2020-07-03 11:29:35 -07:00
2020-07-28 17:51:35 +02:00
2020-05-08 09:49:47 -05:00
2020-05-31 22:18:30 -07:00
2020-07-30 08:41:18 -10:00
2020-05-31 22:18:30 -07:00
2020-08-05 14:58:19 +02:00
2020-06-23 17:05:32 -05:00
2020-07-14 10:47:59 -07:00
2020-08-15 15:26:54 +02:00
2020-06-15 16:30:40 -07:00
2020-08-02 09:08:12 -05:00
2020-06-30 11:59:21 -05:00
2020-07-13 17:43:11 +02:00
2020-06-08 12:26:40 -07:00
2020-05-03 11:27:19 -07:00
2020-05-03 11:27:19 -07:00
2020-06-06 13:43:28 -07:00
2020-05-03 11:27:19 -07:00
2020-06-29 09:39:24 -07:00
2020-05-26 08:38:02 +02:00
2020-07-14 18:03:24 -10:00
2020-06-08 12:26:40 -07:00
2020-05-25 15:39:24 -04:00
2020-08-17 11:54:56 -05:00
2020-07-03 11:29:35 -07:00
2020-07-03 11:29:35 -07:00
2020-04-30 13:29:50 -07:00
2020-08-08 13:23:56 -05:00
2020-07-26 00:04:10 +02:00
2020-06-30 11:59:21 -05:00
2020-05-31 22:18:30 -07:00
2020-08-05 14:58:19 +02:00
2020-06-08 12:26:40 -07:00
2020-05-26 13:29:19 +02:00
2020-08-05 12:21:14 +02:00
2020-05-03 11:27:19 -07:00
2020-06-08 12:26:40 -07:00
2020-08-07 21:22:13 -05:00
2020-05-25 16:05:52 -04:00
2020-08-20 17:30:41 +02:00
2020-07-14 22:17:14 +02:00
2020-05-09 22:16:21 -04:00
2020-06-02 18:54:58 -05:00
2020-05-03 11:27:19 -07:00
2020-05-31 22:18:30 -07:00
2020-05-31 22:18:30 -07:00
2020-06-08 12:26:40 -07:00
2020-08-06 17:21:45 +02:00
2020-06-29 09:39:24 -07:00
2020-05-20 23:47:30 +02:00
2020-06-29 09:39:24 -07:00
2020-06-08 12:26:40 -07:00
2020-08-04 17:00:02 -10:00
2020-07-31 15:47:01 +02:00
2020-06-08 12:26:40 -07:00
2020-07-19 13:48:08 -07:00
2020-08-09 13:08:07 -05:00
2020-06-22 21:22:52 -07:00
2020-04-20 18:07:50 -07:00
2020-08-05 14:58:19 +02:00
2020-06-20 22:59:25 +02:00
2020-06-08 12:26:40 -07:00
2020-07-05 12:50:51 -05:00
2020-06-22 15:17:59 +02:00
2020-08-08 13:23:56 -05:00
2020-07-17 18:17:40 -07:00
2020-07-05 12:55:44 -05:00
2020-07-06 15:16:21 -07:00
2020-05-03 11:27:19 -07:00
2020-08-08 14:41:02 +02:00
2020-05-31 22:18:30 -07:00
2020-06-29 09:39:24 -07:00
2020-06-02 17:52:36 -07:00
2020-07-02 02:14:54 +02:00
2020-05-08 17:52:32 +02:00
2020-08-01 16:39:55 -10:00
2020-07-21 14:18:43 -10:00
2020-04-30 13:29:50 -07:00
2020-08-05 14:58:19 +02:00
2020-06-08 12:26:40 -07:00
2020-06-29 09:39:24 -07:00
2020-06-03 07:01:56 -05:00
2020-08-11 18:33:16 +02:00
2020-06-16 05:31:11 +01:00
2020-08-10 15:51:04 +02:00
2020-04-14 09:56:50 +02:00
2020-04-30 13:29:50 -07:00
2020-06-08 12:26:40 -07:00
2020-08-05 11:26:17 +02:00
2020-04-30 13:29:50 -07:00
2020-08-20 10:27:14 +02:00
2020-05-03 11:27:19 -07:00
2020-07-08 20:46:38 -04:00
2020-04-30 16:24:47 -07:00
2020-05-31 22:18:30 -07:00
2020-06-08 12:26:40 -07:00
2020-06-08 12:26:40 -07:00
2020-08-19 16:38:34 -05:00
2020-05-03 11:27:19 -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-05-31 22:18:30 -07:00
2020-07-16 17:58:45 -07:00
2020-07-03 11:29:35 -07:00
2020-08-13 07:52:30 -04:00
2020-05-30 17:27:20 +02:00
2020-04-30 13:29:50 -07:00
2020-08-05 14:58:19 +02:00
2020-07-13 17:43:11 +02:00
2020-07-13 17:43:11 +02:00
2020-05-31 22:18:30 -07:00
2020-06-24 14:19:08 +02:00
2020-05-03 11:27:19 -07:00
2020-05-03 11:27:19 -07:00
2020-08-05 17:42:23 +02:00
2020-07-03 11:42:56 -07:00
2020-07-02 13:45:57 -05:00
2020-06-22 16:11:18 -07:00
2020-06-29 09:39:24 -07:00
2020-07-04 17:21:37 +02:00
2020-08-17 11:54:56 -05:00
2020-06-08 12:26:40 -07:00
2020-05-08 17:52:32 +02:00
2020-07-04 17:42:28 +02:00
2020-07-04 19:06:42 -07:00
2020-04-30 13:29:50 -07:00
2020-07-25 21:43:45 +02:00
2020-05-30 17:27:20 +02:00
2020-08-09 14:03:53 +02:00
2020-06-30 11:59:21 -05:00
2020-05-08 02:29:47 +02:00
2020-06-08 12:26:40 -07:00
2020-05-08 17:52:32 +02:00
2020-05-03 11:27:19 -07:00
2020-04-30 13:29:50 -07:00
2020-08-08 14:28:04 -07:00
2020-07-03 11:29:35 -07:00
2020-05-03 11:27:19 -07:00
2020-07-29 21:20:06 +02:00
2020-08-12 08:00:38 +02:00
2020-06-08 12:26:40 -07:00
2020-08-08 14:41:02 +02:00
2020-06-29 09:39:24 -07:00
2020-04-30 13:29:50 -07:00
2020-07-14 22:31:34 +02:00
2020-06-08 12:26:40 -07:00
2020-08-02 17:52:53 -10:00
2020-08-15 15:26:54 +02:00
2020-08-18 21:10:43 +02:00
2020-08-06 17:47:39 -05:00
2020-08-14 10:34:52 -05:00
2020-06-08 12:26:40 -07:00
2020-07-14 22:43:21 +02:00
2020-05-03 11:27:19 -07:00
2020-08-18 23:32:19 +02:00
2020-04-30 21:37:58 +02:00
2020-07-10 09:37:36 -07:00
2020-07-17 21:57:52 -07:00
2020-05-10 22:06:31 -07:00
2020-06-15 00:15:20 +02:00
2020-05-03 11:27:19 -07:00
2020-05-03 11:27:19 -07:00
2020-05-31 22:18:30 -07:00
2020-08-19 11:33:04 +02:00
2020-06-01 11:44:45 -07:00
2020-06-08 12:26:40 -07:00
2020-07-16 09:42:02 +02:00
2020-05-03 11:27:19 -07:00
2020-05-03 11:27:19 -07:00
2020-05-03 11:27:19 -07:00
2020-05-03 11:27:19 -07:00
2020-05-03 11:27:19 -07:00
2020-08-11 18:04:44 -05:00
2020-05-03 11:27:19 -07:00
2020-04-17 10:25:31 +02:00
2020-08-10 21:55:44 -05:00
2020-08-02 13:02:47 -10:00
2020-08-13 11:47:18 -05:00
2020-07-26 10:26:32 +02:00
2020-05-13 11:15:17 -05:00
2020-04-30 13:29:50 -07:00
2020-06-29 09:39:24 -07:00
2020-07-03 11:29:35 -07:00
2020-06-08 12:26:40 -07:00
2020-08-17 09:47:21 +02:00
2020-05-31 22:18:30 -07:00
2020-07-21 17:19:07 -07:00
2020-08-17 11:54:56 -05:00
2020-05-31 22:18:30 -07:00
2020-04-09 16:06:01 +02:00
2020-05-08 17:52:32 +02:00
2020-08-05 14:58:19 +02:00
2020-07-16 21:48:22 -07:00
2020-06-08 12:26:40 -07:00
2020-07-13 10:20:18 -07:00
2020-04-30 13:29:50 -07:00
2020-06-08 12:26:40 -07:00
2020-05-03 11:27:19 -07:00
2020-05-03 11:27:19 -07:00
2020-05-22 23:01:48 +02:00
2020-04-09 00:57:47 +02:00
2020-05-08 17:52:32 +02:00
2020-06-29 09:39:24 -07:00
2020-06-29 09:39:24 -07:00
2020-06-05 10:59:55 +02:00
2020-06-08 12:26:40 -07:00
2020-04-30 13:29:50 -07:00
2020-05-03 11:27:19 -07:00
2020-08-10 20:22:39 -05:00
2020-08-01 22:56:00 +02:00
2020-06-29 09:39:24 -07:00
2020-05-31 22:18:30 -07:00
2020-05-03 11:27:19 -07:00
2020-04-30 13:29:50 -07:00
2020-06-01 11:44:45 -07:00
2020-06-01 11:44:45 -07:00
2020-06-29 09:39:24 -07:00
2020-05-10 08:44:05 -05:00
2020-07-18 16:18:31 -07:00
2020-04-30 13:29:50 -07:00
2020-07-13 17:43:11 +02:00
2020-08-10 17:54:46 +02:00
2020-06-08 12:26:40 -07:00
2020-05-31 22:18:30 -07:00
2020-06-08 12:26:40 -07:00
2020-05-12 22:30:59 +02:00
2020-06-29 09:39:24 -07:00
2020-08-17 11:54:56 -05:00
2020-06-23 10:17:22 -07:00
2020-06-22 23:59:50 +02:00
2020-06-22 23:59:50 +02:00
2020-06-23 20:02:29 -05:00
2020-04-30 13:29:50 -07:00
2020-04-30 13:29:50 -07:00
2020-05-03 11:27:19 -07:00
2020-04-30 13:29:50 -07:00
2020-04-30 13:29:50 -07:00
2020-08-15 15:26:54 +02:00
2020-04-30 13:29:50 -07:00
2020-06-23 10:17:22 -07:00
2020-08-13 07:46:07 -04:00
2020-04-30 13:29:50 -07:00
2020-06-08 12:26:40 -07:00
2020-05-31 22:18:30 -07:00
2020-05-03 11:27:19 -07:00
2020-04-30 14:23:30 +02:00
2020-07-29 23:20:19 +02:00
2020-06-29 15:41:52 -07:00
2020-06-09 14:19:46 +02:00
2020-08-10 20:22:39 -05:00
2020-05-24 21:50:50 +02:00
2020-05-31 22:18:30 -07:00
2020-06-01 11:44:45 -07:00
2020-05-03 11:27:19 -07:00
2020-06-08 12:26:40 -07:00
2020-04-30 13:29:50 -07:00
2020-05-31 22:18:30 -07:00
2020-08-05 14:38:29 +02:00
2020-07-13 17:43:11 +02:00
2020-08-19 09:37:04 -04:00
2020-07-03 11:29:35 -07:00
2020-06-19 16:03:39 +02:00
2020-06-08 12:26:40 -07:00
2020-08-19 11:33:04 +02:00
2020-07-17 23:19:01 -07:00
2020-06-29 09:39:24 -07:00
2020-07-14 22:24:27 -07:00
2020-08-03 12:40:48 +02:00
2020-07-03 15:28:34 -07:00
2020-07-03 16:40:17 -05:00
2020-05-30 17:27:20 +02:00
2020-07-03 15:38:05 -07:00
2020-06-11 10:15:02 -07:00
2020-07-12 21:27:33 +02:00
2020-06-08 12:26:40 -07:00
2020-07-03 11:34:11 -07:00
2020-05-03 11:27:19 -07:00
2020-06-29 09:39:24 -07:00
2020-06-08 12:26:40 -07:00
2020-06-29 09:39:24 -07:00
2020-05-03 11:27:19 -07:00
2020-05-31 22:18:30 -07:00
2020-04-30 13:29:50 -07:00
2020-04-30 13:29:50 -07:00
2020-06-08 12:26:40 -07:00
2020-08-07 18:01:55 -06:00
2020-05-31 22:18:30 -07:00
2020-08-08 14:41:02 +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-06-23 15:08:55 -07:00
2020-06-29 09:39:24 -07:00
2020-08-01 11:26:26 -05:00
2020-06-08 12:26:40 -07:00
2020-07-31 14:38:49 +02:00
2020-06-23 09:03:43 -07:00
2020-05-04 08:28:32 -04:00
2020-08-12 09:09:47 -04:00
2020-04-09 00:57:47 +02:00
2020-08-15 20:25:37 +02:00
2020-06-08 12:26:40 -07:00
2020-07-10 17:00:57 -07:00
2020-06-08 12:26:40 -07:00
2020-04-30 13:29:50 -07:00
2020-08-08 21:04:18 +02:00
2020-08-20 11:37:27 +02:00
2020-06-05 10:59:55 +02:00
2020-08-04 16:59:19 -10:00
2020-04-30 13:29:50 -07:00
2020-06-08 12:26:40 -07:00
2020-05-31 22:18:30 -07:00
2020-07-05 23:04:19 +02:00
2020-07-24 16:11:02 +02:00
2020-06-08 12:26:40 -07:00
2020-05-31 22:18:30 -07:00
2020-08-15 15:26:54 +02:00
2020-08-19 13:16:45 -05:00
2020-07-05 14:20:51 -05:00
2020-07-31 17:40:23 +02:00
2020-05-31 22:18:30 -07:00
2020-06-08 12:26:40 -07:00
2020-06-22 23:59:50 +02:00
2020-05-03 11:27:19 -07:00
2020-04-30 13:29:50 -07:00
2020-05-03 11:27:19 -07:00
2020-08-15 15:26:54 +02:00
2020-08-20 12:21:58 +02:00
2020-07-05 23:04:19 +02:00
2020-05-17 16:16:50 -05:00
2020-05-12 22:56:12 +02:00
2020-04-10 19:17:46 +02:00
2020-06-10 18:33:48 +02:00
2020-08-04 22:37:20 +02:00
2020-06-23 20:02:29 -05:00
2020-08-15 15:26:54 +02:00
2020-05-31 22:18:30 -07:00
2020-07-03 11:29:35 -07:00
2020-08-05 15:50:56 +02:00
2020-05-31 22:18:30 -07:00
2020-07-14 22:25:48 -07: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-04-30 13:29:50 -07:00
2020-08-13 20:48:26 -05:00
2020-05-14 22:20:53 -05:00
2020-08-08 14:41:02 +02:00
2020-04-30 13:29:50 -07:00
2020-08-18 16:22:53 +02:00
2020-05-03 11:27:19 -07:00
2020-05-31 22:18:30 -07:00
2020-06-15 13:38:38 +02:00
2020-08-20 09:30:31 -05:00
2020-04-30 13:29:50 -07:00
2020-05-03 14:40:19 +02:00
2020-06-05 21:12:48 +02:00
2020-06-08 12:26:40 -07:00
2020-05-03 11:27:19 -07:00
2020-06-29 09:39:24 -07:00
2020-08-15 15:26:54 +02:00
2020-06-03 18:38:31 +02:00
2020-08-08 14:41:02 +02:00
2020-05-08 17:52:32 +02:00
2020-05-31 22:18:30 -07:00
2020-06-28 13:56:54 +02:00
2020-06-08 12:26:40 -07:00
2020-05-31 22:18:30 -07:00
2020-06-15 13:33:26 +02:00
2020-05-10 22:01:00 -05:00
2020-05-03 11:27:19 -07:00
2020-05-31 22:18:30 -07:00
2020-06-08 12:26:40 -07:00
2020-06-02 10:35:27 +02:00
2020-04-30 13:29:50 -07:00
2020-06-08 12:26:40 -07:00
2020-07-03 11:29:35 -07:00
2020-08-12 08:00:38 +02:00
2020-05-14 22:58:41 +02:00
2020-06-08 12:26:40 -07:00
2020-05-31 22:18:30 -07:00
2020-07-20 20:18:31 -10:00
2020-06-08 12:26:40 -07:00
2020-04-26 02:11:08 +02:00
2020-05-03 11:27:19 -07:00
2020-06-13 16:36:50 +02:00
2020-05-03 11:27:19 -07:00
2020-05-03 11:27:19 -07:00
2020-05-03 11:27:19 -07:00
2020-04-30 13:29:50 -07:00
2020-08-12 16:50:36 +02:00
2020-05-08 02:29:47 +02:00
2020-08-08 13:23:56 -05:00
2020-06-08 12:26:40 -07:00
2020-07-08 14:25:21 -07:00
2020-05-01 16:29:14 +02:00
2020-06-17 07:39:33 +02:00
2020-08-17 11:54:56 -05:00
2020-05-27 15:51:39 +02:00
2020-08-19 14:57:38 +02:00
2020-07-03 11:29:35 -07:00
2020-08-02 09:36:14 -05:00
2020-08-10 17:50:03 +02:00
2020-07-20 11:52:52 +02:00
2020-05-31 22:18:30 -07:00
2020-06-25 11:41:53 -07:00
2020-06-08 12:26:40 -07:00
2020-05-31 22:18:30 -07:00
2020-04-30 13:29:50 -07:00
2020-08-06 12:54:18 +02:00
2020-07-04 14:56:16 +02:00
2020-06-08 19:31:58 +02:00
2020-08-20 05:30:48 +02:00
2020-05-08 02:29:47 +02:00
2020-08-02 16:37:31 +02:00
2020-05-03 11:27:19 -07:00
2020-06-29 09:39:24 -07:00
2020-08-13 22:00:39 -05:00
2020-07-03 11:29:35 -07:00
2020-08-10 17:40:07 -04:00
2020-08-17 11:54:56 -05:00
2020-07-20 20:18:31 -10:00
2020-08-12 16:08:33 +02:00