mirror of
https://github.com/esphome/esphome.git
synced 2024-11-30 02:34:12 +01:00
dallas: limit addresses to 64 bits (#5413)
This commit is contained in:
parent
a42788812e
commit
33e2aa341e
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ CONFIG_SCHEMA = cv.All(
|
||||||
).extend(
|
).extend(
|
||||||
{
|
{
|
||||||
cv.GenerateID(CONF_DALLAS_ID): cv.use_id(DallasComponent),
|
cv.GenerateID(CONF_DALLAS_ID): cv.use_id(DallasComponent),
|
||||||
cv.Optional(CONF_ADDRESS): cv.hex_int,
|
cv.Optional(CONF_ADDRESS): cv.hex_uint64_t,
|
||||||
cv.Optional(CONF_INDEX): cv.positive_int,
|
cv.Optional(CONF_INDEX): cv.positive_int,
|
||||||
cv.Optional(CONF_RESOLUTION, default=12): cv.int_range(min=9, max=12),
|
cv.Optional(CONF_RESOLUTION, default=12): cv.int_range(min=9, max=12),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue