Fix schema generator for new esphome version

This commit is contained in:
2025-12-13 13:49:31 +00:00
parent 7d542a5c95
commit 1116f9f73f
2 changed files with 2 additions and 5 deletions
+1 -2
View File
@@ -13,9 +13,8 @@ CONF_TRANSMITTER = "transmitter"
CONF_REMOTE_ID_BASE = "remote_id_base"
CONF_REMOTE_ID_OFFSET = "remote_id_offset"
CONFIG_SCHEMA = cover.COVER_SCHEMA.extend(
CONFIG_SCHEMA = cover.cover_schema(SomfyRTSCover).extend(
{
cv.GenerateID(): cv.declare_id(SomfyRTSCover),
cv.Required(CONF_TRANSMITTER): cv.use_id(remote_transmitter.RemoteTransmitterComponent),
cv.Required(CONF_REMOTE_ID_BASE): cv.uint32_t,
cv.Required(CONF_REMOTE_ID_OFFSET): cv.uint32_t,