From a5ce2cc6083af7e975be5cd80c8336d8fa3649db Mon Sep 17 00:00:00 2001 From: Maurice Makaay Date: Sat, 22 May 2021 14:19:50 +0200 Subject: [PATCH] Deprecated work-around for API disconnects removed. --- components/xiaomi_bslamp2/__init__.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/xiaomi_bslamp2/__init__.py b/components/xiaomi_bslamp2/__init__.py index 7eb8bec..ca71f2e 100644 --- a/components/xiaomi_bslamp2/__init__.py +++ b/components/xiaomi_bslamp2/__init__.py @@ -123,8 +123,5 @@ def to_code(config): # the AUTO_LOAD feature unfortunately. CORE.config["output"].append({ CONF_PLATFORM: "gpio" }) - # A work-around for API disconnects. - cg.add_define("DISABLE_ASYNCTCP_ACK_TIMEOUTS") - yield make_light_hal(config) yield make_front_panel_hal(config)