Skip to content

Commit 5fb330f

Browse files
committed
Add default
1 parent 77eee20 commit 5fb330f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/panels/lovelace/editor/conditions/types/ha-card-condition-time.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class HaCardConditionTime extends LitElement {
3939
@property({ type: Boolean }) public disabled = false;
4040

4141
public static get defaultConfig(): TimeCondition {
42-
return { condition: "time" };
42+
return { condition: "time", after: "08:00", before: "17:00" };
4343
}
4444

4545
protected static validateUIConfig(condition: TimeCondition) {

0 commit comments

Comments
 (0)