From 064af5aecd7081f20ce32478c90762c41f93b8b4 Mon Sep 17 00:00:00 2001 From: oarcher Date: Sun, 19 May 2024 00:30:58 +0200 Subject: [PATCH] ready option is required --- esphome/components/modem/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/modem/__init__.py b/esphome/components/modem/__init__.py index 9d59e43fca..7d87c213e7 100644 --- a/esphome/components/modem/__init__.py +++ b/esphome/components/modem/__init__.py @@ -39,7 +39,7 @@ CONFIG_SCHEMA = cv.All( cv.Required(CONF_RX_PIN): cv.positive_int, cv.Required(CONF_MODEL): cv.string, cv.Required(CONF_APN): cv.string, - cv.Optional(CONF_READY): cv.use_id(BinarySensor), + cv.Required(CONF_READY): cv.use_id(BinarySensor), cv.Optional(CONF_FLIGHT_PIN): cv.positive_int, cv.Optional(CONF_POWER_PIN): cv.positive_int, cv.Optional(CONF_STATUS_PIN): cv.positive_int,