diff --git a/components/BalboaGL/climate.py b/components/BalboaGL/climate.py index 80901c3..48db9b8 100644 --- a/components/BalboaGL/climate.py +++ b/components/BalboaGL/climate.py @@ -5,11 +5,12 @@ from esphome.const import ( CONF_ID, CONF_HARDWARE_UART, - CONF_BAUD_RATE, CONF_UPDATE_INTERVAL, CONF_MODE, CONF_FAN_MODE, CONF_SWING_MODE, + CONF_RX_PIN, + CONF_TX_PIN, ) from esphome.core import CORE, coroutine @@ -52,6 +53,8 @@ def valid_uart(uart): cv.ensure_list(climate.validate_climate_fan_mode), cv.Optional(CONF_SWING_MODE, default=DEFAULT_SWING_MODES): cv.ensure_list(climate.validate_climate_swing_mode), + cv.Required(CONF_RX_PIN): cv.int_range(), + cv.Required(CONF_TX_PIN): cv.int_range(), } ), }