From e23e2edbf914c90b015abb4cf5d459b3ef8be167 Mon Sep 17 00:00:00 2001 From: Eric Chavet Date: Fri, 19 Apr 2024 19:45:43 +0200 Subject: [PATCH] UART unavailable on D1 Mini (ESP8226) after ~12hrs Fixes #70 missing include correction --- components/cn105/climate.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/components/cn105/climate.py b/components/cn105/climate.py index e9b9871..9646810 100644 --- a/components/cn105/climate.py +++ b/components/cn105/climate.py @@ -20,7 +20,15 @@ ) from esphome.core import CORE, coroutine -AUTO_LOAD = ["climate", "sensor", "select", "binary_sensor", "text_sensor", "uart"] +AUTO_LOAD = [ + "climate", + "sensor", + "select", + "binary_sensor", + "text_sensor", + "uart", + "uptime", +] CONF_SUPPORTS = "supports" # from https://github.com/wrouesnel/esphome-mitsubishiheatpump/blob/master/components/mitsubishi_heatpump/climate.py