Add missing min and max values for some numbers in Overkiz (#72229)
This commit is contained in:
parent
ea05bd8c2e
commit
19781d285c
1 changed files with 4 additions and 0 deletions
|
@ -38,6 +38,8 @@ NUMBER_DESCRIPTIONS: list[OverkizNumberDescription] = [
|
||||||
name="My Position",
|
name="My Position",
|
||||||
icon="mdi:content-save-cog",
|
icon="mdi:content-save-cog",
|
||||||
command=OverkizCommand.SET_MEMORIZED_1_POSITION,
|
command=OverkizCommand.SET_MEMORIZED_1_POSITION,
|
||||||
|
min_value=0,
|
||||||
|
max_value=100,
|
||||||
entity_category=EntityCategory.CONFIG,
|
entity_category=EntityCategory.CONFIG,
|
||||||
),
|
),
|
||||||
# WaterHeater: Expected Number Of Shower (2 - 4)
|
# WaterHeater: Expected Number Of Shower (2 - 4)
|
||||||
|
@ -84,6 +86,8 @@ NUMBER_DESCRIPTIONS: list[OverkizNumberDescription] = [
|
||||||
key=OverkizState.CORE_LEVEL,
|
key=OverkizState.CORE_LEVEL,
|
||||||
icon="mdi:patio-heater",
|
icon="mdi:patio-heater",
|
||||||
command=OverkizCommand.SET_LEVEL,
|
command=OverkizCommand.SET_LEVEL,
|
||||||
|
min_value=0,
|
||||||
|
max_value=100,
|
||||||
inverted=True,
|
inverted=True,
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue