mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Remove refresh interval configuration option from history graph card (#15154)
This commit is contained in:
parent
6fc5fd9cc4
commit
f991a1b819
@ -299,7 +299,6 @@ export interface MediaControlCardConfig extends LovelaceCardConfig {
|
||||
export interface HistoryGraphCardConfig extends LovelaceCardConfig {
|
||||
entities: Array<EntityConfig | string>;
|
||||
hours_to_show?: number;
|
||||
refresh_interval?: number;
|
||||
title?: string;
|
||||
show_names?: boolean;
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ const cardConfigStruct = assign(
|
||||
entities: array(entitiesConfigStruct),
|
||||
title: optional(string()),
|
||||
hours_to_show: optional(number()),
|
||||
refresh_interval: optional(number()),
|
||||
refresh_interval: optional(number()), // deprecated
|
||||
show_names: optional(boolean()),
|
||||
})
|
||||
);
|
||||
@ -40,10 +40,6 @@ const SCHEMA = [
|
||||
type: "grid",
|
||||
schema: [
|
||||
{ name: "hours_to_show", selector: { number: { min: 1, mode: "box" } } },
|
||||
{
|
||||
name: "refresh_interval",
|
||||
selector: { number: { min: 1, mode: "box" } },
|
||||
},
|
||||
],
|
||||
},
|
||||
] as const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user