Adjust units in lcn (#84356)

pull/84362/head
epenet 2022-12-21 11:16:19 +01:00 committed by GitHub
parent c7cc4bcbd5
commit fa33f27153
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ class SendKeys(LcnServiceCall):
vol.Upper, vol.In(SENDKEYCOMMANDS) vol.Upper, vol.In(SENDKEYCOMMANDS)
), ),
vol.Optional(CONF_TIME, default=0): cv.positive_int, vol.Optional(CONF_TIME, default=0): cv.positive_int,
vol.Optional(CONF_TIME_UNIT, default=TIME_SECONDS): vol.All( vol.Optional(CONF_TIME_UNIT, default="S"): vol.All(
vol.Upper, vol.In(TIME_UNITS) vol.Upper, vol.In(TIME_UNITS)
), ),
} }