[cover] move time_based_cover to its own subdirectory (#15313)

Co-authored-by: Rene <rene@guca.at>
This commit is contained in:
Rene Guca
2026-03-31 21:59:24 -04:00
committed by GitHub
co-authored by Rene
parent 31a70ab299
commit 212b3e1688
4 changed files with 5 additions and 1 deletions
@@ -0,0 +1,3 @@
import esphome.codegen as cg
time_based_ns = cg.esphome_ns.namespace("time_based")
@@ -11,7 +11,8 @@ from esphome.const import (
CONF_STOP_ACTION,
)
time_based_ns = cg.esphome_ns.namespace("time_based")
from .. import time_based_ns
TimeBasedCover = time_based_ns.class_("TimeBasedCover", cover.Cover, cg.Component)
CONF_HAS_BUILT_IN_ENDSTOP = "has_built_in_endstop"