Browse Source

Use DISABLE_ASYNCTCP_ACK_TIMEOUTS to fix client disconnects (depends on not yet accepted pull request: https://github.com/esphome/esphome/pull/1712).

pull/20/head
Maurice Makaay 3 years ago
parent
commit
7f718a6d7e
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      __init__.py

+ 3
- 0
__init__.py View File

@ -123,5 +123,8 @@ 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)

Loading…
Cancel
Save