Fix documentation form (#16601)

This commit is contained in:
Paul Bottein
2023-05-23 14:45:53 +02:00
committed by GitHub
parent e9d9d89d79
commit 303087d049
2 changed files with 2 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ export const computeInitialHaFormData = (
data[field.name] = "00:00:00";
} else if ("date" in selector || "datetime" in selector) {
const now = new Date().toISOString().slice(0, 10);
data[field.name] = `${now} 00:00:00`;
data[field.name] = `${now}T00:00:00`;
} else if ("color_rgb" in selector) {
data[field.name] = [0, 0, 0];
} else if ("color_temp" in selector) {