Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

default period selector on day

Vincenta127b12c5324
diff --git a/ui/component/or-attribute-card/src/index.ts b/ui/component/or-attribute-card/src/index.ts
index 6dfaf0e78..4520df6e8 100644
--- a/ui/component/or-attribute-card/src/index.ts
+++ b/ui/component/or-attribute-card/src/index.ts
@@ -196,7 +196,7 @@ export class OrAttributeCard extends LitElement {
private error: boolean = false;
- private period: moment.unitOfTime.Base = "month";
+ private period: moment.unitOfTime.Base = "day";
private now: Date = new Date();
private currentPeriod?: { start: number; end: number };