{ "anyOf": [{ "$ref": "#/definitions/AlarmPanelCardConfig" }, { "$ref": "#/definitions/ConditionalCardConfig" }, { "$ref": "#/definitions/EmptyStateCardConfig" }, { "$ref": "#/definitions/EntitiesCardConfig" }, { "$ref": "#/definitions/EntityButtonCardConfig" }, { "$ref": "#/definitions/EntityFilterCardConfig" }, { "$ref": "#/definitions/ErrorCardConfig" }, { "$ref": "#/definitions/GaugeCardConfig" }, { "$ref": "#/definitions/GlanceCardConfig" }, { "$ref": "#/definitions/HistoryGraphConfig" }, { "$ref": "#/definitions/IframeCardConfig" }, { "$ref": "#/definitions/LightCardConfig" }, { "$ref": "#/definitions/MapCardConfig" }, { "$ref": "#/definitions/MarkdownCardConfig" }, { "$ref": "#/definitions/MediaControlCardConfig" }, { "$ref": "#/definitions/PictureCardConfig" }, { "$ref": "#/definitions/PictureElementsCardConfig" }, { "$ref": "#/definitions/PictureEntityCardConfig" }, { "$ref": "#/definitions/PictureGlanceCardConfig" }, { "$ref": "#/definitions/PlantStatusCardConfig" }, { "$ref": "#/definitions/SensorCardConfig" }, { "$ref": "#/definitions/ShoppingListCardConfig" }, { "$ref": "#/definitions/StackCardConfig" }, { "$ref": "#/definitions/ThermostatCardConfig" }, { "$ref": "#/definitions/WeatherForecastCardConfig" }, { "$ref": "#/definitions/CustomCardConfig" }, { "type": "array", "items": { "anyOf": [{ "$ref": "#/definitions/AlarmPanelCardConfig" }, { "$ref": "#/definitions/ConditionalCardConfig" }, { "$ref": "#/definitions/EmptyStateCardConfig" }, { "$ref": "#/definitions/EntitiesCardConfig" }, { "$ref": "#/definitions/EntityButtonCardConfig" }, { "$ref": "#/definitions/EntityFilterCardConfig" }, { "$ref": "#/definitions/ErrorCardConfig" }, { "$ref": "#/definitions/GaugeCardConfig" }, { "$ref": "#/definitions/GlanceCardConfig" }, { "$ref": "#/definitions/HistoryGraphConfig" }, { "$ref": "#/definitions/IframeCardConfig" }, { "$ref": "#/definitions/LightCardConfig" }, { "$ref": "#/definitions/MapCardConfig" }, { "$ref": "#/definitions/MarkdownCardConfig" }, { "$ref": "#/definitions/MediaControlCardConfig" }, { "$ref": "#/definitions/PictureCardConfig" }, { "$ref": "#/definitions/PictureElementsCardConfig" }, { "$ref": "#/definitions/PictureEntityCardConfig" }, { "$ref": "#/definitions/PictureGlanceCardConfig" }, { "$ref": "#/definitions/PlantStatusCardConfig" }, { "$ref": "#/definitions/SensorCardConfig" }, { "$ref": "#/definitions/ShoppingListCardConfig" }, { "$ref": "#/definitions/StackCardConfig" }, { "$ref": "#/definitions/ThermostatCardConfig" }, { "$ref": "#/definitions/WeatherForecastCardConfig" }, { "$ref": "#/definitions/CustomCardConfig" }] } }], "definitions": { "AlarmPanelCardConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["alarm-panel"] }, "entity": { "type": "string" }, "name": { "type": "string" }, "states": { "type": "array", "items": { "type": "string" } }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" } }, "additionalProperties": false, "required": ["entity", "type"] }, "ConditionalCardConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["conditional"] }, "card": { "$ref": "#/definitions/LovelaceCardConfig" }, "conditions": { "type": "array", "items": { "$ref": "#/definitions/Condition" } }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" } }, "additionalProperties": false, "required": ["card", "conditions", "type"] }, "LovelaceCardConfig": { "type": "object", "additionalProperties": {}, "properties": { "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" }, "type": { "type": "string" } }, "required": ["type"] }, "Condition": { "type": "object", "properties": { "entity": { "type": "string" }, "state": { "type": "string" }, "state_not": { "type": "string" } }, "additionalProperties": false, "required": ["entity"] }, "EmptyStateCardConfig": { "type": "object", "properties": { "content": { "type": "string" }, "title": { "type": "string" }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" }, "type": { "type": "string" } }, "additionalProperties": false, "required": ["content", "type"] }, "EntitiesCardConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["entities"] }, "show_header_toggle": { "type": "boolean" }, "title": { "type": "string" }, "entities": { "type": "array", "items": { "anyOf": [{ "$ref": "#/definitions/EntitiesCardEntityConfig" }, { "$ref": "#/definitions/WebLinkEntityConfig" }, { "$ref": "#/definitions/CallServiceEntityConfig" }, { "$ref": "#/definitions/DividerEntityConfig" }, { "$ref": "#/definitions/SectionEntityConfig" }, { "$ref": "#/definitions/CustomEntityConfig" }, { "type": "string" }] } }, "theme": { "type": "string" }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" } }, "additionalProperties": false, "required": ["entities", "type"] }, "EntitiesCardEntityConfig": { "type": "object", "properties": { "type": { "type": "string" }, "secondary_info": { "enum": ["entity-id", "last-changed"], "type": "string" }, "format": { "enum": ["date", "datetime", "relative", "time", "total"], "type": "string" }, "entity": { "type": "string" }, "name": { "type": "string" }, "icon": { "type": "string" } }, "additionalProperties": false, "required": ["entity"] }, "WebLinkEntityConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["weblink"] }, "url": { "type": "string" }, "name": { "type": "string" }, "icon": { "type": "string" } }, "additionalProperties": false, "required": ["type", "url"] }, "CallServiceEntityConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["call-service"] }, "name": { "type": "string" }, "service": { "type": "string" }, "icon": { "type": "string" }, "action_name": { "type": "string" }, "service_data": { "type": "object", "additionalProperties": {}, "properties": { "entity_id": { "anyOf": [{ "type": "array", "items": [{ "type": "string" }], "minItems": 1, "additionalItems": { "anyOf": [{ "type": "string" }] } }, { "type": "string" }] } } } }, "additionalProperties": false, "required": ["name", "service", "type"] }, "DividerEntityConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["divider"] }, "style": {} }, "additionalProperties": false, "required": ["type"] }, "SectionEntityConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["section"] }, "label": { "type": "string" } }, "additionalProperties": false, "required": ["type"] }, "CustomEntityConfig": { "additionalProperties": true, "type": "object", "properties": { "type": { "pattern": "custom:(.*)$", "type": "string" }, "label": { "type": "string" } }, "required": ["type"] }, "EntityButtonCardConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["entity-button"] }, "entity": { "type": "string" }, "name": { "type": "string" }, "show_name": { "type": "boolean" }, "icon": { "type": "string" }, "show_icon": { "type": "boolean" }, "theme": { "type": "string" }, "tap_action": { "anyOf": [{ "$ref": "#/definitions/ToggleActionConfig" }, { "$ref": "#/definitions/CallServiceActionConfig" }, { "$ref": "#/definitions/NavigateActionConfig" }, { "$ref": "#/definitions/MoreInfoActionConfig" }, { "$ref": "#/definitions/NoActionConfig" }] }, "hold_action": { "anyOf": [{ "$ref": "#/definitions/ToggleActionConfig" }, { "$ref": "#/definitions/CallServiceActionConfig" }, { "$ref": "#/definitions/NavigateActionConfig" }, { "$ref": "#/definitions/MoreInfoActionConfig" }, { "$ref": "#/definitions/NoActionConfig" }] }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" } }, "additionalProperties": false, "required": ["entity", "type"] }, "ToggleActionConfig": { "type": "object", "properties": { "action": { "type": "string", "enum": ["toggle"] } }, "additionalProperties": false, "required": ["action"] }, "CallServiceActionConfig": { "type": "object", "properties": { "action": { "type": "string", "enum": ["call-service"] }, "service": { "type": "string" }, "service_data": { "type": "object", "additionalProperties": {}, "properties": { "entity_id": { "anyOf": [{ "type": "array", "items": [{ "type": "string" }], "minItems": 1, "additionalItems": { "anyOf": [{ "type": "string" }] } }, { "type": "string" }] } } } }, "additionalProperties": false, "required": ["action", "service"] }, "NavigateActionConfig": { "type": "object", "properties": { "action": { "type": "string", "enum": ["navigate"] }, "navigation_path": { "type": "string" } }, "additionalProperties": false, "required": ["action", "navigation_path"] }, "MoreInfoActionConfig": { "type": "object", "properties": { "action": { "type": "string", "enum": ["more-info"] } }, "additionalProperties": false, "required": ["action"] }, "NoActionConfig": { "type": "object", "properties": { "action": { "type": "string", "enum": ["none"] } }, "additionalProperties": false, "required": ["action"] }, "EntityFilterCardConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["entity-filter"] }, "entities": { "type": "array", "items": { "anyOf": [{ "$ref": "#/definitions/EntityConfig" }, { "type": "string" }] } }, "state_filter": { "type": "array", "items": { "type": "string" } }, "card": { "$ref": "#/definitions/Partial<LovelaceCardConfig>" }, "show_empty": { "type": "boolean" }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" } }, "additionalProperties": false, "required": ["card", "entities", "state_filter", "type"] }, "EntityConfig": { "type": "object", "properties": { "entity": { "type": "string" }, "type": { "type": "string" }, "name": { "type": "string" }, "icon": { "type": "string" } }, "additionalProperties": false, "required": ["entity"] }, "Partial<LovelaceCardConfig>": { "description": "Make all properties in T optional", "type": "object", "properties": { "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" }, "type": { "type": "string" } }, "additionalProperties": false }, "ErrorCardConfig": { "type": "object", "properties": { "error": { "type": "string" }, "origConfig": { "$ref": "#/definitions/LovelaceCardConfig" }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" }, "type": { "type": "string" } }, "additionalProperties": false, "required": ["error", "origConfig", "type"] }, "GaugeCardConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["gauge"] }, "entity": { "type": "string" }, "name": { "type": "string" }, "unit": { "type": "string" }, "min": { "type": "number" }, "max": { "type": "number" }, "severity": { "$ref": "#/definitions/SeverityConfig" }, "theme": { "type": "string" }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" } }, "additionalProperties": false, "required": ["entity", "type"] }, "SeverityConfig": { "type": "object", "properties": { "green": { "type": "number" }, "yellow": { "type": "number" }, "red": { "type": "number" } }, "additionalProperties": false }, "GlanceCardConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["glance"] }, "show_name": { "type": "boolean" }, "show_state": { "type": "boolean" }, "show_icon": { "type": "boolean" }, "title": { "type": "string" }, "theme": { "type": "string" }, "entities": { "type": "array", "items": { "$ref": "#/definitions/ConfigEntity" } }, "columns": { "type": "number" }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" } }, "additionalProperties": false, "required": ["entities", "type"] }, "ConfigEntity": { "type": "object", "properties": { "tap_action": { "anyOf": [{ "$ref": "#/definitions/ToggleActionConfig" }, { "$ref": "#/definitions/CallServiceActionConfig" }, { "$ref": "#/definitions/NavigateActionConfig" }, { "$ref": "#/definitions/MoreInfoActionConfig" }, { "$ref": "#/definitions/NoActionConfig" }] }, "hold_action": { "anyOf": [{ "$ref": "#/definitions/ToggleActionConfig" }, { "$ref": "#/definitions/CallServiceActionConfig" }, { "$ref": "#/definitions/NavigateActionConfig" }, { "$ref": "#/definitions/MoreInfoActionConfig" }, { "$ref": "#/definitions/NoActionConfig" }] }, "entity": { "type": "string" }, "type": { "type": "string" }, "name": { "type": "string" }, "icon": { "type": "string" } }, "additionalProperties": false, "required": ["entity"] }, "HistoryGraphConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["history-graph"] }, "entities": { "type": "array", "items": { "anyOf": [{ "$ref": "#/definitions/EntityConfig" }, { "type": "string" }] } }, "hours_to_show": { "type": "number" }, "title": { "type": "string" }, "refresh_interval": { "type": "number" }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" } }, "additionalProperties": false, "required": ["entities", "type"] }, "IframeCardConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["iframe"] }, "aspect_ratio": { "type": "string" }, "title": { "type": "string" }, "url": { "type": "string" }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" } }, "additionalProperties": false, "required": ["type", "url"] }, "LightCardConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["light"] }, "entity": { "type": "string" }, "name": { "type": "string" }, "theme": { "type": "string" }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" } }, "additionalProperties": false, "required": ["entity", "type"] }, "MapCardConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["map"] }, "title": { "type": "string" }, "aspect_ratio": { "type": "string" }, "default_zoom": { "type": "number" }, "entities": { "type": "array", "items": { "anyOf": [{ "$ref": "#/definitions/EntityConfig" }, { "type": "string" }] } }, "geo_location_sources": { "type": "array", "items": { "type": "string" } }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" } }, "additionalProperties": false, "required": ["type"] }, "MarkdownCardConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["markdown"] }, "content": { "type": "string" }, "title": { "type": "string" }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" } }, "additionalProperties": false, "required": ["content", "type"] }, "MediaControlCardConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["media-control"] }, "entity": { "type": "string" }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" } }, "additionalProperties": false, "required": ["entity", "type"] }, "PictureCardConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["picture"] }, "image": { "type": "string" }, "tap_action": { "anyOf": [{ "$ref": "#/definitions/ToggleActionConfig" }, { "$ref": "#/definitions/CallServiceActionConfig" }, { "$ref": "#/definitions/NavigateActionConfig" }, { "$ref": "#/definitions/MoreInfoActionConfig" }, { "$ref": "#/definitions/NoActionConfig" }] }, "hold_action": { "anyOf": [{ "$ref": "#/definitions/ToggleActionConfig" }, { "$ref": "#/definitions/CallServiceActionConfig" }, { "$ref": "#/definitions/NavigateActionConfig" }, { "$ref": "#/definitions/MoreInfoActionConfig" }, { "$ref": "#/definitions/NoActionConfig" }] }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" } }, "additionalProperties": false, "required": ["type"] }, "PictureElementsCardConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["picture-elements"] }, "title": { "type": "string" }, "image": { "type": "string" }, "camera_image": { "type": "string" }, "state_image": { "type": "object", "properties": {} }, "aspect_ratio": { "type": "string" }, "entity": { "type": "string" }, "elements": { "type": "array", "items": { "anyOf": [{ "$ref": "#/definitions/StateBadgeElement" }, { "$ref": "#/definitions/StateIconElement" }, { "$ref": "#/definitions/StateLabelElement" }, { "$ref": "#/definitions/IconElement" }, { "$ref": "#/definitions/ImageElement" }, { "$ref": "#/definitions/ConditionalElement" }, { "$ref": "#/definitions/CustomElement" }] } }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" } }, "additionalProperties": false, "required": ["elements", "type"] }, "StateBadgeElement": { "type": "object", "properties": { "type": { "type": "string", "enum": ["state-badge"] }, "entity": { "anyOf": [{ "$ref": "#/definitions/EntityConfig" }, { "type": "string" }] }, "style": {} }, "additionalProperties": false, "required": ["entity", "type"] }, "StateIconElement": { "type": "object", "properties": { "type": { "type": "string", "enum": ["state-icon"] }, "entity": { "anyOf": [{ "$ref": "#/definitions/EntityConfig" }, { "type": "string" }] }, "tap_action": { "anyOf": [{ "$ref": "#/definitions/ToggleActionConfig" }, { "$ref": "#/definitions/CallServiceActionConfig" }, { "$ref": "#/definitions/NavigateActionConfig" }, { "$ref": "#/definitions/MoreInfoActionConfig" }, { "$ref": "#/definitions/NoActionConfig" }] }, "hold_action": { "anyOf": [{ "$ref": "#/definitions/ToggleActionConfig" }, { "$ref": "#/definitions/CallServiceActionConfig" }, { "$ref": "#/definitions/NavigateActionConfig" }, { "$ref": "#/definitions/MoreInfoActionConfig" }, { "$ref": "#/definitions/NoActionConfig" }] }, "style": {} }, "additionalProperties": false, "required": ["entity", "type"] }, "StateLabelElement": { "type": "object", "properties": { "type": { "type": "string", "enum": ["state-label"] }, "entity": { "anyOf": [{ "$ref": "#/definitions/EntityConfig" }, { "type": "string" }] }, "prefix": { "type": "string" }, "suffix": { "type": "string" }, "tap_action": { "anyOf": [{ "$ref": "#/definitions/ToggleActionConfig" }, { "$ref": "#/definitions/CallServiceActionConfig" }, { "$ref": "#/definitions/NavigateActionConfig" }, { "$ref": "#/definitions/MoreInfoActionConfig" }, { "$ref": "#/definitions/NoActionConfig" }] }, "hold_action": { "anyOf": [{ "$ref": "#/definitions/ToggleActionConfig" }, { "$ref": "#/definitions/CallServiceActionConfig" }, { "$ref": "#/definitions/NavigateActionConfig" }, { "$ref": "#/definitions/MoreInfoActionConfig" }, { "$ref": "#/definitions/NoActionConfig" }] }, "style": {} }, "additionalProperties": false, "required": ["entity", "type"] }, "IconElement": { "type": "object", "properties": { "type": { "type": "string", "enum": ["icon"] }, "icon": { "type": "string" }, "entity": { "anyOf": [{ "$ref": "#/definitions/EntityConfig" }, { "type": "string" }] }, "title": { "type": "string" }, "tap_action": { "anyOf": [{ "$ref": "#/definitions/ToggleActionConfig" }, { "$ref": "#/definitions/CallServiceActionConfig" }, { "$ref": "#/definitions/NavigateActionConfig" }, { "$ref": "#/definitions/MoreInfoActionConfig" }, { "$ref": "#/definitions/NoActionConfig" }] }, "hold_action": { "anyOf": [{ "$ref": "#/definitions/ToggleActionConfig" }, { "$ref": "#/definitions/CallServiceActionConfig" }, { "$ref": "#/definitions/NavigateActionConfig" }, { "$ref": "#/definitions/MoreInfoActionConfig" }, { "$ref": "#/definitions/NoActionConfig" }] }, "style": {} }, "additionalProperties": false, "required": ["icon", "type"] }, "ImageElement": { "type": "object", "properties": { "type": { "type": "string", "enum": ["image"] }, "entity": { "anyOf": [{ "$ref": "#/definitions/EntityConfig" }, { "type": "string" }] }, "image": { "type": "string" }, "camera_image": { "type": "string" }, "camera_view": { "type": "string" }, "state_image": {}, "filter": { "type": "string" }, "state_filter": { "type": "object", "properties": {}, "additionalProperties": true }, "aspect_ratio": { "type": "string" }, "tap_action": { "anyOf": [{ "$ref": "#/definitions/ToggleActionConfig" }, { "$ref": "#/definitions/CallServiceActionConfig" }, { "$ref": "#/definitions/NavigateActionConfig" }, { "$ref": "#/definitions/MoreInfoActionConfig" }, { "$ref": "#/definitions/NoActionConfig" }] }, "hold_action": { "anyOf": [{ "$ref": "#/definitions/ToggleActionConfig" }, { "$ref": "#/definitions/CallServiceActionConfig" }, { "$ref": "#/definitions/NavigateActionConfig" }, { "$ref": "#/definitions/MoreInfoActionConfig" }, { "$ref": "#/definitions/NoActionConfig" }] }, "style": {} }, "additionalProperties": false, "required": ["type"] }, "ConditionalElement": { "type": "object", "properties": { "type": { "type": "string", "enum": ["conditional"] }, "conditions": { "type": "array", "items": { "$ref": "#/definitions/ElementCondition" } }, "elements": { "type": "array", "items": { "anyOf": [{ "$ref": "#/definitions/StateBadgeElement" }, { "$ref": "#/definitions/StateIconElement" }, { "$ref": "#/definitions/StateLabelElement" }, { "$ref": "#/definitions/IconElement" }, { "$ref": "#/definitions/ImageElement" }, { "$ref": "#/definitions/ConditionalElement" }, { "$ref": "#/definitions/CustomElement" }] } } }, "additionalProperties": false, "required": ["conditions", "elements", "type"] }, "ElementCondition": { "type": "object", "properties": { "entity": { "$ref": "#/definitions/EntityConfig" }, "state": { "type": "string" }, "state_not": { "type": "string" } }, "additionalProperties": false, "required": ["entity"] }, "CustomElement": { "additionalProperties": true, "type": "object", "properties": { "type": { "pattern": "custom:(.*)$", "type": "string" }, "style": {} }, "required": ["style", "type"] }, "PictureEntityCardConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["picture-entity"] }, "entity": { "type": "string" }, "name": { "type": "string" }, "image": { "type": "string" }, "camera_image": { "type": "string" }, "state_image": { "type": "object", "properties": {} }, "aspect_ratio": { "type": "string" }, "tap_action": { "anyOf": [{ "$ref": "#/definitions/ToggleActionConfig" }, { "$ref": "#/definitions/CallServiceActionConfig" }, { "$ref": "#/definitions/NavigateActionConfig" }, { "$ref": "#/definitions/MoreInfoActionConfig" }, { "$ref": "#/definitions/NoActionConfig" }] }, "hold_action": { "anyOf": [{ "$ref": "#/definitions/ToggleActionConfig" }, { "$ref": "#/definitions/CallServiceActionConfig" }, { "$ref": "#/definitions/NavigateActionConfig" }, { "$ref": "#/definitions/MoreInfoActionConfig" }, { "$ref": "#/definitions/NoActionConfig" }] }, "show_name": { "type": "boolean" }, "show_state": { "type": "boolean" }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" } }, "additionalProperties": false, "required": ["entity", "type"] }, "PictureGlanceCardConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["picture-glance"] }, "entities": { "type": "array", "items": { "anyOf": [{ "$ref": "#/definitions/EntityConfig" }, { "type": "string" }] } }, "title": { "type": "string" }, "image": { "type": "string" }, "camera_image": { "type": "string" }, "camera_view": { "enum": ["auto", "live"], "type": "string" }, "state_image": { "type": "object", "properties": {} }, "aspect_ratio": { "type": "string" }, "entity": { "type": "string" }, "tap_action": { "anyOf": [{ "$ref": "#/definitions/ToggleActionConfig" }, { "$ref": "#/definitions/CallServiceActionConfig" }, { "$ref": "#/definitions/NavigateActionConfig" }, { "$ref": "#/definitions/MoreInfoActionConfig" }, { "$ref": "#/definitions/NoActionConfig" }] }, "hold_action": { "anyOf": [{ "$ref": "#/definitions/ToggleActionConfig" }, { "$ref": "#/definitions/CallServiceActionConfig" }, { "$ref": "#/definitions/NavigateActionConfig" }, { "$ref": "#/definitions/MoreInfoActionConfig" }, { "$ref": "#/definitions/NoActionConfig" }] }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" } }, "additionalProperties": false, "required": ["entities", "type"] }, "PlantStatusCardConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["plant-status"] }, "name": { "type": "string" }, "entity": { "type": "string" }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" } }, "additionalProperties": false, "required": ["entity", "type"] }, "SensorCardConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["sensor"] }, "entity": { "type": "string" }, "name": { "type": "string" }, "icon": { "type": "string" }, "graph": { "type": "string" }, "unit": { "type": "string" }, "detail": { "type": "number" }, "theme": { "type": "string" }, "hours_to_show": { "type": "number" }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" } }, "additionalProperties": false, "required": ["entity", "type"] }, "ShoppingListCardConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["shopping-list"] }, "title": { "type": "string" }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" } }, "additionalProperties": false, "required": ["type"] }, "StackCardConfig": { "type": "object", "properties": { "type": { "enum": ["horizontal-stack", "vertical-stack"], "type": "string" }, "cards": { "type": "array", "items": { "$ref": "#/definitions/LovelaceCardConfig" } }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" } }, "additionalProperties": false, "required": ["cards", "type"] }, "ThermostatCardConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["thermostat"] }, "entity": { "type": "string" }, "theme": { "type": "string" }, "name": { "type": "string" }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" } }, "additionalProperties": false, "required": ["entity", "type"] }, "WeatherForecastCardConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": ["weather-forecast"] }, "entity": { "type": "string" }, "name": { "type": "string" }, "id": { "type": "string" }, "index": { "type": "number" }, "view_index": { "type": "number" } }, "additionalProperties": false, "required": ["entity", "type"] }, "CustomCardConfig": { "additionalProperties": true, "type": "object", "properties": { "type": { "pattern": "custom:(.*)$", "type": "string" } }, "required": ["type"] } }, "$schema": "http://json-schema.org/draft-07/schema#" }
