diff --git a/src/components/ha-form/compute-initial-ha-form-data.ts b/src/components/ha-form/compute-initial-ha-form-data.ts index 92095b620400..93b1fc4d2d7b 100644 --- a/src/components/ha-form/compute-initial-ha-form-data.ts +++ b/src/components/ha-form/compute-initial-ha-form-data.ts @@ -54,7 +54,8 @@ export const computeInitialHaFormData = ( "icon" in selector || "template" in selector || "text" in selector || - "theme" in selector + "theme" in selector || + "object" in selector ) { data[field.name] = ""; } else if ("number" in selector) {