diff --git a/esphome/components/optolink/text/__init__.py b/esphome/components/optolink/text/__init__.py index 6cd6261f34..eb2de1a52a 100644 --- a/esphome/components/optolink/text/__init__.py +++ b/esphome/components/optolink/text/__init__.py @@ -18,7 +18,7 @@ from .. import ( SENSOR_BASE_SCHEMA, ) -DEPENDENCIES = ["optolink", "api"] +DEPENDENCIES = ["optolink"] CODEOWNERS = ["@j0ta29"] TextType = optolink_ns.enum("TextType") diff --git a/esphome/components/optolink/text_sensor/__init__.py b/esphome/components/optolink/text_sensor/__init__.py index 257cf030a0..a41817bb6b 100644 --- a/esphome/components/optolink/text_sensor/__init__.py +++ b/esphome/components/optolink/text_sensor/__init__.py @@ -17,7 +17,7 @@ from .. import ( SENSOR_BASE_SCHEMA, ) -DEPENDENCIES = ["optolink", "api"] +DEPENDENCIES = ["optolink"] CODEOWNERS = ["@j0ta29"] TextSensorType = optolink_ns.enum("TextSensorType")