Use "any" as step for add-on configuration floats (#16478)

This commit is contained in:
Joakim Sørensen 2023-05-09 12:22:17 +02:00 committed by GitHub
parent ccf3238318
commit ec36d4a381
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,7 +140,12 @@ class HassioAddonConfig extends LitElement {
? {
name: entry.name,
required: entry.required,
selector: { number: { mode: "box" } },
selector: {
number: {
mode: "box",
step: entry.type === "float" ? "any" : undefined,
},
},
}
: entry
)