diff --git a/src/language-service/src/schemas/lovelace/cards/sensor.ts b/src/language-service/src/schemas/lovelace/cards/sensor.ts index dd7a125a10..809146a58c 100644 --- a/src/language-service/src/schemas/lovelace/cards/sensor.ts +++ b/src/language-service/src/schemas/lovelace/cards/sensor.ts @@ -45,6 +45,24 @@ export interface Schema { */ icon?: string; + /** + * Limits of the graph Y-axis. + * https://www.home-assistant.io/lovelace/sensor/#limits + */ + limits?: { + /** + * Minimum value of the graph Y-axis. + * https://www.home-assistant.io/lovelace/sensor/#min + */ + min?: number; + + /** + * Maximum value of the graph Y-axis. + * https://www.home-assistant.io/lovelace/sensor/#max + */ + max?: number; + }; + /** * The card name. * https://www.home-assistant.io/lovelace/sensor/#name