mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-30 04:36:51 +00:00
Document number selector default (#40028)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
parent
908f3cdf65
commit
a368621566
@ -1121,11 +1121,11 @@ number:
|
|||||||
min:
|
min:
|
||||||
description: The minimum user-settable number value.
|
description: The minimum user-settable number value.
|
||||||
type: [integer, float]
|
type: [integer, float]
|
||||||
required: true
|
required: false
|
||||||
max:
|
max:
|
||||||
description: The maximum user-settable number value.
|
description: The maximum user-settable number value.
|
||||||
type: [integer, float]
|
type: [integer, float]
|
||||||
required: true
|
required: false
|
||||||
step:
|
step:
|
||||||
description: The step size of the number value. Set to `"any"` to allow any number.
|
description: The step size of the number value. Set to `"any"` to allow any number.
|
||||||
type: [integer, float, "any"]
|
type: [integer, float, "any"]
|
||||||
@ -1139,7 +1139,7 @@ mode:
|
|||||||
description: This can be either `box` or `slider` mode.
|
description: This can be either `box` or `slider` mode.
|
||||||
type: string
|
type: string
|
||||||
required: false
|
required: false
|
||||||
default: slider
|
default: slider if min and max are set, otherwise box
|
||||||
translation_key:
|
translation_key:
|
||||||
description: >
|
description: >
|
||||||
Allows translations provided by an integration where `translation_key`
|
Allows translations provided by an integration where `translation_key`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user