a-p-z / datetime-card

A minimalistic card for Home Assistant Lovelace UI which shows how many days it has been between any input_datetime and today.
21 stars 1 forks source link

deeper documentation #17

Closed andy-arbeit closed 10 months ago

andy-arbeit commented 1 year ago

Hey there,

I am missing a deeper documentation of the config of this card. Where can I find all configurable options?

greets

a-p-z commented 1 year ago

https://github.com/a-p-z/datetime-card/blob/main/src/types.d.ts#L7

export interface IConfig {
    readonly type: string = "custom:datetime-card";
    entities?: IEntity[] = [];
    flex_direction: "column" | "row" | "column-reverse" | "row-reverse";
    image?: string;
    title?: string;
    show_names: boolean;
}

export interface IEntity {
    id: string;
    max: number;
}