{"$comment":"LCARdS 2026.12.1-dev.1: generated from src/cards/schemas/ by scripts/generate-llm-schema.js; do not hand-edit.","lcards_version":"2026.12.1-dev.1","generated_at":"2026-12-04T19:43:21.032Z","usage":"Each key under \"cards\" is a JSON Schema (draft-07) for one LCARdS custom card type (type: custom:<key>), stripped of editor-only metadata. \"views\" holds the view types (a dashboard views[] entry, type: custom:<key>) and \"strategies\" the dashboard strategies (a dashboard strategy: block, type: custom:<key>). Shared building blocks are in \"$defs\" and referenced via {\"$ref\": \"#/$defs/<name>\"}. When generating LCARdS YAML, only use properties that appear in the relevant schema (resolving any $ref against $defs); do not invent keys. Per-card files that load faster: schema/index.json.","$defs":{"action":{"type":"object","description":"Action to perform on interaction (tap, hold, or double-tap). Supports toggle, service calls, navigation, more-info dialog, or no action.","openWhen":{"action":"fire-dom-event"},"examples":[{"action":"toggle","entity":"light.living_room"}],"properties":{"action":{"$ref":"#/$defs/cards_lcards_data_grid_cell_tap_action_action"},"pipeline_id":{"type":"string","default":"preferred","description":"assist: the Assist pipeline to open (its id, or preferred)"},"start_listening":{"type":"boolean","default":true,"description":"assist: start listening for speech when the dialog opens"},"perform_action":{"type":"string","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"Action to perform (format: domain.action); the current Home Assistant name for service","examples":["light.turn_on"]},"data":{"type":"object","description":"Data for the action (perform-action), such as brightness for light.turn_on","examples":[{"brightness":255}]},"navigation_path":{"type":"string","pattern":"^/","description":"Path to navigate to (must start with /)","examples":["/lovelace/dashboard"]},"navigation_replace":{"type":"boolean","default":false,"description":"navigate only: replace the current page in the browser history instead of adding one, so Back skips it"},"confirmation":{"$ref":"#/$defs/cards_lcards_data_grid_cell_tap_action_confirmation"},"url_path":{"type":"string","description":"url only: the address to open, in a new tab","examples":["https://www.home-assistant.io"]},"entity":{"type":"string","format":"entity","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"Entity ID (format: domain.object_id)","examples":["light.living_room"]},"target":{"type":"object","description":"What the action acts on: entity_id, device_id, area_id, floor_id or label_id (and exclude), passed to Home Assistant as the action's target","examples":[{"entity_id":"light.living_room"}]},"browser_mod":{"type":"object","description":"fire-dom-event: what browser_mod runs, in its own grammar (service and data, e.g. service: browser_mod.popup), read from the ll-custom event"},"card":{"type":"string","description":"fly-to, set-clock, set-model-scale and point-card: the id of the astrometrics card to act on (any card on the same dashboard or open in the same browser). On the astrometrics card's own points and objects, leave it out for that card."},"view":{"type":"string","description":"fly-to only: a named view of that card (camera.views)."},"point":{"type":"string","description":"fly-to: a point id of that card to fly to (wins over view). point-card: the point whose card opens or closes (on the astrometrics card's own point, leave it out for that point)."},"duration":{"type":"number","minimum":0,"description":"fly-to only: how long the flight takes, ms. Default the card's camera.fly_duration."},"warp":{"type":"boolean","description":"fly-to only: stars and dust streak on the way (warp), or false for none. Default the view's own warp, else the card's camera.warp."},"date":{"type":"string","description":"set-clock only: the scene date, now or an ISO date and time (2026-10-30, 2026-10-30T12:00:00Z). Leave out to keep the date running on.","examples":["now"]},"rate":{"type":["number","string"],"description":"set-clock only: how fast the scene date runs, days per second (1 is a day a second, 0 holds it, negative runs back), or live for real time. Leave out to keep the rate.","examples":["live"]},"model_scale":{"type":"string","enum":["real","visible","toggle"],"default":"toggle","description":"set-model-scale only: real draws the card's models at their real size, visible draws small ones at least 40 px across, toggle (the default) switches between them. Not saved."},"point_card":{"type":"string","enum":["open","close","toggle"],"description":"point-card: open, close or toggle (the default) the point's card (a card with show: tap; one is open at a time). fly-to with a point: open (or close, toggle) its card as the camera flies there."}}},"activity":{"type":"object","additionalProperties":false,"properties":{"mode":{"$ref":"#/$defs/activity_mode"},"range":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2,"description":"[near, far] distance from the star for mode: distance, scene units (the frame's, in a system). Default [50, 300]."}},"description":"How the coma and tails change with the distance to the star."},"activity_mode":{"type":"string","enum":["fixed","distance"],"default":"fixed","description":"fixed: the coma, tails and glow as set. distance: scaled by the distance to the star every frame, full at range's near end, falling with the square of the distance, gone at its far end.","enumDescriptions":{"fixed":"As set","distance":"Grows and brightens near its star"}},"alt":{"description":"Height above the plane, scene units (just under it by default, so grids draw over it).","anyOf":[{"type":"number"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":-0.01},"alt_2":{"description":"sky: height above the dome, scene units.","anyOf":[{"type":"number"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"animation":{"type":"object","description":"Visual animation triggered by user interactions or entity state changes","examples":[{"trigger":"on_tap","preset":"pulse","duration":500,"color":"#FF9900"}],"properties":{"trigger":{"type":"string","enum":["on_load","on_show","on_tap","on_double_tap","on_hold","on_hover","on_leave","on_entity_change","on_datasource_change"],"default":"on_load","description":"When to trigger the animation (default: on_load)","enumDescriptions":["Once, when the card first renders","Every time the card appears: when the view opens, a visibility condition shows it, or you come back from another view","When card is tapped/clicked","When card is double-tapped","When card is held (long press)","When mouse enters card","When mouse leaves card","When associated entity state changes","When the DataSource named in `datasource` changes"]},"preset":{"type":"string","description":"Animation preset name","examples":["pulse"]},"duration":{"type":["number","object"],"minimum":0,"description":"Animation duration in milliseconds; left out, the preset's own duration applies (no upper limit: a slow looping background motion can take 20000 or more). Also accepts a map_range descriptor for entity-driven, live-adjusting duration on looping animations."},"ease":{"type":["string","object"],"description":"Easing function (string name or object with type and params)","examples":["inOutQuad"]},"datasource":{"type":"string","description":"The DataSource whose changes fire an on_datasource_change animation (required for that trigger)."},"loop":{"oneOf":[{"type":"boolean","description":"true = loop infinitely, false = play once"},{"type":"integer","minimum":1,"description":"Number of additional times to loop (1 = play twice total)"}],"description":"Loop the animation. true = infinite, false = play once, N = loop N times. Left out, the preset decides (pulse and glow loop, most play once)."},"alternate":{"type":"boolean","description":"Whether animation should alternate direction on each loop. Left out, the preset decides."},"delay":{"type":["number","object"],"minimum":0,"default":0,"description":"Delay before animation starts (milliseconds). Also accepts a map_range descriptor, matching rulesSchema's equivalent field."},"entity":{"type":"string","description":"Entity ID to monitor (required for on_entity_change trigger)","pattern":"^[a-zA-Z_]+\\.[a-zA-Z0-9_]+$","examples":["light.bedroom"]},"attribute":{"type":"string","description":"Attribute to read instead of entity state. Applies uniformly to to_state, from_state, and the while condition. Use \"brightness_pct\" for a computed 0–100 light brightness percentage (avoids converting raw 0–255 values).","examples":["brightness"]},"from_state":{"type":"string","description":"Fire-and-forget gate: Only trigger when the entity (or attribute) transitions FROM this value. The animation runs until completion and does not auto-stop a looping animation. For auto-stop on loops, use while.","examples":["on"]},"to_state":{"type":"string","description":"Fire-and-forget gate: Only trigger when the entity (or attribute) transitions TO this value. The animation runs until completion and does not auto-stop a looping animation. For auto-stop on loops, use while.","examples":["on"]},"check_on_load":{"type":"boolean","default":true,"description":"Evaluate the condition when the card first loads (default: true). For while conditions, starts a looping animation immediately if the condition is already met. For to_state/from_state, plays the animation if the entity is already in to_state. Set to false to suppress the initial evaluation and only react to state transitions. (on_entity_change only)"},"while":{"type":"object","description":"Lifecycle condition for looping animations (requires the top-level loop: true field). The animation plays while the condition is true and stops automatically when it becomes false. Note: to_state/from_state are fire-and-forget gates: they control when the animation starts but will not stop it. Use while to auto-stop a looping animation. The 4 numeric bound keys (above/at_least/below/at_most) AND-combine when more than one is present, so a range can be expressed by combining two of them, e.g. { at_least: 20, at_most: 80 } for an inclusive range, or { above: 20, below: 80 } for an exclusive one.","properties":{"state":{"type":"string","description":"Play while entity value equals this string"},"not_state":{"type":"string","description":"Play while entity value does NOT equal this string"},"above":{"type":"number","description":"Play while numeric entity value is strictly above this threshold"},"at_least":{"type":"number","description":"Play while numeric entity value is greater than or equal to this threshold"},"below":{"type":"number","description":"Play while numeric entity value is strictly below this threshold"},"at_most":{"type":"number","description":"Play while numeric entity value is less than or equal to this threshold"}},"examples":[{"state":"on"}]},"id":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","description":"Optional identifier for this animation entry (referenced by system animations, debugging)."},"enabled":{"type":"boolean","default":true,"description":"Set false to disable this animation entry without deleting it."},"target":{"type":"string","description":"CSS selector for a single animation target element, or `background` to animate the card's background_animation effects (their config keys in params, with preset: custom)."},"effect":{"type":"integer","minimum":0,"description":"With target: background, the index of the background_animation entry to animate (0 is the first, the bottom layer). Without it, every entry."},"targets":{"type":["string","array"],"items":{"type":"string"},"description":"CSS selector(s) for multiple animation target elements."},"params":{"type":"object","discriminatedBy":{"$ref":"#/$defs/item_apply_animations_item_params"},"description":"Preset-specific parameters. Shape depends on the sibling `preset` field. Values may be static or a map_range descriptor that follows an entity."},"essential_motion":{"type":"boolean","default":false,"description":"Keep playing when the device asks for reduced motion (prefers-reduced-motion). Only for motion that carries meaning, such as an alert flash; other animations jump to their end state or stay still."}},"required":["preset"]},"arc":{"description":"Arch each leg upward by this height at its middle, scene units (0: straight).","anyOf":[{"type":"number"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"arms":{"type":"object","additionalProperties":false,"properties":{"count":{"$ref":"#/$defs/arms_count"},"pitch":{"$ref":"#/$defs/arms_pitch"}},"description":"shape: whirlpool only: the spiral arms the gas is wound into."},"arms_2":{"type":"object","additionalProperties":false,"properties":{"count":{"$ref":"#/$defs/arms_count_2"},"pitch":{"$ref":"#/$defs/arms_pitch_2"},"color":{"$ref":"#/$defs/arms_color"}},"description":"The spiral arms: the Milky Way's unless count is set."},"arms_color":{"description":"Colour the arm stars lean toward, and the arms' glow. Default var(--lcars-blue).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"arms_count":{"description":"How many arms.","anyOf":[{"type":"integer","minimum":1,"maximum":8},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":3},"arms_count_2":{"description":"A spiral of this many equal arms instead of the Milky Way's (leave out for the Milky Way).","anyOf":[{"type":"integer","minimum":1,"maximum":8},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"arms_pitch":{"description":"How tightly the arms wind, degrees (smaller winds them tighter).","anyOf":[{"type":"number","minimum":5,"maximum":60},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":20},"arms_pitch_2":{"description":"How tightly the arms wind, degrees (the Milky Way's are about 12; larger opens them).","anyOf":[{"type":"number","minimum":4,"maximum":45},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":12},"astrometrics-action":{"type":"object","description":"Action on a tap or hold: any card action (more-info, toggle, perform-action, navigate, url, ...), or fly-to. fly-to flies the camera to this point or object, or to the named view in view.","openWhen":{"action":"fire-dom-event"},"examples":[{"action":"toggle","entity":"light.living_room"}],"properties":{"action":{"type":"string","enum":["toggle","perform-action","navigate","url","more-info","assist","fire-dom-event","fly-to","set-clock","set-model-scale","point-card","none"],"description":"Type of action. fly-to: fly the camera here (or to the named view in view, or the point in point; with card, another astrometrics card's camera); the other types run as on any card.","enumDescriptions":["Toggle entity on/off","Perform a Home Assistant action","Navigate to another view/dashboard","Open a URL","Show entity more-info dialog","Open the Assist dialog","Fire an ll-custom event (browser_mod)","Fly an astrometrics card's camera","Set an astrometrics card's scene date and rate","Change an astrometrics card's model scale","Open or close the card on an astrometrics point","No action (disabled)"]},"pipeline_id":{"type":"string","default":"preferred","description":"assist: the Assist pipeline to open (its id, or preferred)"},"start_listening":{"type":"boolean","default":true,"description":"assist: start listening for speech when the dialog opens"},"perform_action":{"type":"string","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"Action to perform (format: domain.action); the current Home Assistant name for service","examples":["light.turn_on"]},"data":{"type":"object","description":"Data for the action (perform-action), such as brightness for light.turn_on","examples":[{"brightness":255}]},"navigation_path":{"type":"string","pattern":"^/","description":"Path to navigate to (must start with /)","examples":["/lovelace/dashboard"]},"navigation_replace":{"type":"boolean","default":false,"description":"navigate only: replace the current page in the browser history instead of adding one, so Back skips it"},"confirmation":{"$ref":"#/$defs/cards_lcards_data_grid_cell_tap_action_confirmation"},"url_path":{"type":"string","description":"url only: the address to open, in a new tab","examples":["https://www.home-assistant.io"]},"entity":{"type":"string","format":"entity","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"Entity ID (format: domain.object_id)","examples":["light.living_room"]},"target":{"type":"object","description":"What the action acts on: entity_id, device_id, area_id, floor_id or label_id (and exclude), passed to Home Assistant as the action's target","examples":[{"entity_id":"light.living_room"}]},"browser_mod":{"type":"object","description":"fire-dom-event: what browser_mod runs, in its own grammar (service and data, e.g. service: browser_mod.popup), read from the ll-custom event"},"card":{"type":"string","description":"fly-to, set-clock, set-model-scale and point-card: the id of the astrometrics card to act on (any card on the same dashboard or open in the same browser). On the astrometrics card's own points and objects, leave it out for that card."},"view":{"type":"string","description":"fly-to only: fly to this named view (camera.views) instead of the point or object."},"point":{"type":"string","description":"fly-to: a point id of that card to fly to (wins over view). point-card: the point whose card opens or closes (on the astrometrics card's own point, leave it out for that point)."},"duration":{"type":"number","minimum":0,"description":"fly-to only: how long the flight takes, ms. Default the card's camera.fly_duration."},"warp":{"type":"boolean","description":"fly-to only: stars and dust streak on the way (warp), or false for none. Default the view's own warp, else the card's camera.warp."},"date":{"type":"string","description":"set-clock only: the scene date, now or an ISO date and time (2026-10-30, 2026-10-30T12:00:00Z). Leave out to keep the date running on.","examples":["now"]},"rate":{"type":["number","string"],"description":"set-clock only: how fast the scene date runs, days per second (1 is a day a second, 0 holds it, negative runs back), or live for real time. Leave out to keep the rate.","examples":["live"]},"model_scale":{"type":"string","enum":["real","visible","toggle"],"default":"toggle","description":"set-model-scale only: real draws the card's models at their real size, visible draws small ones at least 40 px across, toggle (the default) switches between them. Not saved."},"point_card":{"type":"string","enum":["open","close","toggle"],"description":"point-card: open, close or toggle (the default) the point's card (a card with show: tap; one is open at a time). fly-to with a point: open (or close, toggle) its card as the camera flies there."}}},"astrometrics-objects":{"description":"What the scene draws. type picks one of: grid, volume, sphere, image, glow, nebula, model, ring, path, beam, belt, asteroid, comet, galaxy, trail, cube, lightning, crystalline, satellites, system.","type":"object","required":["type"],"discriminator":{"propertyName":"type"},"oneOf":[{"$ref":"#/$defs/shared"},{"$ref":"#/$defs/shared_3"},{"$ref":"#/$defs/shared_4"},{"$ref":"#/$defs/shared_5"},{"$ref":"#/$defs/shared_6"},{"$ref":"#/$defs/shared_7"},{"$ref":"#/$defs/shared_8"},{"$ref":"#/$defs/shared_9"},{"$ref":"#/$defs/shared_10"},{"$ref":"#/$defs/shared_11"},{"$ref":"#/$defs/shared_12"},{"$ref":"#/$defs/shared_13"},{"$ref":"#/$defs/shared_14"},{"$ref":"#/$defs/shared_15"},{"$ref":"#/$defs/shared_16"},{"$ref":"#/$defs/shared_17"},{"$ref":"#/$defs/shared_18"},{"$ref":"#/$defs/shared_19"},{"$ref":"#/$defs/shared_20"},{"type":"object","title":"system","required":["type"],"description":"A star system at true scale inside a larger scene: a solar system in km at a point of a galaxy in light years. Its points and objects are in its own units (positions, sizes, offsets, fade, min_distance and max_distance) and keep their precision however small they are next to the scene; the camera works in the system's units while it is near. Ids are card-wide: views, fly-to, rules and paths name its points and objects as any others. Not rotated: its axes are the scene's.","properties":{"type":{"type":"string","const":"system","description":"system: points and objects in units of their own."},"id":{"type":"string","description":"Name of the system. Default system#n."},"at":{"description":"Where the system's origin sits: a point of the scene (it stays there) or [x, y, z] in scene units. Default the origin.","oneOf":[{"type":"string","description":"A point id"},{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3,"description":"Scene coordinates [x, y, z], scene units"}]},"units":{"type":"string","enum":["m","km","au","ly","pc"],"description":"What one unit inside the system is (m, km, au, ly or pc). Needs the scene's units. Default: the scene's units (or scale).","enumDescriptions":{"m":"Metres","km":"Kilometres","au":"Astronomical units (149,597,870.7 km)","ly":"Light years","pc":"Parsecs (3.26 light years)"}},"scale":{"description":"How many of the scene's units one unit inside the system is (a ratio), when the units have no name. Wins over units.","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"visible":{"type":"boolean","default":true,"description":"false hides everything in the system (its points still work)."},"points":{"type":"array","description":"The system's points, in its units (polar: [149597870.7, 30] puts Earth 1 AU out in km).","items":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item"}},"objects":{"type":"array","description":"The system's objects, in its units.","items":{"description":"An object inside the system, in the system's units. type picks one of: grid, volume, sphere, image, glow, nebula, model, ring, path, beam, belt, asteroid, comet, galaxy, trail, cube, lightning, crystalline, satellites (a system holds no other system).","type":"object","required":["type"],"discriminator":{"propertyName":"type"},"oneOf":[{"$ref":"#/$defs/shared"},{"$ref":"#/$defs/shared_3"},{"$ref":"#/$defs/shared_4"},{"$ref":"#/$defs/shared_5"},{"$ref":"#/$defs/shared_6"},{"$ref":"#/$defs/shared_7"},{"$ref":"#/$defs/shared_8"},{"$ref":"#/$defs/shared_9"},{"$ref":"#/$defs/shared_10"},{"$ref":"#/$defs/shared_11"},{"$ref":"#/$defs/shared_12"},{"$ref":"#/$defs/shared_13"},{"$ref":"#/$defs/shared_14"},{"$ref":"#/$defs/shared_15"},{"$ref":"#/$defs/shared_16"},{"$ref":"#/$defs/shared_17"},{"$ref":"#/$defs/shared_18"},{"$ref":"#/$defs/shared_19"},{"$ref":"#/$defs/shared_20"}]}}}}]},"at":{"description":"Where the object sits: a point id (it follows the point) or [x, y, z] in scene units. Default the origin.","oneOf":[{"type":"string","description":"A point id"},{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3,"description":"Scene coordinates [x, y, z], scene units"}]},"axis_labels":{"type":"object","description":"plane: a lettered sector map. Column and row labels along the top and left edges, and cell names for cells and cell: placements (AF3 is column AF, row 3).","properties":{"columns":{"type":"string","enum":["letters","numbers"],"default":"letters","description":"How columns are named."},"rows":{"type":"string","enum":["letters","numbers"],"default":"numbers","description":"How rows are named."},"column_start":{"type":["string","number"],"description":"Name of the first column (AD, or a number). Default A or 1."},"row_start":{"type":["string","number"],"description":"Name of the first row. Default 1 or A."},"pad":{"type":"integer","minimum":0,"description":"Zero-pad numbers to this many digits. Default: the widest label, at least 2 (01, 02, ...); 0 turns it off."},"every":{"type":"integer","minimum":1,"default":1,"description":"Label every Nth column and row."},"offset":{"$ref":"#/$defs/axis_labels_offset"},"style":{"type":"string","description":"Label style (built-in or labels.styles). Default tiny.","examples":["title"]},"color":{"$ref":"#/$defs/axis_labels_color"},"text":{"$ref":"#/$defs/ring_labels_text"}}},"axis_labels_color":{"type":"string","description":"Label colour.","allOf":[{"$ref":"#/$defs/simpleColorSchema"}]},"axis_labels_offset":{"description":"Distance of the labels outside the edge, scene units. Default 0.6 x line_spacing.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"back_opacity":{"description":"Opacity of the far side seen through the surface, 0 to 1 (0 hides it).","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"back_opacity_2":{"description":"Opacity of the far faces, 0 to 1 (1: a wireframe, nothing hidden).","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":1},"background-animation":{"description":"Animated background layers drawn behind the card content: a list of effects (preset plus config), or { inset, effects }.","oneOf":[{"type":"array","description":"Background animation effects (bare array, no canvas inset)","items":{"$ref":"#/$defs/item"}},{"type":"object","description":"Background animation with canvas-level inset","required":["effects"],"properties":{"inset":{"description":"Keeps the animation canvas off the card's edges: px per side, or 'auto' (elbow cards: inside the elbow's arms).","oneOf":[{"type":"string","enum":["auto"],"description":"Auto-compute inset from card geometry (elbow cards only)"},{"type":"object","description":"Per-side pixel inset for the animation canvas","properties":{"top":{"type":"number","minimum":0,"default":0,"description":"Inset from the top edge, px."},"right":{"type":"number","minimum":0,"default":0,"description":"Inset from the right edge, px."},"bottom":{"type":"number","minimum":0,"default":0,"description":"Inset from the bottom edge, px."},"left":{"type":"number","minimum":0,"default":0,"description":"Inset from the left edge, px."}},"additionalProperties":false}]},"fps":{"type":"number","minimum":0,"default":30,"description":"Frame rate cap for the background canvas. 0 removes the cap."},"effects":{"type":"array","description":"Stack of background effects rendered in order (bottom → top)","items":{"$ref":"#/$defs/item"}}},"additionalProperties":false}]},"band":{"description":"shape: layers only: a band of light glowing in the gap, brightest in a thin sheet at its middle: true, false (default), or { brightness, width, color }.","oneOf":[{"type":"boolean"},{"$ref":"#/$defs/band_2"}]},"band_2":{"type":"object","additionalProperties":false,"properties":{"brightness":{"$ref":"#/$defs/band_brightness"},"width":{"$ref":"#/$defs/band_width"},"color":{"$ref":"#/$defs/band_color"}}},"band_3":{"type":"object","additionalProperties":false,"properties":{"image":{"$ref":"#/$defs/band_image"},"inner_radius":{"$ref":"#/$defs/band_inner_radius"},"opacity":{"$ref":"#/$defs/band_opacity"},"color":{"$ref":"#/$defs/band_color_2"}},"description":"A flat textured band from band.inner_radius out to radius (Saturn's rings): { image, inner_radius, opacity, color }. The line is drawn too only when width is set."},"band_brightness":{"description":"How bright, 0 to 3.","anyOf":[{"type":"number","minimum":0,"maximum":3},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":1},"band_color":{"description":"Its colour. Default var(--lcards-moonlight).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"band_color_2":{"description":"A colour the texture is multiplied by (a tint). Default none (the image's own colours).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"band_image":{"type":"string","assetSource":"image","description":"The band's texture, across its width: the image's left edge is the inner rim, its right edge the outer (its height is not used). builtin:saturn_rings is Saturn's rings, D ring to F ring (radius 2.33 and inner_radius 1.11 times the planet's radius).","examples":["builtin:saturn_rings"]},"band_inner_radius":{"description":"The band's inner radius, scene units, or [a, b] for an ellipse. Default half the radius.","anyOf":[{"type":"number"},{"$ref":"#/$defs/size_2"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"band_opacity":{"description":"The band's opacity, 0 to 1.","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":1},"band_width":{"description":"How far its glow reaches from the middle, a fraction of half the height.","anyOf":[{"type":"number","minimum":0.01,"maximum":0.5},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0.08},"bar":{"type":"object","additionalProperties":false,"properties":{"length":{"$ref":"#/$defs/bar_length"},"angle":{"$ref":"#/$defs/bar_angle"}},"description":"The central bar."},"bar_angle":{"description":"Bearing of the bar's near end, degrees; the arms start at its ends and turn with it. Default 153: 27 degrees off the line from the centre to the Sun's place, as in the Milky Way.","anyOf":[{"type":"number"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":153},"bar_length":{"description":"The central bar's half-length as a fraction of the radius (0: no bar).","anyOf":[{"type":"number","minimum":0,"maximum":0.8},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0.32},"body":{"type":"string","enum":["sun","mercury","venus","earth","moon","mars","phobos","deimos","ceres","jupiter","io","europa","ganymede","callisto","saturn","titan","uranus","neptune","triton","pluto","charon"],"description":"Turn the sphere as this real body is turned at the scene clock's date (IAU rotation models): its north pole where the body's points, its day the real sidereal day, and longitude 0 of its map where the body's prime meridian is, so latlon points sit over the real places. spin and rotation do not apply. Pair it with a point that has the same body."},"body_2":{"type":"string","enum":["sun","mercury","venus","earth","moon","mars","phobos","deimos","ceres","jupiter","io","europa","ganymede","callisto","saturn","titan","uranus","neptune","triton","pluto","charon"],"description":"Lay the ring in this real body's equator at the scene clock's date (Saturn's rings: body: saturn on a ring at Saturn). inclination and node tilt it from there; rotation does not apply."},"branches":{"description":"How many times the branches fork, 1 to 5 (each level smaller, the last are thorns). Default 4.","anyOf":[{"type":"integer","minimum":1,"maximum":5},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":4},"brightness":{"type":"array","minItems":2,"maxItems":2,"items":{"$ref":"#/$defs/brightness_item"},"default":[0.3,0.8],"description":"Each cloud's opacity is picked at random between these [dimmest, brightest], 0 to 1 (a cloud's own opacity wins). Default [0.3, 0.8]."},"brightness_item":{"description":"A brightness, 0 to 1.","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"cardHeightSchema":{"oneOf":[{"type":"number","minimum":1,"description":"Card height in pixels (bare integer, e.g. 56 = 56px)"},{"type":"string","pattern":"^([\\d.]+(\\s*(px|vh|vw|%|em|rem|vmin|vmax))?|(calc|min|max|clamp|var)\\(.+\\))$","description":"Card height with CSS unit (e.g. 200px, 50vh, 10em) or a CSS function: calc(), min(), max(), clamp(), var()"}],"description":"Card height override. Bare integer = px (e.g. 200 = 200px). CSS units accepted: 200px, 50vh, 10em."},"cardMaxHeightSchema":{"oneOf":[{"type":"number","minimum":1,"description":"Maximum card height in pixels (bare integer, e.g. 400 = 400px)"},{"type":"string","pattern":"^([\\d.]+(\\s*(px|vh|vw|%|em|rem|vmin|vmax))?|(calc|min|max|clamp|var)\\(.+\\))$","description":"Maximum card height with CSS unit (e.g. 400px, 80vh, 20em)"}],"description":"Maximum card height ceiling. Bare integer = px (e.g. 400 = 400px). CSS units accepted: 400px, 80vh, 10em."},"cardMaxWidthSchema":{"oneOf":[{"type":"number","minimum":1,"description":"Maximum card width in pixels (bare integer, e.g. 600 = 600px)"},{"type":"string","pattern":"^([\\d.]+(\\s*(px|vh|vw|%|em|rem|vmin|vmax))?|(calc|min|max|clamp|var)\\(.+\\))$","description":"Maximum card width with CSS unit (e.g. 600px, 80vw, 20em)"}],"description":"Maximum card width ceiling. Bare integer = px (e.g. 600 = 600px). CSS units accepted: 600px, 80vw, 10em."},"cardMinHeightSchema":{"oneOf":[{"type":"number","minimum":0,"description":"Minimum card height in pixels (bare integer, e.g. 40 = 40px)"},{"type":"string","pattern":"^([\\d.]+(\\s*(px|vh|vw|%|em|rem|vmin|vmax))?|(calc|min|max|clamp|var)\\(.+\\))$","description":"Minimum card height with CSS unit (e.g. 40px, 10vh)"}],"description":"Minimum card height floor. Overrides the --lcards-button-min-height CSS token. Bare integer = px."},"cardMinWidthSchema":{"oneOf":[{"type":"number","minimum":0,"description":"Minimum card width in pixels (bare integer, e.g. 80 = 80px)"},{"type":"string","pattern":"^([\\d.]+(\\s*(px|vh|vw|%|em|rem|vmin|vmax))?|(calc|min|max|clamp|var)\\(.+\\))$","description":"Minimum card width with CSS unit (e.g. 80px, 10vw)"}],"description":"Minimum card width floor. Bare integer = px."},"cardWidthSchema":{"oneOf":[{"type":"number","minimum":1,"description":"Card width in pixels (bare integer, e.g. 300 = 300px)"},{"type":"string","pattern":"^([\\d.]+(\\s*(px|vh|vw|%|em|rem|vmin|vmax))?|(calc|min|max|clamp|var)\\(.+\\))$","description":"Card width with CSS unit (e.g. 400px, 50vw, 10em) or a CSS function: calc(), min(), max(), clamp(), var()"}],"description":"Card width override. Bare integer = px (e.g. 400 = 400px). CSS units accepted: 400px, 50vw, 10em."},"cards_lcards_alert_overlay_band_phase":{"type":"number","minimum":0,"maximum":360,"description":"Lock the band animation to the alert symbol bar sweep, this many degrees later (the symbol innermost bars light at 150, so 180 makes an outward sweep carry on out of the symbol). Unset = not locked. Needs the symbol and the same speed for both","examples":[180]},"cards_lcards_astrometrics_card_labels_default_background":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"A box behind the text (the LCARS bar-break label): a colour or a state map, as color."},"cards_lcards_astrometrics_card_labels_default_color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Text colour: a colour or a state map by the point's entity (default, active, inactive, unavailable, a state name, above:N, ...). A selected key colours the field while the point is selected. CSS variables stay live, so alert modes recolour."},"cards_lcards_astrometrics_card_labels_default_font_size":{"oneOf":[{"type":"number","minimum":1,"maximum":200,"description":"Font size in pixels (1-200)"},{"type":"string","pattern":"^(\\d+px|\\d+\\.?\\d*rem|\\d+\\.?\\d*em|var\\(--[a-z-]+\\))$","description":"CSS value or theme token","examples":["14px"]}],"description":"Font size: px (a number) or a CSS size (14px, 1.2rem, var(--lcars-text-size))."},"cards_lcards_astrometrics_card_labels_default_padding":{"oneOf":[{"type":"number","title":"Uniform Padding","minimum":0,"maximum":200,"description":"Same padding on all sides (in pixels)","examples":[8]},{"$ref":"#/$defs/cards_lcards_button_text_default_padding"}],"description":"Moves the field, px: a number for every side, or { top, right, bottom, left }."},"cards_lcards_astrometrics_card_labels_default_position":{"type":"string","enum":["top-left","top-center","top-right","center-left","center","center-right","bottom-left","bottom-center","bottom-right","top","bottom","left","right","left-center","right-center"],"description":"Where this field sits round the point: center (on it), center-right (right of the marker), top-left, bottom-center, ... (right, left, top, bottom are short for the middle ones). Fields with the same position stack. Default center-right with a marker, center without."},"cards_lcards_astrometrics_card_points_item":{"type":"object","required":["id"],"description":"A named point: placed once (one of xyz, polar, latlon, altaz, sky, at, cell, or part on a model), referenced by id from paths, rings, beams, objects and views. With a label or marker it shows on the scene.","properties":{"id":{"type":"string","description":"Unique name of the point (referenced by at, target, from, to, around, points)."},"xyz":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_xyz"},"polar":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_polar"},"latlon":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_latlon"},"altaz":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_altaz"},"sky":{"type":"string","enum":["sun","moon"],"description":"Follow the sun or moon on the dome named in object, from the time and the Home Assistant location (sun.sun when it exists). Updated every minute. With a clock, the scene date instead of now."},"body":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_body"},"center":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_center"},"satellite":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_satellite"},"heights":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_heights"},"at":{"type":"string","description":"Place it at another point (by id); add offset to move it from there."},"cell":{"type":"string","description":"The centre of a sector map cell, such as AF3, on the grid named in object (a plane grid; its axis_labels say how cells are named)."},"object":{"type":"string","description":"The object the point stands on (an object id). Needed by latlon (a sphere), altaz and sky (a dome grid), cell (a plane grid) and part (a model); with xyz or polar the point moves and spins with the object (on a model: in the file's coordinates)."},"part":{"type":"string","description":"A named part (node) of the model in object: the point sits on it and follows it; xyz is an offset in the part's coordinates."},"alt":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_alt"},"offset":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3,"description":"Moves the point by [x, y, z] scene units from where its form puts it."},"entity":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_entity"},"tags":{"type":"array","items":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$"},"description":"Tags for rules: a rule on tag:<name> patches every point with the tag.","examples":[["navigation","primary"]]},"hide_in_systems":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_hide_in_systems"},"look":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_look"},"label":{"type":["string","number"],"description":"Text shown at the point: short for text.label.content. Leave out for a marker only, or for a point that only anchors other things."},"text":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_text"},"style":{"type":"string","description":"Label style: a built-in (title 34 px, major 20 px, minor 13 px, tiny 10 px; larger ones win when labels overlap) or one of yours in labels.styles. Default minor.","examples":["title"]},"marker":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_marker"},"color":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_color"},"visible":{"type":"boolean","default":true,"description":"false hides the label, marker and card (the point still places other things). Rules use it to hide and show points."},"opacity":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_opacity"},"priority":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_priority"},"leader":{"type":"boolean","default":true,"description":"With a model, globe or cube sitting at the point (its at: names the point), the label stands off the object's edge on screen; true draws a thin line from the edge to the label, false leaves it out."},"overlap":{"type":"boolean","description":"When labels overlap, this one is never hidden: it still moves to the other side of its point when that is free, else it shows where it is (over the other one). Default: the style's, else labels.overlap (false)."},"fade":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2,"description":"Distance fade [start, end], scene units from the camera: fully shown nearer than start, gone past end."},"min_distance":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_min_distance"},"max_distance":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_max_distance"},"below_horizon":{"type":"string","enum":["dim","hide","show"],"description":"altaz and sky points under the horizon: dim (default for sky), hide, or show (default for altaz)."},"tap_action":{"$ref":"#/$defs/astrometrics-action"},"hold_action":{"$ref":"#/$defs/astrometrics-action"},"view":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_view"},"card":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_card"}}},"cards_lcards_astrometrics_card_points_item_alt":{"description":"Height above the surface of the object in object (latlon, altaz, sky), or above the plane (polar), scene units.","anyOf":[{"type":"number"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"cards_lcards_astrometrics_card_points_item_altaz":{"description":"Azimuth and altitude [azimuth, altitude] in degrees on the dome named in object: azimuth clockwise from north, altitude up from the horizon. Or { entity } (sun.sun: its azimuth and elevation attributes).","oneOf":[{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2,"description":"The numbers."},{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_altaz_2"}]},"cards_lcards_astrometrics_card_points_item_altaz_2":{"type":"object","description":"Read the numbers from an entity's attributes (state for its state). The point moves when they change and is hidden while one is missing.","properties":{"entity":{"type":"string","format":"entity","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"The entity to read. Default: the point's entity.","examples":["light.living_room"]},"azimuth":{"type":"string","description":"The attribute holding the azimuth. Default azimuth."},"altitude":{"type":"string","description":"The attribute holding the altitude. Default elevation."}},"additionalProperties":false},"cards_lcards_astrometrics_card_points_item_body":{"type":"string","enum":["sun","mercury","venus","earth","moon","mars","phobos","deimos","ceres","jupiter","io","europa","ganymede","callisto","saturn","titan","uranus","neptune","triton","pluto","charon"],"description":"Where a real Sun, planet, dwarf planet or moon is at the scene clock's date (clock; JPL elements), on its tilted, elliptical orbit. The Sun sits at the origin of the point's frame (the scene, or its system), in that frame's units: name them (units: km or au) or au is assumed. A moon is placed from the Sun too (its planet plus its own orbit)."},"cards_lcards_astrometrics_card_points_item_card":{"type":"object","required":["card"],"additionalProperties":false,"description":"A Lovelace card (any card: tile, entities, an LCARdS card) pinned to the point. It follows the point, and hides when the point is off screen, behind an object or out of its distance range.","properties":{"show":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_card_show"},"position":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_card_position"},"offset":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2,"description":"Moves the card by [x, y] px from where position puts it."},"width":{"type":"number","description":"Card width, px.","minimum":80,"default":280},"height":{"type":"number","description":"Card height, px: the card scrolls inside it. Default: the card's own height.","minimum":40},"leader":{"type":"boolean","default":false,"description":"true draws a thin line from the point to the card's nearest edge, in the point's colour, so it is clear which point a card belongs to."},"card":{"type":"object","required":["type"],"additionalProperties":true,"description":"The card config, as on a dashboard (type and its own keys). Its visibility conditions apply.","properties":{"type":{"type":"string","description":"The card type, such as tile or custom:lcards-button."}}}}},"cards_lcards_astrometrics_card_points_item_card_position":{"type":"string","enum":["top-left","top-center","top-right","center-left","center","center-right","bottom-left","bottom-center","bottom-right","top","bottom","left","right","left-center","right-center"],"default":"center-right","description":"Where the card sits round the point (the label position names). It stays inside the scene."},"cards_lcards_astrometrics_card_points_item_card_show":{"type":"string","enum":["tap","always"],"default":"tap","description":"tap: a tap on the point opens the card and selects the point (one card open at a time; a tap elsewhere or Escape closes it); the tap_action then runs only when it is fly-to. A point-card action (on any LCARdS card) and fly-to with point_card open and close it too. always: the card is always shown."},"cards_lcards_astrometrics_card_points_item_center":{"type":"string","enum":["sun","mercury","venus","earth","moon","mars","phobos","deimos","ceres","jupiter","io","europa","ganymede","callisto","saturn","titan","uranus","neptune","triton","pluto","charon"],"description":"body only: measure from this body instead of the Sun, so it sits at the origin (a Jupiter-centred scene of its moons)."},"cards_lcards_astrometrics_card_points_item_color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"The point's colour: the marker, and the default for its text fields. A colour or a state map by the point's entity (a selected key while it is selected). CSS variables stay live, so alert modes recolour. Default by style: moonlight for title and major, the theme text colour for minor and tiny."},"cards_lcards_astrometrics_card_points_item_entity":{"type":"string","format":"entity","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"The point's entity: its templates read it as entity, state colour maps follow its state, more-info and toggle actions use it, and latlon / altaz / xyz / polar can take their values from it.","examples":["light.living_room"]},"cards_lcards_astrometrics_card_points_item_heights":{"type":"string","enum":["real","diagram"],"enumDescriptions":{"real":"Real heights over the sphere","diagram":"Low orbits lifted clear of the surface, high ones brought in"},"description":"satellite only: real draws its height to scale (the ISS just over the surface, geostationary almost six Earth radii out); diagram lifts low orbits clear of the surface and brings high ones in, keeping their order. Default real. Give its orbit ring the same point, so they match."},"cards_lcards_astrometrics_card_points_item_hide_in_systems":{"description":"Hide the label and marker while the camera is inside a star system (a system object), so galaxy-scale names step aside in the close-ups. Or a list of system ids: hidden inside those systems only (a route that belongs in the systems at its ends, not in the one it passes).","oneOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"},"minItems":1,"description":"The systems (their ids) to hide it in"}]},"cards_lcards_astrometrics_card_points_item_latlon":{"description":"Latitude and longitude [lat, lon] in degrees on the sphere named in object. Longitude 0 faces the default camera, east to the right; the point turns with the sphere's spin. Or { entity } for a person, device tracker or zone (its latitude and longitude attributes).","oneOf":[{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2,"description":"The numbers."},{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_latlon_2"}]},"cards_lcards_astrometrics_card_points_item_latlon_2":{"type":"object","description":"Read the numbers from an entity's attributes (state for its state). The point moves when they change and is hidden while one is missing.","properties":{"entity":{"type":"string","format":"entity","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"The entity to read. Default: the point's entity.","examples":["light.living_room"]},"latitude":{"type":"string","description":"The attribute holding the latitude. Default latitude."},"longitude":{"type":"string","description":"The attribute holding the longitude. Default longitude."}},"additionalProperties":false},"cards_lcards_astrometrics_card_points_item_look":{"type":"string","enum":["diagram","realistic"],"description":"Which look of the card shows the label and marker: diagram in the diagram and mixed looks, realistic in the realistic and mixed looks. Left out, it shows in every look.","enumDescriptions":{"diagram":"The diagram look (wireframes, schematics)","realistic":"The realistic look"}},"cards_lcards_astrometrics_card_points_item_marker":{"type":"string","enum":["dot","triangle","diamond","square","reticle","ship","starbase","moon_phase","none"],"default":"none","description":"Marker drawn at the point: dot, triangle, diamond, square, reticle (a target ring), ship (a starship from above), starbase (a station: stands in for a model far away), moon_phase (the moon's lit part, from the sky) or none. A point with a marker can be tapped."},"cards_lcards_astrometrics_card_points_item_max_distance":{"description":"Hidden when the camera is farther than this, scene units (detail that appears as you zoom in).","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"cards_lcards_astrometrics_card_points_item_min_distance":{"description":"Hidden when the camera is closer than this, scene units.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"cards_lcards_astrometrics_card_points_item_opacity":{"description":"Opacity of the label and marker, 0 to 1.","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":1},"cards_lcards_astrometrics_card_points_item_polar":{"description":"Position on the scene plane as [distance, bearing]: distance in scene units, bearing in degrees, 0 north, clockwise seen from above; alt lifts it. With object: local to that object. Or { entity, attributes: [distance, bearing] }.","oneOf":[{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2,"description":"The numbers."},{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_polar_2"}]},"cards_lcards_astrometrics_card_points_item_polar_2":{"type":"object","description":"Read the numbers from an entity's attributes (state for its state). The point moves when they change and is hidden while one is missing.","properties":{"entity":{"type":"string","format":"entity","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"The entity to read. Default: the point's entity.","examples":["light.living_room"]},"attributes":{"type":"array","items":{"type":"string"},"minItems":2,"maxItems":2,"description":"The attributes holding the distance and bearing. Default [distance, bearing]."}},"additionalProperties":false},"cards_lcards_astrometrics_card_points_item_priority":{"description":"Which label wins when two overlap (higher wins; then the nearer one). Default by style: title 100, major 80, minor 40, tiny 10 (labels.styles can set its own).","anyOf":[{"type":"number"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"cards_lcards_astrometrics_card_points_item_satellite":{"type":["string","integer"],"examples":["iss"],"description":"A real Earth satellite, round the Earth sphere named in object, at the scene clock's date: a built-in name (iss, tiangong, hubble, goes_east, goes_west, meteosat, meteosat_iodc, himawari, geo_kompsat, insat, fengyun_4a) or a NORAD catalogue number. Built-in names, GPS and Galileo satellites come with orbits shipped in LCARdS (high orbits stay right for months; a low one such as the ISS keeps its orbit but not its place along it, so give it an entity). With entity, its latitude and longitude (or lat and long) are live fixes: the dot eases onto each one and moves on along the orbit between them, and a satellite LCARdS does not ship gets its orbit from two fixes. Satellite tracker integrations give such entities. Its height is measured in the sphere's radii (an Earth of 6371 km), so it works in any units."},"cards_lcards_astrometrics_card_points_item_text":{"type":"object","description":"The label's text fields, as on other LCARdS cards: default holds keys every field inherits; every other key is a field (label is the main one; label: on the point is short for text.label.content).","properties":{"default":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_text_default"}},"additionalProperties":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_text_value"}},"cards_lcards_astrometrics_card_points_item_text_default":{"type":"object","description":"Keys every text field of this point inherits (not drawn itself).","properties":{"content":{"type":"string","description":"Text of this field. Templates are evaluated (the point's entity is entity; sky and point are available too); template: false shows it as written.","examples":["Temperature"]},"show":{"type":"boolean","default":true,"description":"Whether to show this text field"},"position":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_position"},"rotation":{"type":"number","minimum":-360,"maximum":360,"default":0,"description":"Turn the field, degrees."},"padding":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_padding"},"font_size":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_font_size"},"color":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_color"},"font_weight":{"type":["string","number"],"default":"normal","description":"Font weight: CSS keyword (normal, bold) or numeric value (100–900)","examples":["normal"]},"font_family":{"type":"string","format":"font-family","description":"CSS font-family (single font, comma-separated stack, or CSS variable)","examples":["Arial"]},"text_transform":{"type":"string","enum":["none","uppercase","lowercase","capitalize"],"default":"none","description":"Text transformation","enumDescriptions":["No transformation (original case)","ALL UPPERCASE","all lowercase","Capitalize First Letter"]},"letter_spacing":{"type":["number","string"],"description":"Space between letters: px (a number) or a CSS letter-spacing such as 0.1em or 2px. Default normal.","examples":[1]},"template":{"type":"boolean","default":true,"description":"Template evaluation is enabled by default for this field’s content (e.g. {entity.state}, {{ states(...) }}, [[[ ... ]]]). Set to false to render {...} / [[[...]]] text literally without evaluating it."},"fit":{"$ref":"#/$defs/cards_lcards_button_text_value_fit"},"display_format":{"$ref":"#/$defs/cards_lcards_button_text_value_display_format"},"background":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_background"},"background_padding":{"type":"number","minimum":0,"default":8,"description":"Space between the text and the sides of its background box, px."},"background_radius":{"type":"number","minimum":0,"default":4,"description":"Corner radius of the background rect (px)."},"background_width":{"type":["number","null"],"minimum":1,"description":"Fixed explicit width of the background rect (px). Overrides auto-sizing from text metrics. Text will overflow if content is wider than this value."},"background_min_width":{"type":["number","null"],"minimum":1,"description":"Minimum width of the background rect (px). Auto-sizes to text width but never smaller than this value. Safe for dynamic content."}}},"cards_lcards_astrometrics_card_points_item_text_value":{"type":"object","description":"A text field of the label (the LCARdS text-field keys: content, font, colour, background, position round the point).","properties":{"content":{"type":"string","description":"Text of this field. Templates are evaluated (the point's entity is entity; sky and point are available too); template: false shows it as written.","examples":["Temperature"]},"show":{"type":"boolean","default":true,"description":"Whether to show this text field"},"position":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_position"},"rotation":{"type":"number","minimum":-360,"maximum":360,"default":0,"description":"Turn the field, degrees."},"padding":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_padding"},"font_size":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_font_size"},"color":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_color"},"font_weight":{"type":["string","number"],"default":"normal","description":"Font weight: CSS keyword (normal, bold) or numeric value (100–900)","examples":["normal"]},"font_family":{"type":"string","format":"font-family","description":"CSS font-family (single font, comma-separated stack, or CSS variable)","examples":["Arial"]},"text_transform":{"type":"string","enum":["none","uppercase","lowercase","capitalize"],"default":"none","description":"Text transformation","enumDescriptions":["No transformation (original case)","ALL UPPERCASE","all lowercase","Capitalize First Letter"]},"letter_spacing":{"type":["number","string"],"description":"Space between letters: px (a number) or a CSS letter-spacing such as 0.1em or 2px. Default normal.","examples":[1]},"template":{"type":"boolean","default":true,"description":"Template evaluation is enabled by default for this field’s content (e.g. {entity.state}, {{ states(...) }}, [[[ ... ]]]). Set to false to render {...} / [[[...]]] text literally without evaluating it."},"fit":{"$ref":"#/$defs/cards_lcards_button_text_value_fit"},"display_format":{"$ref":"#/$defs/cards_lcards_button_text_value_display_format"},"background":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_background"},"background_padding":{"type":"number","minimum":0,"default":8,"description":"Space between the text and the sides of its background box, px."},"background_radius":{"type":"number","minimum":0,"default":4,"description":"Corner radius of the background rect (px)."},"background_width":{"type":["number","null"],"minimum":1,"description":"Fixed explicit width of the background rect (px). Overrides auto-sizing from text metrics. Text will overflow if content is wider than this value."},"background_min_width":{"type":["number","null"],"minimum":1,"description":"Minimum width of the background rect (px). Auto-sizes to text width but never smaller than this value. Safe for dynamic content."}}},"cards_lcards_astrometrics_card_points_item_view":{"type":"object","description":"Camera keys to land on when this is flown to (by a tap or a fly-to action). Leave out keys to keep the current ones; the distance defaults to a close-up.","properties":{"distance":{"type":"number","description":"Camera distance from the point, scene units.","minimum":0},"tilt":{"type":"number","description":"Camera height angle, degrees: 0 level, 90 straight down."},"yaw":{"type":"number","description":"The way the camera faces, degrees (0: facing north)."},"warp":{"type":"boolean","description":"Stars and dust streak while the camera flies here (warp). Default camera.warp."}}},"cards_lcards_astrometrics_card_points_item_xyz":{"description":"Position [x, y, z], scene units (y is up). With object: local to that object. Or { entity, attributes: [x, y, z] } to read it from an entity.","oneOf":[{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3,"description":"The numbers."},{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_xyz_2"}]},"cards_lcards_astrometrics_card_points_item_xyz_2":{"type":"object","description":"Read the numbers from an entity's attributes (state for its state). The point moves when they change and is hidden while one is missing.","properties":{"entity":{"type":"string","format":"entity","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"The entity to read. Default: the point's entity.","examples":["light.living_room"]},"attributes":{"type":"array","items":{"type":"string"},"minItems":3,"maxItems":3,"description":"The attributes holding x, y and z. Default [x, y, z]."}},"additionalProperties":false},"cards_lcards_astrometrics_card_warp_factor":{"type":"object","required":["entity"],"additionalProperties":{"type":"number","description":"The setting's value in a state (\"playing\", \"home\", \"heat\") or a range (\"above:80\", \"below:20\", \"between:20:80\"), as the state colours match them."},"description":"Follow an entity: its state (or attribute) mapped from input to output (the map_range keys used across LCARdS), held at the ends, or a value per state (the state colour keys: active, inactive, unavailable, zero, non_zero, above:N, below:N, between:A:B, or any state). A matching state key wins, then the range; with no state keys an active entity (on, playing, home) reads as the high end of input and an inactive one as the low end. No number: default, else the key's own default.","properties":{"entity":{"type":"string","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"The entity to follow."},"attribute":{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor_attribute"},"active":{"type":"number","description":"The setting's value while the entity is active (on, playing, home, open)."},"inactive":{"type":"number","description":"The setting's value while the entity is inactive (off, idle, not_home, closed)."},"unavailable":{"type":"number","description":"The setting's value while the entity is unavailable or unknown."},"zero":{"type":"number","description":"The setting's value when the entity's value is the number 0."},"non_zero":{"type":"number","description":"The setting's value when the entity's value is any other number."},"input":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2,"description":"[low, high] of the entity's value. Default the entity's min and max attributes (an input_number), else 0 to 100."},"output":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2,"description":"[low, high] of the setting the input maps to. Leave out to use the entity's number as it is."},"clamp":{"type":"boolean","default":true,"description":"false: a value outside input carries on past the ends of output (default true: held at the ends)."},"default":{"type":"number","description":"The setting's value while the entity has no number (unavailable, or a light that is off has no brightness). Left out: the key's own default."},"smooth":{"type":"number","minimum":0,"description":"opacity, radius, size and spin ease to a new value over this many ms (default 600; 0 steps). Other keys step."}}},"cards_lcards_astrometrics_card_warp_factor_attribute":{"type":"string","description":"Read (and match state keys against) this attribute instead of the state. brightness_pct reads a light's brightness as 0 to 100 % (0 while off). Without one and without state keys, an active entity (on, playing, home) reads as the high end of input and an inactive one as the low end."},"cards_lcards_button_animations":{"type":"array","items":{"$ref":"#/$defs/animation"}},"cards_lcards_button_data_sources":{"temp":{"entity":"sensor.temperature","history":{"hours":6},"processing":{"fahrenheit":{"type":"convert_unit","from":"c","to":"f"},"smoothed":{"type":"smooth","input_source":"fahrenheit","method":"exponential","alpha":0.3},"rounded":{"type":"round","input_source":"smoothed","precision":1}}},"power":{"entity":"sensor.power","min_emit_ms":1000,"processing":{"kilowatts":{"type":"scale","input_range":[0,1000],"output_range":[0,1]}}}},"cards_lcards_button_data_sources_value":{"type":"object","properties":{"entity":{"type":"string","format":"entity","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"Entity ID to track (format: domain.object_id)","examples":["sensor.temperature"]},"attribute":{"type":"string","description":"Entity attribute to track instead of state","examples":["temperature"]},"enum_mapping":{"type":"object","description":"Map non-numeric states to numbers so they can be plotted or processed (on/off map to 1/0 automatically)","additionalProperties":{"type":"number"},"examples":[{"heat":2,"cool":1,"idle":0}]},"periodic_update_interval":{"type":"number","minimum":100,"default":1000,"description":"With a duration processor, ms between the refreshes that keep the elapsed time counting."},"history":{"$ref":"#/$defs/cards_lcards_button_data_sources_value_history"},"processing":{"$ref":"#/$defs/cards_lcards_button_data_sources_value_processing"},"window_seconds":{"type":["number","string"],"description":"Rolling buffer window: seconds, or a duration like \"5m\" or \"1h\". About 10 points per second are kept, at most 1,000 (default 60)","examples":[60]},"min_emit_ms":{"type":"number","minimum":10,"description":"Minimum ms between updates sent to cards (throttle, default 100)"},"coalesce_ms":{"type":"number","minimum":0,"description":"Window in ms for merging rapid changes into one update (default: 40% of min_emit_ms; below 20 counts as 20)"},"max_delay_ms":{"type":"number","minimum":0,"description":"Longest ms an update may be held back while merging (default: 3 x coalesce_ms; never less than min_emit_ms)"},"emit_on_same_value":{"type":"boolean","description":"Send updates even when the value did not change (default true)"}},"required":["entity"]},"cards_lcards_button_data_sources_value_history":{"type":"object","description":"Historical data preload configuration","properties":{"enabled":{"type":"boolean","description":"Enable historical data preload (default: true)"},"hours":{"type":"number","minimum":1,"maximum":168,"description":"Hours of history to preload (1-168, default: 6)"},"days":{"type":"number","minimum":1,"maximum":7,"description":"Days of history to preload (1-7)"}}},"cards_lcards_button_data_sources_value_processing":{"type":"object","description":"Processing pipeline with named processors. Each processor transforms data and stores results in a buffer accessible via templates.","additionalProperties":{"$ref":"#/$defs/processorSchema"}},"cards_lcards_button_data_sources_value_processing_value":{"type":"object","title":"convert_unit","description":"Convert between units (temperature, power, energy, distance, speed, pressure, data).","required":["type","from","to"],"properties":{"type":{"type":"string","const":"convert_unit","description":"convert_unit: Convert between units (temperature, power, energy, distance, speed, pressure, data)."},"input_source":{"type":"string","description":"Name of another processor in this pipeline whose output this one reads (creates a dependency chain). If omitted, uses the raw entity value.","examples":["fahrenheit"]},"enabled":{"type":"boolean","description":"Set false to pass values through unchanged (default true)"},"from":{"type":"string","description":"Source unit (e.g. c, f, w, kw). Not a chaining key: use input_source."},"to":{"type":"string","description":"Target unit."}}},"cards_lcards_button_data_sources_value_processing_value_10":{"type":"object","title":"clamp","description":"Keep the value within bounds.","required":["type"],"properties":{"type":{"type":"string","const":"clamp","description":"clamp: Keep the value within bounds."},"input_source":{"type":"string","description":"Name of another processor in this pipeline whose output this one reads (creates a dependency chain). If omitted, uses the raw entity value.","examples":["fahrenheit"]},"enabled":{"type":"boolean","description":"Set false to pass values through unchanged (default true)"},"min":{"type":"number","description":"Lower bound."},"max":{"type":"number","description":"Upper bound."}}},"cards_lcards_button_data_sources_value_processing_value_11":{"type":"object","title":"round","description":"Round to a number of decimal places.","required":["type"],"properties":{"type":{"type":"string","const":"round","description":"round: Round to a number of decimal places."},"input_source":{"type":"string","description":"Name of another processor in this pipeline whose output this one reads (creates a dependency chain). If omitted, uses the raw entity value.","examples":["fahrenheit"]},"enabled":{"type":"boolean","description":"Set false to pass values through unchanged (default true)"},"method":{"type":"string","enum":["round","floor","ceil"],"description":"Rounding method (default round)."},"precision":{"type":"number","minimum":0,"description":"Decimal places (default 0)."}}},"cards_lcards_button_data_sources_value_processing_value_12":{"type":"object","title":"delta","description":"Change since the previous value.","required":["type"],"properties":{"type":{"type":"string","const":"delta","description":"delta: Change since the previous value."},"input_source":{"type":"string","description":"Name of another processor in this pipeline whose output this one reads (creates a dependency chain). If omitted, uses the raw entity value.","examples":["fahrenheit"]},"enabled":{"type":"boolean","description":"Set false to pass values through unchanged (default true)"},"absolute":{"type":"boolean","description":"Report the absolute change."}}},"cards_lcards_button_data_sources_value_processing_value_2":{"type":"object","title":"scale","description":"Map a value from one range to another, with an optional curve.","required":["type"],"properties":{"type":{"type":"string","const":"scale","description":"scale: Map a value from one range to another, with an optional curve."},"input_source":{"type":"string","description":"Name of another processor in this pipeline whose output this one reads (creates a dependency chain). If omitted, uses the raw entity value.","examples":["fahrenheit"]},"enabled":{"type":"boolean","description":"Set false to pass values through unchanged (default true)"},"input_range":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2,"description":"[min, max] of the input (default [0, 100])."},"output_range":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2,"description":"[min, max] of the output (default [0, 1])."},"curve":{"type":"string","enum":["linear","exponential","logarithmic","sigmoid"],"description":"Mapping curve (default linear)."}}},"cards_lcards_button_data_sources_value_processing_value_3":{"type":"object","title":"smooth","description":"Smooth out noise.","required":["type"],"properties":{"type":{"type":"string","const":"smooth","description":"smooth: Smooth out noise."},"input_source":{"type":"string","description":"Name of another processor in this pipeline whose output this one reads (creates a dependency chain). If omitted, uses the raw entity value.","examples":["fahrenheit"]},"enabled":{"type":"boolean","description":"Set false to pass values through unchanged (default true)"},"method":{"type":"string","enum":["exponential","moving_average","gaussian"],"description":"Smoothing method (default exponential)."},"alpha":{"type":"number","minimum":0,"maximum":1,"description":"exponential: weight of the newest value, 0 to 1 (default 0.3)."},"window":{"type":"number","minimum":1,"description":"moving_average and gaussian: samples in the window (default 10)."}}},"cards_lcards_button_data_sources_value_processing_value_4":{"type":"object","title":"expression","description":"Compute a value with a JavaScript expression.","required":["type","expression"],"properties":{"type":{"type":"string","const":"expression","description":"expression: Compute a value with a JavaScript expression."},"input_source":{"type":"string","description":"Name of another processor in this pipeline whose output this one reads (creates a dependency chain). If omitted, uses the raw entity value.","examples":["fahrenheit"]},"enabled":{"type":"boolean","description":"Set false to pass values through unchanged (default true)"},"expression":{"type":"string","description":"JavaScript expression using value/v, t, sources, entity and Math helpers."},"sources":{"type":"array","items":{"type":"string"},"description":"Processor names available as sources[0], sources[1], ..."}}},"cards_lcards_button_data_sources_value_processing_value_5":{"type":"object","title":"statistics","description":"Statistics over a time window.","required":["type"],"properties":{"type":{"type":"string","const":"statistics","description":"statistics: Statistics over a time window."},"input_source":{"type":"string","description":"Name of another processor in this pipeline whose output this one reads (creates a dependency chain). If omitted, uses the raw entity value.","examples":["fahrenheit"]},"enabled":{"type":"boolean","description":"Set false to pass values through unchanged (default true)"},"stats":{"type":"array","items":{"type":"string","enum":["min","max","mean","avg","median","std_dev","stddev","q1","q3","range","count","sum"]},"description":"Which statistics: min, max, mean, median, std_dev, q1, q3, range, count, sum (avg and stddev are aliases)."},"window":{"type":["number","string"],"description":"Time window: seconds, a duration like \"5m\", or \"session\"."},"max_points":{"type":"number","minimum":1,"description":"Keep a time series of this many results."}}},"cards_lcards_button_data_sources_value_processing_value_6":{"type":"object","title":"rate","description":"Rate of change.","required":["type"],"properties":{"type":{"type":"string","const":"rate","description":"rate: Rate of change."},"input_source":{"type":"string","description":"Name of another processor in this pipeline whose output this one reads (creates a dependency chain). If omitted, uses the raw entity value.","examples":["fahrenheit"]},"enabled":{"type":"boolean","description":"Set false to pass values through unchanged (default true)"},"unit":{"type":"string","enum":["per_second","per_minute","per_hour"],"description":"Time unit (default per_second)."},"smoothing":{"type":"boolean","description":"Smooth the rate."}}},"cards_lcards_button_data_sources_value_processing_value_7":{"type":"object","title":"trend","description":"Whether the value is rising, falling or stable.","required":["type"],"properties":{"type":{"type":"string","const":"trend","description":"trend: Whether the value is rising, falling or stable."},"input_source":{"type":"string","description":"Name of another processor in this pipeline whose output this one reads (creates a dependency chain). If omitted, uses the raw entity value.","examples":["fahrenheit"]},"enabled":{"type":"boolean","description":"Set false to pass values through unchanged (default true)"},"samples":{"type":"number","minimum":2,"description":"Samples in the slope window (default 5)."},"threshold":{"type":"number","minimum":0,"description":"Slope below which the trend is stable."}}},"cards_lcards_button_data_sources_value_processing_value_8":{"type":"object","title":"duration","description":"How long a condition has held.","required":["type","condition"],"properties":{"type":{"type":"string","const":"duration","description":"duration: How long a condition has held."},"input_source":{"type":"string","description":"Name of another processor in this pipeline whose output this one reads (creates a dependency chain). If omitted, uses the raw entity value.","examples":["fahrenheit"]},"enabled":{"type":"boolean","description":"Set false to pass values through unchanged (default true)"},"condition":{"type":"string","description":"Condition like \"> 20\" that starts the timer."},"reset_on":{"type":"string","description":"Condition that resets the timer."}}},"cards_lcards_button_data_sources_value_processing_value_9":{"type":"object","title":"threshold","description":"Switch between two outputs at a point.","required":["type","threshold"],"properties":{"type":{"type":"string","const":"threshold","description":"threshold: Switch between two outputs at a point."},"input_source":{"type":"string","description":"Name of another processor in this pipeline whose output this one reads (creates a dependency chain). If omitted, uses the raw entity value.","examples":["fahrenheit"]},"enabled":{"type":"boolean","description":"Set false to pass values through unchanged (default true)"},"threshold":{"type":"number","description":"Switch point."},"above":{"description":"Output when above (default 1)."},"below":{"description":"Output when below (default 0)."},"hysteresis":{"type":"number","minimum":0,"description":"Dead band around the switch point."}}},"cards_lcards_button_dpad_segments_value":{"type":"object","properties":{"selector":{"type":"string","description":"CSS selector for SVG element (defaults to #{segment-id} if not specified)"},"entity":{"type":"string","format":"entity","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"Entity ID for this segment (format: domain.object_id, overrides card entity)","examples":["light.living_room"]},"tap_action":{"$ref":"#/$defs/action"},"hold_action":{"$ref":"#/$defs/action"},"double_tap_action":{"$ref":"#/$defs/action"},"style":{"$ref":"#/$defs/cards_lcards_button_dpad_segments_value_style"},"animations":{"$ref":"#/$defs/cards_lcards_button_dpad_segments_value_animations"}}},"cards_lcards_button_dpad_segments_value_animations":{"type":"array","description":"Animations on this segment only (the same entries as the card's animations list)","items":{"$ref":"#/$defs/animation"}},"cards_lcards_button_dpad_segments_value_style":{"type":"object","description":"SVG styling for the segment","properties":{"fill":{"$ref":"#/$defs/cards_lcards_button_dpad_segments_value_style_fill"},"stroke":{"$ref":"#/$defs/cards_lcards_button_dpad_segments_value_style_stroke"},"stroke-width":{"$ref":"#/$defs/cards_lcards_button_dpad_segments_value_style_stroke_width"}}},"cards_lcards_button_dpad_segments_value_style_fill":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Segment fill colour: a colour, or a state map (default, active, inactive, ranges)"},"cards_lcards_button_dpad_segments_value_style_stroke":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Segment outline colour: a colour, or a state map (default, active, inactive, ranges)"},"cards_lcards_button_dpad_segments_value_style_stroke_width":{"title":"Stroke Width","description":"SVG stroke width (number in pixels, CSS string, or state-based)","oneOf":[{"type":"number","minimum":0,"maximum":50,"description":"Stroke width in pixels (0-50)"},{"type":"string","pattern":"^\\d+(\\.\\d+)?(px|em|rem)?$","description":"CSS stroke width value","examples":["2px"]},{"$ref":"#/$defs/state-color"}]},"cards_lcards_button_grid_options_columns":{"oneOf":[{"type":"string","enum":["full"],"description":"Set to \"full\" to span all available columns"},{"type":"number","minimum":1,"description":"Number of grid columns this card spans: 12 per section column, so a section with column_span: 4 has 48"}],"description":"Number of grid columns (12 per section column; Home Assistant clamps to the section width) or \"full\" to span all columns"},"cards_lcards_button_grid_options_rows":{"oneOf":[{"type":"string","enum":["auto"],"description":"Set to \"auto\" to size the cell to the card's own height"},{"type":"number","minimum":1,"maximum":100,"description":"Number of rows this card spans (1-100)"}],"description":"Number of rows this card spans (1-100), or \"auto\" for the card's own height"},"cards_lcards_button_icon_area_background":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Single colour value applied to all entity states","examples":["#FF9900"],"title":"Simple Colour"},"cards_lcards_button_icon_area_background_2":{"type":"object","title":"State-Dependent Colours","description":"Map of entity state names to colour values. Well-known keys: default, active, inactive, unavailable, zero, non_zero, hover, pressed. Any custom state name (e.g. \"heating\", \"above:90\") is also accepted.","examples":[{"default":"#888888","active":"alpha(var(--lcards-orange), 0.08)","inactive":"#444444"}],"properties":{"default":{"$ref":"#/$defs/cards_lcards_button_icon_area_background_default"},"active":{"$ref":"#/$defs/cards_lcards_button_icon_area_background_active"},"inactive":{"$ref":"#/$defs/cards_lcards_button_icon_area_background_inactive"},"unavailable":{"$ref":"#/$defs/cards_lcards_button_icon_area_background_unavailable"},"zero":{"$ref":"#/$defs/cards_lcards_button_icon_area_background_zero"},"non_zero":{"$ref":"#/$defs/cards_lcards_button_icon_area_background_non_zero"},"hover":{"$ref":"#/$defs/cards_lcards_button_icon_area_background_hover"},"pressed":{"$ref":"#/$defs/cards_lcards_button_icon_area_background_pressed"}},"additionalProperties":{"$ref":"#/$defs/cards_lcards_button_icon_area_background_value"}},"cards_lcards_button_icon_area_background_active":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Colour when entity is on/active","examples":["#FF9900"]},"cards_lcards_button_icon_area_background_default":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Fallback colour when no other state key matches","examples":["#FF9900"]},"cards_lcards_button_icon_area_background_hover":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Colour on hover interaction","examples":["#FF9900"]},"cards_lcards_button_icon_area_background_inactive":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Colour when entity is off/inactive","examples":["#FF9900"]},"cards_lcards_button_icon_area_background_non_zero":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Colour when entity state is a non-zero number","examples":["#FF9900"]},"cards_lcards_button_icon_area_background_pressed":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Colour on press/tap interaction","examples":["#FF9900"]},"cards_lcards_button_icon_area_background_unavailable":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Colour when entity is unavailable","examples":["#FF9900"]},"cards_lcards_button_icon_area_background_value":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Colour for a custom state key (e.g. \"heating\", \"cooling\", \"above:90\", \"below:20\")","examples":["#FF9900"]},"cards_lcards_button_icon_area_background_zero":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Colour when entity state is numeric 0","examples":["#FF9900"]},"cards_lcards_button_state_attribute":{"type":"string","description":"Entity attribute whose String() value is used as the highest-priority key for ALL exact-match state-color lookups across the card. Booleans become \"true\"/\"false\"; null becomes \"null\"; strings are used as-is. Classified state (active/inactive) is always derived from entity.state and is unaffected. Can be used alongside ranges_attribute.","examples":["effect"]},"cards_lcards_button_svg_segments_default_style":{"type":"object","properties":{"fill":{"$ref":"#/$defs/state-color"},"stroke":{"$ref":"#/$defs/state-color"},"stroke-width":{"$ref":"#/$defs/cards_lcards_button_svg_segments_default_style_stroke_width"},"opacity":{"$ref":"#/$defs/cards_lcards_button_svg_segments_default_style_opacity"}}},"cards_lcards_button_svg_segments_default_style_opacity":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"description":"Opacity value (0.0 = transparent, 1.0 = opaque)"},{"type":"object","description":"State-based opacity","properties":{"default":{"type":"number","minimum":0,"maximum":1},"active":{"type":"number","minimum":0,"maximum":1},"inactive":{"type":"number","minimum":0,"maximum":1}}}]},"cards_lcards_button_svg_segments_default_style_stroke_width":{"title":"Stroke Width","description":"SVG stroke width (number in pixels or CSS string)","oneOf":[{"type":"number","minimum":0,"maximum":50,"description":"Uniform stroke width in pixels (0-50)"},{"type":"string","pattern":"^\\d+(\\.\\d+)?(px|em|rem)?$","description":"CSS stroke width value","examples":["2px"]},{"$ref":"#/$defs/cards_lcards_button_svg_segments_default_style_stroke_width_2"}]},"cards_lcards_button_svg_segments_default_style_stroke_width_2":{"type":"object","description":"State-based stroke width","properties":{"default":{"oneOf":[{"type":"number","minimum":0,"maximum":50},{"type":"string"}]},"active":{"oneOf":[{"type":"number","minimum":0,"maximum":50},{"type":"string"}]},"inactive":{"oneOf":[{"type":"number","minimum":0,"maximum":50},{"type":"string"}]}}},"cards_lcards_button_text":{"type":"object","description":"Multi-text label system","$comment":"Text fields use arbitrary keys. \"default\" provides styling inherited by all other text fields. All other keys create actual rendered text elements.","examples":[{"label1":{"content":"Temperature","position":"top-left","font_size":18,"color":"#FF9900"},"status":{"content":"{entity.state}","position":"center"}}],"properties":{"default":{"$ref":"#/$defs/cards_lcards_button_text_default"}},"additionalProperties":{"$ref":"#/$defs/cards_lcards_button_text_value"}},"cards_lcards_button_text_default":{"type":"object","description":"Default styling inherited by all text fields (does not render)","$comment":"This is NOT rendered as a text element - it only provides default styles","properties":{"position":{"type":"string","enum":["top-left","top-center","top-right","center-left","center","center-right","bottom-left","bottom-center","bottom-right","top","bottom","left","right","left-center","right-center"],"description":"Default text position (e.g., \"top-left\", \"center\")"},"rotation":{"type":"number","minimum":-360,"maximum":360,"default":0,"description":"Text rotation in degrees (-360 to 360)"},"padding":{"$ref":"#/$defs/paddingSchema"},"font_size":{"oneOf":[{"type":"number","minimum":1,"maximum":200,"default":14,"description":"Font size in pixels (1-200)"},{"type":"string","pattern":"^(\\d+px|\\d+\\.?\\d*rem|\\d+\\.?\\d*em|var\\(--[a-z-]+\\))$","description":"CSS value or theme token","examples":["14px"]}]},"color":{"$ref":"#/$defs/state-color"},"font_weight":{"type":["string","number"],"default":"normal","description":"Font weight: CSS keyword (normal, bold) or numeric value (100–900)","examples":["normal"]},"font_family":{"type":"string","format":"font-family","description":"CSS font-family (single font, comma-separated stack, or CSS variable)","examples":["Arial"]},"text_transform":{"type":"string","enum":["none","uppercase","lowercase","capitalize"],"default":"none","description":"Text transformation","enumDescriptions":["No transformation (original case)","ALL UPPERCASE","all lowercase","Capitalize First Letter"]},"letter_spacing":{"type":["number","string"],"description":"Space between letters: px (a number) or a CSS letter-spacing such as 0.1em or 2px. Default normal.","examples":[1]},"anchor":{"type":"string","enum":["start","middle","end"],"description":"Horizontal text alignment. Left out, it follows position (start at x/y)","enumDescriptions":["Left-aligned","Center-aligned","Right-aligned"]},"baseline":{"type":"string","enum":["hanging","middle","central","alphabetic"],"description":"Vertical text alignment. Left out, it follows position (auto at x/y)","enumDescriptions":["Top of text box","Center of text box","Mathematical center","Bottom of text (baseline)"]},"display_format":{"$ref":"#/$defs/cards_lcards_button_text_default_display_format"},"background":{"$ref":"#/$defs/state-color"},"background_padding":{"type":"number","minimum":0,"default":8,"description":"Horizontal padding between text glyphs and the background rect edges (px)."},"background_radius":{"type":"number","minimum":0,"default":4,"description":"Corner radius of the background rect (px)."},"background_width":{"type":["number","null"],"minimum":1,"description":"Fixed explicit width of the background rect (px). Overrides auto-sizing from text metrics. Text will overflow if content is wider than this value."},"background_min_width":{"type":["number","null"],"minimum":1,"description":"Minimum width of the background rect (px). Auto-sizes to text width but never smaller than this value. Safe for dynamic content."},"font_size_percent":{"type":"number","minimum":1,"maximum":100,"description":"Default font size as a percentage of the text zone height. All fields inherit this unless they set an explicit font_size. Useful for bar-label style presets that should auto-scale with the configured card height."},"cap_height_ratio":{"$ref":"#/$defs/cards_lcards_button_text_default_cap_height_ratio"}}},"cards_lcards_button_text_default_cap_height_ratio":{"type":"number","minimum":0.1,"maximum":1,"description":"Ratio of the font cap-height to the em-square (font-size). Used to correct font_size_percent so visible glyph height matches the requested percentage of the container. Defaults to the theme token value (0.86 for Antonio). Override when using a different font family."},"cards_lcards_button_text_default_display_format":{"type":"string","enum":["friendly","raw","parts","unit"],"default":"friendly","description":"Default display format for entity state/attribute tokens. \"friendly\" uses Home Assistant's translated display string. \"raw\" returns the unmodified value. \"parts\" joins value and unit. \"unit\" returns only the unit."},"cards_lcards_button_text_default_padding":{"type":"object","title":"Per-Side Padding","description":"Different padding for each side","examples":[{"top":8,"right":16,"bottom":8,"left":16}],"properties":{"top":{"type":"number","minimum":0,"maximum":200,"description":"Top padding in pixels"},"right":{"type":"number","minimum":0,"maximum":200,"description":"Right padding in pixels"},"bottom":{"type":"number","minimum":0,"maximum":200,"description":"Bottom padding in pixels"},"left":{"type":"number","minimum":0,"maximum":200,"description":"Left padding in pixels"}}},"cards_lcards_button_text_value":{"type":"object","description":"Text field configuration (key becomes field name)","$comment":"Each key creates a separate SVG text element. Use descriptive names like \"label1\", \"status\", \"title\"","properties":{"content":{"type":"string","description":"Text content. Templates are evaluated by default (set template:false to disable)","examples":["Temperature"]},"show":{"type":"boolean","default":true,"description":"Whether to show this text field"},"position":{"type":"string","enum":["top-left","top-center","top-right","center-left","center","center-right","bottom-left","bottom-center","bottom-right","top","bottom","left","right","left-center","right-center"],"description":"Text position (overrides default)"},"x":{"type":"number","description":"Absolute X coordinate in pixels"},"y":{"type":"number","description":"Absolute Y coordinate in pixels"},"x_percent":{"type":"number","minimum":0,"maximum":100,"description":"X position as a percentage of the text zone width (0-100); use with y_percent"},"y_percent":{"type":"number","minimum":0,"maximum":100,"description":"Y position as a percentage of the text zone height (0-100); use with x_percent"},"rotation":{"type":"number","minimum":-360,"maximum":360,"default":0,"description":"Text rotation in degrees (-360 to 360)"},"padding":{"$ref":"#/$defs/paddingSchema"},"font_size":{"oneOf":[{"type":"number","minimum":1,"maximum":200,"description":"Font size in pixels (1-200)"},{"type":"string","pattern":"^(\\d+px|\\d+\\.?\\d*rem|\\d+\\.?\\d*em|var\\(--[a-z-]+\\))$","description":"CSS value or theme token","examples":["14px"]}]},"color":{"$ref":"#/$defs/state-color"},"font_weight":{"type":["string","number"],"default":"normal","description":"Font weight: CSS keyword (normal, bold) or numeric value (100–900)","examples":["normal"]},"font_family":{"type":"string","format":"font-family","description":"CSS font-family (single font, comma-separated stack, or CSS variable)","examples":["Arial"]},"text_transform":{"type":"string","enum":["none","uppercase","lowercase","capitalize"],"default":"none","description":"Text transformation","enumDescriptions":["No transformation (original case)","ALL UPPERCASE","all lowercase","Capitalize First Letter"]},"letter_spacing":{"type":["number","string"],"description":"Space between letters: px (a number) or a CSS letter-spacing such as 0.1em or 2px. Default normal.","examples":[1]},"anchor":{"type":"string","enum":["start","middle","end"],"description":"Horizontal text alignment. Left out, it follows position (start at x/y)","enumDescriptions":["Left-aligned","Center-aligned","Right-aligned"]},"baseline":{"type":"string","enum":["hanging","middle","central","alphabetic"],"description":"Vertical text alignment. Left out, it follows position (auto at x/y)","enumDescriptions":["Top of text box","Center of text box","Mathematical center","Bottom of text (baseline)"]},"template":{"type":"boolean","default":true,"description":"Template evaluation is enabled by default for this field’s content (e.g. {entity.state}, {{ states(...) }}, [[[ ... ]]]). Set to false to render {...} / [[[...]]] text literally without evaluating it."},"stretch":{"$ref":"#/$defs/cards_lcards_button_text_value_stretch"},"fit":{"$ref":"#/$defs/cards_lcards_button_text_value_fit"},"font_size_percent":{"type":"number","minimum":1,"maximum":100,"description":"Font size as a percentage of the text area height (component mode). Overrides font_size when set."},"cap_height_ratio":{"type":"number","minimum":0.1,"maximum":1,"description":"Ratio of the font cap-height to the em-square. Used to correct font_size_percent so visible glyph height matches the requested percentage. Defaults to the theme token value (0.86 for Antonio). Override when using a different font."},"zone":{"type":"string","description":"Named zone key to route this text field to. For component cards this matches a key in the component's zones map. For slider/elbow cards this matches a named layout zone (e.g. left, track, vertical_bar). Defaults to the first zone if not set."},"display_format":{"$ref":"#/$defs/cards_lcards_button_text_value_display_format"},"background":{"$ref":"#/$defs/state-color"},"background_padding":{"type":"number","minimum":0,"default":8,"description":"Horizontal padding between text glyphs and the background rect edges (px)."},"background_radius":{"type":"number","minimum":0,"default":4,"description":"Corner radius of the background rect (px)."},"background_width":{"type":["number","null"],"minimum":1,"description":"Fixed explicit width of the background rect (px). Overrides auto-sizing from text metrics. Text will overflow if content is wider than this value."},"background_min_width":{"type":["number","null"],"minimum":1,"description":"Minimum width of the background rect (px). Auto-sizes to text width but never smaller than this value. Safe for dynamic content."}}},"cards_lcards_button_text_value_display_format":{"type":"string","enum":["friendly","raw","parts","unit"],"default":"friendly","description":"How to format entity state or attribute values in this text field. \"friendly\" (default) uses Home Assistant's translated display string matching native cards. \"raw\" returns the unmodified state/attribute value. \"parts\" joins value and unit from Home Assistant's ToParts API. \"unit\" returns only the unit portion.","examples":["friendly"]},"cards_lcards_button_text_value_fit":{"oneOf":[{"type":"boolean","description":"true = shrink the text to fit its zone, then wrap it to two lines, then end it with an ellipsis"},{"$ref":"#/$defs/cards_lcards_button_text_value_fit_2"}],"description":"Keep the text inside its zone: shrink it, then wrap it, then cut it. Off by default. Ignored with stretch."},"cards_lcards_button_text_value_fit_2":{"type":"object","additionalProperties":false,"description":"Fit with your own limits","properties":{"min_font_size":{"type":"number","minimum":1,"description":"Smallest size the text shrinks to (px; viewBox units in a component zone). Default: 60% of the font size, not below 8"},"max_lines":{"type":"integer","minimum":1,"description":"Most lines the text wraps to (at spaces). 1 = shrink only. Default 2"},"overflow":{"type":"string","enum":["ellipsis","clip"],"description":"Text still too long at the smallest size: end it with an ellipsis (default) or cut it"}}},"cards_lcards_button_text_value_stretch":{"oneOf":[{"type":"boolean","description":"true = stretch text to fill 100% of the available width"},{"type":"number","minimum":0,"maximum":1,"description":"Fraction of available width to stretch text to (0–1)"}],"description":"Stretch text to fill a fraction of the available width using SVG textLength / lengthAdjust=\"spacingAndGlyphs\". true = 100%, 0.8 = 80%."},"cards_lcards_button_zones":{"type":"object","description":"Named rectangles (px or *_percent of the card) that text fields and animations can target.","additionalProperties":{"$ref":"#/$defs/cards_lcards_button_zones_value"}},"cards_lcards_button_zones_value":{"type":"object","properties":{"x":{"type":"number","description":"Left edge, px from the card's left."},"y":{"type":"number","description":"Top edge, px from the card's top."},"width":{"type":"number","description":"Width, px."},"height":{"type":"number","description":"Height, px."},"x_percent":{"type":"number","description":"Left edge, percent of the card width."},"y_percent":{"type":"number","description":"Top edge, percent of the card height."},"width_percent":{"type":"number","description":"Width, percent of the card width."},"height_percent":{"type":"number","description":"Height, percent of the card height."}}},"cards_lcards_chart_sources_item_group_by":{"type":"object","description":"Bucket points into fixed time intervals. minmax, box and ohlc produce the data rangeArea, boxPlot and candlestick charts need.","properties":{"func":{"type":"string","enum":["avg","min","max","first","last","sum","median","delta","diff","minmax","box","ohlc"],"default":"avg","description":"How each bucket is reduced"},"duration":{"type":"string","pattern":"^\\d+(\\.\\d+)?\\s*(s|sec|m|min|h|hour|d|day|w|week|mo|month|y|year)s?$","description":"Bucket length, e.g. 10min, 1h, 1d","examples":["10min"]},"fill":{"type":"string","enum":["null","last","zero"],"default":"last","description":"Value for empty buckets: leave a gap, repeat the last value, or zero"}},"required":["duration"],"additionalProperties":false},"cards_lcards_chart_sources_item_states":{"type":"array","items":{"type":"string"},"description":"rangeBar: the states to draw, leaving gaps for the rest. Exact states (heat, playing) and the words active, inactive and unavailable (unknown too), as Home Assistant splits an entity's states. Default: every state.","examples":[["heat","cool"]]},"cards_lcards_chart_sources_item_statistics":{"type":"object","description":"Use long-term statistics instead of state history (sensors with a state_class)","properties":{"type":{"type":"string","enum":["mean","min","max","sum","state","change"],"default":"mean","description":"Which statistic to plot"},"period":{"type":"string","enum":["5minute","hour","day","week","month"],"default":"hour","description":"Statistics period"}},"additionalProperties":false},"cards_lcards_chart_style_colors_series":{"type":"array","items":{"$ref":"#/$defs/simpleColorSchema"},"description":"Array of colour values for multiple series","examples":[["#FF9900","#99CCFF","#FFCC00"]]},"cards_lcards_data_grid_cell_tap_action_action":{"type":"string","enum":["toggle","perform-action","navigate","url","more-info","assist","fire-dom-event","fly-to","set-clock","set-model-scale","point-card","none"],"description":"Type of action to perform (no default: an action without it does nothing). fire-dom-event: fire Home Assistant's ll-custom event with this action (browser_mod listens for it). fly-to: fly the camera of the astrometrics card named in card to its view or point. set-clock: set the scene date and or rate of the astrometrics card named in card. set-model-scale: draw its models at their real size, or larger to stay visible (model_scale). point-card: open, close or toggle the card pinned to one of its points (point, point_card).","enumDescriptions":["Toggle entity on/off","Perform a Home Assistant action","Navigate to another view/dashboard","Open a URL","Show entity more-info dialog","Open the Assist dialog","Fire an ll-custom event (browser_mod)","Fly an astrometrics card's camera","Set an astrometrics card's scene date and rate","Change an astrometrics card's model scale","Open or close the card on an astrometrics point","No action (disabled)"]},"cards_lcards_data_grid_cell_tap_action_confirmation":{"description":"Ask before running the action, as Home Assistant does: true asks Home Assistant's own question, an object sets the text and buttons and who is not asked. Works on every action type.","anyOf":[{"type":"boolean","description":"true: ask with Home Assistant's default question"},{"$ref":"#/$defs/cards_lcards_data_grid_cell_tap_action_confirmation_2"}],"examples":[true]},"cards_lcards_data_grid_cell_tap_action_confirmation_2":{"type":"object","description":"The question, its buttons and who is not asked","properties":{"text":{"type":"string","description":"The question (default: Home Assistant's \"Are you sure you want to run action ...?\" naming the action)"},"title":{"type":"string","description":"Dialog heading (default: none)"},"confirm_text":{"type":"string","description":"Confirm button label (default: OK, translated)"},"dismiss_text":{"type":"string","description":"Dismiss button label (default: Cancel, translated)"},"exemptions":{"type":"array","description":"Users who are not asked: the action runs straight away for them","items":{"type":"object","properties":{"user":{"type":"string","description":"A Home Assistant user id (Settings > People > Users with advanced mode on, the user's ID)"}},"required":["user"]}}},"additionalProperties":false},"cards_lcards_data_grid_rows_item_item":{"anyOf":[{"type":"string","description":"Static text, an entity id (shows its state) or a template ({{ }}, {datasource:...}, [[[ ]]])"},{"type":"number"},{"$ref":"#/$defs/cards_lcards_data_grid_rows_item_item_2"}]},"cards_lcards_data_grid_rows_item_item_2":{"type":"object","title":"Cell object","description":"A cell with its own style, entity context or actions","properties":{"value":{"type":["string","number"],"description":"What the cell shows: text, entity id or template"},"entity":{"type":"string","format":"entity","description":"Entity to show (when value is empty) and to resolve state-map colours and actions against"},"attribute":{"type":"string","description":"Show this attribute of the entity instead of its state"},"style":{"$ref":"#/$defs/cards_lcards_data_grid_rows_item_item_style"},"tap_action":{"$ref":"#/$defs/action"},"hold_action":{"$ref":"#/$defs/action"},"double_tap_action":{"$ref":"#/$defs/action"}}},"cards_lcards_data_grid_rows_item_item_style":{"type":"object","description":"Cell style. Keys are CSS properties in snake_case (font_size, border_bottom_color, ...). Numbers become px.","additionalProperties":{"type":["string","number"],"description":"Any other CSS property in snake_case (letter_spacing, text_shadow, ...); numbers become px"},"properties":{"color":{"$ref":"#/$defs/cards_lcards_data_grid_rows_item_item_style_color"},"background":{"$ref":"#/$defs/cards_lcards_data_grid_rows_item_item_style_background"},"font_size":{"type":["number","string"],"description":"Font size: number (px) or CSS length","examples":[18]},"font_family":{"type":"string","description":"CSS font-family","examples":["Antonio, sans-serif"]},"font_weight":{"type":["number","string"],"description":"CSS font-weight","examples":[400]},"align":{"type":"string","enum":["left","center","right"],"description":"Horizontal text alignment (default right)"},"padding":{"oneOf":[{"type":["number","string"],"description":"Number (px) or CSS padding"},{"type":"object","description":"Per-side padding in px","properties":{"top":{"type":"number"},"right":{"type":"number"},"bottom":{"type":"number"},"left":{"type":"number"}}}]},"text_transform":{"type":"string","enum":["none","uppercase","lowercase","capitalize"]},"letter_spacing":{"type":["number","string"],"description":"CSS letter-spacing"},"line_height":{"type":["number","string"],"description":"CSS line-height (numbers are unitless)"},"white_space":{"type":"string","enum":["nowrap","normal","pre","pre-wrap","pre-line"],"description":"nowrap (default) truncates with an ellipsis"},"border_width":{"type":["number","string"],"description":"Border width"},"border_color":{"type":"string","description":"Border colour"},"border_style":{"type":"string","enum":["solid","dashed","dotted","double","groove","ridge","inset","outset","none"]},"border_radius":{"type":["number","string"],"description":"Border radius"}}},"cards_lcards_data_grid_rows_item_item_style_background":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Background colour, or a state map resolved against the cell entity"},"cards_lcards_data_grid_rows_item_item_style_color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Text colour, or a state map (default, active, above:80, ...) resolved against the cell entity"},"cards_lcards_elbow_elbow_frame_bottom":{"type":"object","description":"The bottom side.","properties":{"enabled":{"type":"boolean","default":true,"description":"Draw the bottom side (false leaves it open)."},"bar_width":{"type":["number","string"],"description":"Thickness of the bottom side (default: bar_height)."},"bar_height":{"type":["number","string"],"description":"Thickness of the bottom side (same as bar_width)."},"thickness":{"type":["number","string"],"description":"Thickness of the bottom side (same as bar_width)."}}},"cards_lcards_elbow_elbow_frame_corners":{"type":"object","description":"Per-corner curves.","properties":{"top_left":{"$ref":"#/$defs/cards_lcards_elbow_elbow_frame_corners_top_left"},"top_right":{"$ref":"#/$defs/cards_lcards_elbow_elbow_frame_corners_top_right"},"bottom_left":{"$ref":"#/$defs/cards_lcards_elbow_elbow_frame_corners_bottom_left"},"bottom_right":{"$ref":"#/$defs/cards_lcards_elbow_elbow_frame_corners_bottom_right"}}},"cards_lcards_elbow_elbow_frame_corners_bottom_left":{"type":"object","description":"The bottom-left corner.","properties":{"outer_curve":{"type":["number","string"],"description":"Outer radius (default: outer_curve)."},"inner_curve":{"type":["number","string"],"description":"Inner radius (default: the outer curve less the bar, so the bend keeps one width, when the curve is bigger than the bar; else half the outer curve)."}}},"cards_lcards_elbow_elbow_frame_corners_bottom_right":{"type":"object","description":"The bottom-right corner.","properties":{"outer_curve":{"type":["number","string"],"description":"Outer radius (default: outer_curve)."},"inner_curve":{"type":["number","string"],"description":"Inner radius (default: the outer curve less the bar, so the bend keeps one width, when the curve is bigger than the bar; else half the outer curve)."}}},"cards_lcards_elbow_elbow_frame_corners_top_left":{"type":"object","description":"The top-left corner.","properties":{"outer_curve":{"type":["number","string"],"description":"Outer radius (default: outer_curve)."},"inner_curve":{"type":["number","string"],"description":"Inner radius (default: the outer curve less the bar, so the bend keeps one width, when the curve is bigger than the bar; else half the outer curve)."}}},"cards_lcards_elbow_elbow_frame_corners_top_right":{"type":"object","description":"The top-right corner.","properties":{"outer_curve":{"type":["number","string"],"description":"Outer radius (default: outer_curve)."},"inner_curve":{"type":["number","string"],"description":"Inner radius (default: the outer curve less the bar, so the bend keeps one width, when the curve is bigger than the bar; else half the outer curve)."}}},"cards_lcards_elbow_elbow_frame_left":{"type":"object","description":"The left side.","properties":{"enabled":{"type":"boolean","default":true,"description":"Draw the left side (false leaves it open)."},"bar_width":{"type":["number","string"],"description":"Thickness of the left side (default: bar_width)."},"bar_height":{"type":["number","string"],"description":"Thickness of the left side (same as bar_width)."},"thickness":{"type":["number","string"],"description":"Thickness of the left side (same as bar_width)."}}},"cards_lcards_elbow_elbow_frame_right":{"type":"object","description":"The right side.","properties":{"enabled":{"type":"boolean","default":true,"description":"Draw the right side (false leaves it open)."},"bar_width":{"type":["number","string"],"description":"Thickness of the right side (default: bar_width)."},"bar_height":{"type":["number","string"],"description":"Thickness of the right side (same as bar_width)."},"thickness":{"type":["number","string"],"description":"Thickness of the right side (same as bar_width)."}}},"cards_lcards_elbow_elbow_frame_top":{"type":"object","description":"The top side.","properties":{"enabled":{"type":"boolean","default":true,"description":"Draw the top side (false leaves it open)."},"bar_width":{"type":["number","string"],"description":"Thickness of the top side (default: bar_height)."},"bar_height":{"type":["number","string"],"description":"Thickness of the top side (same as bar_width)."},"thickness":{"type":["number","string"],"description":"Thickness of the top side (same as bar_width)."}}},"cards_lcards_elbow_elbow_segments_outer_segment_bar_height":{"oneOf":[{"type":"number","exclusiveMinimum":0,"maximum":500},{"type":"string","description":"CSS length expression (e.g. 'clamp(20px, 4vh, 60px)')"}],"description":"Horizontal bar thickness (pixels, CSS length, or 'theme' for input_number.lcars_horizontal; defaults to bar_width). A value near 0 (e.g. 0.01) leaves the horizontal bar out.","examples":[20]},"cards_lcards_elbow_elbow_segments_outer_segment_color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Segment colour: a colour, or a state map matched against entity_id (else the card's entity)."},"cards_lcards_layout_card_cards":{"type":"array","description":"Cards placed in the grid. Each is any Home Assistant card config; `view_layout` places it in a grid area.","items":{"$ref":"#/$defs/cards_lcards_layout_card_cards_item"}},"cards_lcards_layout_card_cards_item":{"type":"object","required":["type"],"additionalProperties":true,"properties":{"type":{"type":"string"},"view_layout":{"$ref":"#/$defs/cards_lcards_layout_card_view_layout"}}},"cards_lcards_layout_card_layout":{"type":"object","additionalProperties":true,"properties":{"grid-template-columns":{"type":"string"},"grid-template-rows":{"type":"string"},"grid-template-areas":{"type":"string"},"grid-gap":{"type":"string"},"gap":{"type":"string"},"height":{"type":"string"},"margin":{"description":"Margin around the grid: a CSS length (e.g. 8px, 1rem 0) or 0","oneOf":[{"type":"string"},{"type":"number","enum":[0]}]},"padding":{"description":"Padding inside the grid: a CSS length (e.g. 8px, 1rem 0) or 0","oneOf":[{"type":"string"},{"type":"number","enum":[0]}]},"card_margin":{"description":"Margin around each card in the grid: a CSS length (e.g. 8px, 1rem 0) or 0","oneOf":[{"type":"string"},{"type":"number","enum":[0]}]},"card_overflow":{"type":"string"},"place-items":{"type":"string"},"place-content":{"type":"string"},"grid-auto-flow":{"type":"string"},"grid-auto-rows":{"type":"string"},"grid-auto-columns":{"type":"string"},"mediaquery":{"type":"object","additionalProperties":true},"areas":{"$ref":"#/$defs/cards_lcards_layout_card_layout_areas"}}},"cards_lcards_layout_card_layout_areas":{"type":"object","additionalProperties":{"$ref":"#/$defs/cards_lcards_layout_card_layout_areas_value"}},"cards_lcards_layout_card_layout_areas_value":{"type":"object","additionalProperties":true,"properties":{"background":{"type":"string"},"background-image":{"type":"string"},"background-size":{"type":"string"},"background-position":{"type":"string"},"background-repeat":{"type":"string"},"border-width":{"type":"string"},"border-style":{"type":"string"},"border-color":{"type":"string"},"border-radius":{"type":"string"},"place-self":{"type":"string"},"margin":{"type":"string"},"overflow":{"type":"string"},"z-index":{"type":["string","number"]}}},"cards_lcards_layout_card_view_layout":{"type":"object","additionalProperties":true,"properties":{"grid-area":{"type":"string"},"grid-column":{"type":["string","number"],"description":"CSS grid-column: a line number (2), a span (\"span 2\") or a range (\"1 / 3\")."},"grid-row":{"type":["string","number"],"description":"CSS grid-row: a line number (3), a span (\"span 2\") or a range (\"2 / 4\")."},"place-self":{"type":"string"},"align-self":{"type":"string"},"justify-self":{"type":"string"},"margin":{"type":"string"},"overflow":{"type":"string"},"z-index":{"type":["string","number"]}}},"cards_lcards_slider_animations":{"type":"array","description":"Visual animations triggered by user interactions or entity state changes","items":{"$ref":"#/$defs/animation"}},"cards_lcards_slider_ranges_attribute":{"type":"string","description":"Entity attribute to use as the numeric value for all range conditions (above:/below:/between: keys) in any state-based style config. Use \"brightness_pct\" for a computed 0–100 light brightness value. Defaults to evaluating the raw entity state string.","examples":["brightness_pct"]},"cells":{"type":"array","description":"plane with axis_labels: filled cell ranges (territories), by cell name.","items":{"$ref":"#/$defs/cells_item"}},"cells_2":{"type":"object","description":"Grid cell size on the faces, per direction.","properties":{"ring":{"$ref":"#/$defs/cells_ring"},"angle":{"$ref":"#/$defs/cells_angle"},"layer":{"$ref":"#/$defs/cells_layer"},"width":{"$ref":"#/$defs/cells_width"},"height":{"$ref":"#/$defs/cells_height"},"depth":{"$ref":"#/$defs/cells_depth"}}},"cells_angle":{"description":"sector: cell width round, degrees.","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":10},"cells_depth":{"description":"box and prism: cell size along z, scene units. Default a quarter of the depth (an eighth of a prism's).","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"cells_height":{"description":"box and prism: cell size up (y), scene units. Default a quarter of the height (half a prism's).","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"cells_item":{"type":"object","description":"A filled rectangle of cells, from one corner cell to the other.","properties":{"from":{"type":"string","description":"First corner cell, such as AF3."},"to":{"type":"string","description":"Opposite corner cell. Default: from (one cell)."},"cell":{"type":"string","description":"One cell (instead of from and to)."},"color":{"$ref":"#/$defs/cells_item_color"},"opacity":{"$ref":"#/$defs/cells_item_opacity"},"shade":{"$ref":"#/$defs/cells_item_shade"},"seed":{"type":"number","description":"Changes which cells are lighter and darker with shade.","default":0},"edges":{"$ref":"#/$defs/cells_item_edges"}}},"cells_item_color":{"description":"Fill colour. Default var(--lcars-blue).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"cells_item_edges":{"description":"An outline round the range: true, or { width, color, opacity }.","oneOf":[{"type":"boolean"},{"$ref":"#/$defs/cells_item_edges_2"}]},"cells_item_edges_2":{"type":"object","properties":{"width":{"$ref":"#/$defs/cells_item_edges_width"},"color":{"$ref":"#/$defs/cells_item_edges_color"},"opacity":{"$ref":"#/$defs/cells_item_edges_opacity"}}},"cells_item_edges_color":{"description":"Outline colour. Default the fill colour.","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"cells_item_edges_opacity":{"description":"Outline opacity, 0 to 1.","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0.9},"cells_item_edges_width":{"description":"Outline width, px.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":1.5},"cells_item_opacity":{"description":"Fill opacity, 0 to 1.","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0.25},"cells_item_shade":{"description":"Per-cell brightness variation, 0 to 1 (a printed sector map look); the same cell always gets the same shade.","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"cells_layer":{"description":"sector: cell height, scene units. Default half the height.","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"cells_ring":{"description":"sector: radial cell size, scene units. Default a quarter of the depth.","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"cells_width":{"description":"box and prism: cell size across (x, and along a prism's walls), scene units. Default a quarter of the width (an eighth of a prism's).","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"clouds":{"type":"array","maxItems":14,"description":"Clouds placed by hand, instead of count and the seed: up to 10 gas clouds and 4 dust clouds (dust: true).","items":{"$ref":"#/$defs/clouds_item"}},"clouds_item":{"type":"object","additionalProperties":false,"properties":{"xyz":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3,"description":"Where the cloud sits [x, y, z], scene units from the object."},"radius":{"$ref":"#/$defs/clouds_item_radius"},"color":{"$ref":"#/$defs/clouds_item_color"},"opacity":{"$ref":"#/$defs/clouds_item_opacity"},"size":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3,"description":"Or an ellipsoid [width, height, depth], scene units (replaces radius)."},"rotation":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3,"description":"Turn the ellipsoid [x, y, z] in degrees, as an object's rotation."},"dust":{"type":"boolean","default":false,"description":"render: volume only: a dark dust cloud that hides the gas behind it (dust.amount, dust.color) instead of glowing."}}},"clouds_item_color":{"description":"This cloud's colour. Default from colors.","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"clouds_item_opacity":{"description":"Opacity, 0 to 1. Default the middle of brightness.","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"clouds_item_radius":{"description":"Cloud radius, scene units. Default between min_radius and max_radius.","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"color":{"description":"Line colour. Default theme:colors.ui.tertiary.","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"color_10":{"description":"Beam colour. Default theme:colors.ui.secondary.","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"color_11":{"description":"Rock colour (varied a little per rock). Default var(--lcards-gray-light).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"color_12":{"description":"Rock colour (lit side). Default var(--lcards-gray-light).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"color_13":{"description":"Colour of the coma and the dust tail (unless they set their own). Default var(--lcards-moonlight).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"color_14":{"description":"Trail colour (at the point). Default var(--lcars-orange).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"color_15":{"description":"borg: the light from inside and the tint of the hull (default var(--lcards-green-medium)). box: the box colour (default var(--lcards-gray-medium)).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"color_16":{"description":"Crystal colour (the edges lean toward the core colour). Default var(--lcards-blue-medium).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"color_17":{"type":"string","description":"The markers' colour, and the orbits' unless orbits sets its own. Default the theme text colour.","allOf":[{"$ref":"#/$defs/simpleColorSchema"}]},"color_2":{"type":"string","allOf":[{"$ref":"#/$defs/simpleColorSchema"}]},"color_3":{"type":"object","required":["entity"],"description":"Follow an entity: { entity, attribute, default, active, inactive, unavailable, zero, non_zero, above:N, below:N, between:A:B, <state>: colour }. The first key that matches its state (or attribute) gives the colour; none: the entity's value when it is a colour (a light's rgb_color), else default.","properties":{"entity":{"type":"string","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"The entity to follow."},"attribute":{"type":"string","description":"Match this attribute's value instead of the state (rgb_color: a light's own colour)."},"default":{"$ref":"#/$defs/color_default"},"active":{"$ref":"#/$defs/color_active"},"inactive":{"$ref":"#/$defs/color_inactive"},"unavailable":{"$ref":"#/$defs/color_unavailable"},"zero":{"$ref":"#/$defs/color_zero"},"non_zero":{"$ref":"#/$defs/color_non_zero"}},"additionalProperties":{"$ref":"#/$defs/color_value"}},"color_4":{"description":"Colour of the faces (and the edges, unless edges.color). Default var(--lcars-blue).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"color_5":{"description":"Colour. Default var(--lcards-moonlight).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"color_6":{"description":"Cloud colour when colors is not set (a preset sets colors). Default var(--lcars-violet).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"color_7":{"description":"Hologram body colour. Default var(--lcars-blue).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"color_8":{"description":"Line colour. Default theme:colors.ui.secondary.","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"color_9":{"description":"Line colour. Default var(--lcars-orange).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"color_active":{"type":"string","allOf":[{"$ref":"#/$defs/simpleColorSchema"}],"description":"Colour while the entity is on (active)."},"color_default":{"type":"string","allOf":[{"$ref":"#/$defs/simpleColorSchema"}],"description":"Colour when no other key matches."},"color_inactive":{"type":"string","allOf":[{"$ref":"#/$defs/simpleColorSchema"}],"description":"Colour while the entity is off (inactive)."},"color_non_zero":{"type":"string","allOf":[{"$ref":"#/$defs/simpleColorSchema"}],"description":"Colour when the value is any other number."},"color_unavailable":{"type":"string","allOf":[{"$ref":"#/$defs/simpleColorSchema"}],"description":"Colour while the entity is unavailable or unknown."},"color_value":{"type":"string","allOf":[{"$ref":"#/$defs/simpleColorSchema"}],"description":"Colour for a state (\"heat\", \"red\") or a range (\"above:80\", \"below:20\", \"between:20:80\")."},"color_zero":{"type":"string","allOf":[{"$ref":"#/$defs/simpleColorSchema"}],"description":"Colour when the value is the number 0."},"colors":{"description":"Cloud colour, or a list the seed picks from per cloud (wins over color). Default var(--lcars-violet).","oneOf":[{"$ref":"#/$defs/fill_effect_colors_2"},{"$ref":"#/$defs/fill_effect_colors_3"}]},"colors_2":{"type":"array","items":{"$ref":"#/$defs/fill_effect_colors_2"},"minItems":2,"maxItems":2,"description":"A gradient [from, to]: the line fades from the first colour to the second along its length (wins over color)."},"colors_3":{"type":"array","items":{"$ref":"#/$defs/colors_item"},"description":"Several rock colours: each rock takes one, picked by the seed (wins over color)."},"colors_item":{"description":"A rock colour.","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"columns":{"type":"object","additionalProperties":false,"properties":{"count":{"$ref":"#/$defs/columns_count"},"kind":{"$ref":"#/$defs/columns_kind"},"width":{"$ref":"#/$defs/columns_width"},"waist":{"$ref":"#/$defs/columns_waist"},"color":{"$ref":"#/$defs/columns_color"},"speed":{"$ref":"#/$defs/columns_speed"},"glow":{"$ref":"#/$defs/columns_glow"}},"description":"shape: layers only: columns standing from the floor to the ceiling, spread over the region."},"columns_color":{"description":"Their colour: the fire's white-hot heart (its edge takes the sheets' surface colour), the vortex, or the bolt. Default var(--lcards-moonlight).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"columns_count":{"description":"How many.","anyOf":[{"type":"integer","minimum":1,"maximum":10},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":4},"columns_glow":{"type":"object","additionalProperties":false,"properties":{"color":{"$ref":"#/$defs/columns_glow_color"}},"description":"lightning: the glow round the bolts."},"columns_glow_color":{"description":"Glow colour. Default the column colour.","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"columns_kind":{"type":"string","enum":["fire","vortex","lightning"],"default":"fire","enumDescriptions":{"fire":"Rising flame","vortex":"A twisting funnel","lightning":"A held bolt"},"description":"fire (default): rising flame, wide at the foot with a splash ring on the floor. vortex: a twisting funnel, narrow at its middle (waist), dark at its rim. lightning: a held, crawling bolt that lights the gas round it."},"columns_speed":{"description":"lightning: how fast the bolts crawl and flicker: 1 (default) as drawn, 0.5 half as fast, 0 still.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":1},"columns_waist":{"description":"vortex: how wide the middle is against the ends, 0.05 (two funnels meeting at a point) to 1 (one straight column).","anyOf":[{"type":"number","minimum":0.05,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0.2},"columns_width":{"description":"fire and vortex: how thick, times the usual: one number, or [thinnest, thickest] and each column gets its own width between them (thick columns and thin strands together). Default 1.","anyOf":[{"type":"number"},{"$ref":"#/$defs/size_2"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"coma":{"type":"object","additionalProperties":false,"properties":{"size":{"$ref":"#/$defs/coma_size"},"color":{"$ref":"#/$defs/coma_color"}},"description":"The coma: the glowing cloud round the nucleus."},"coma_color":{"description":"Its colour. Default color.","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"coma_size":{"description":"Its diameter, scene units.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":10},"core":{"type":"object","additionalProperties":false,"properties":{"color":{"$ref":"#/$defs/core_color"}},"description":"The gas deep inside (in a shape other than clouds: near its middle)."},"core_2":{"type":"object","additionalProperties":false,"properties":{"color":{"$ref":"#/$defs/core_color_2"}},"description":"The bulge and the core's glow."},"core_3":{"type":"object","additionalProperties":false,"properties":{"color":{"$ref":"#/$defs/core_color_3"},"period":{"$ref":"#/$defs/core_period"}},"description":"The starburst at the middle of the spine."},"core_color":{"description":"Colour there, running out to the cloud colours at the edges. Default none: the cloud colours throughout.","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"core_color_2":{"description":"Colour of the bulge and bar stars and the core's glow. Default var(--lcars-yellow).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"core_color_3":{"description":"Colour of the core, its rays and the light along the spine. Default var(--lcards-moonlight).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"core_period":{"description":"Seconds per pulse of the core (0: steady). Off under reduced motion.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":6},"count":{"description":"How many clouds the seed places (the background preset's key).","anyOf":[{"type":"integer","minimum":1,"maximum":10},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":4},"count_2":{"description":"How many rocks (at most 5000).","anyOf":[{"type":"integer","minimum":0,"maximum":5000},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":600},"count_3":{"description":"column: how many columns, spread over the region.","anyOf":[{"type":"integer","minimum":1,"maximum":10},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":1},"dash":{"description":"Dash pattern in px along the line: [on, off] (more pairs repeat), holding its size at any distance; or { pattern, speed } to move the dashes (and pulses) along the line.","anyOf":[{"type":"array","items":{"type":"number","minimum":0},"minItems":2,"description":"Dash pattern in px along the line: [on, off] (more pairs repeat). Holds its size at any distance."},{"$ref":"#/$defs/dash_2"}]},"dash_2":{"type":"object","additionalProperties":false,"properties":{"pattern":{"type":"array","items":{"type":"number","minimum":0},"minItems":2,"description":"Dash pattern in px along the line: [on, off] (more pairs repeat). Holds its size at any distance."},"speed":{"$ref":"#/$defs/dash_speed"}}},"dash_speed":{"description":"Move the dashes (and pulses) along the line, px per second; negative runs backwards. Default 0. Off under reduced motion.","anyOf":[{"type":"number"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"dataSourcesSchema":{"type":"object","description":"Data sources for real-time entity tracking, historical data, and processing pipelines. Each key defines a named data source accessible in templates.","$comment":"Data sources enable entity subscriptions, history preload, and unified processing pipeline","examples":[{"$ref":"#/$defs/cards_lcards_button_data_sources"}],"additionalProperties":{"$ref":"#/$defs/cards_lcards_button_data_sources_value"}},"deform":{"type":"array","items":{"$ref":"#/$defs/deform_item"},"description":"Deformations of the surface, applied in order: wobble, bend, twist, noise. A wobbling cylinder is jelly; a well with bend (motion: circle) and twist is a tornado; a disc with twist is a whirlpool."},"deform_2":{"type":"array","items":{"$ref":"#/$defs/deform_item"},"description":"Deformations of the planet, applied in order (as on a grid sphere): wobble, bend, twist, noise. The body, lines and points on it move with them."},"deform_item":{"type":"object","required":["type"],"additionalProperties":false,"description":"A deformation of the surface. Round the axis on a cylinder, sphere, dome or well; up and down on a plane or disc. The lines, the edges and the points on it move with it. Still unless period (or drift for noise) is set; holds still under reduced motion.","properties":{"type":{"$ref":"#/$defs/deform_item_type"},"amplitude":{"$ref":"#/$defs/deform_item_amplitude"},"lobes":{"$ref":"#/$defs/deform_item_lobes"},"waves":{"$ref":"#/$defs/deform_item_waves"},"period":{"$ref":"#/$defs/deform_item_period"},"drift":{"$ref":"#/$defs/deform_item_drift"},"bearing":{"$ref":"#/$defs/deform_item_bearing"},"motion":{"type":"string","enum":["sway","circle","none"],"default":"sway","description":"bend: sway (bends to and fro), circle (the bend turns round, a tornado) or none (a still bend).","enumDescriptions":{"sway":"Bends to and fro","circle":"The bend turns round","none":"Still bend"}},"angle":{"$ref":"#/$defs/deform_item_angle"},"anchor":{"type":"string","enum":["bottom","top","middle"],"default":"bottom","description":"bend, twist round an axis: the end that stays put (middle: both ends move)."},"base_frequency":{"$ref":"#/$defs/deform_item_base_frequency"},"num_octaves":{"$ref":"#/$defs/deform_item_num_octaves"},"seed":{"type":"number","description":"noise: changes the pattern.","default":0}}},"deform_item_amplitude":{"description":"wobble, bend, noise: how far the surface moves, as a fraction of the grid's size (its radius, or half a plane's longer side). Default wobble 0.08, bend 0.25, noise 0.05.","anyOf":[{"type":"number"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"deform_item_angle":{"description":"twist: degrees turned at the far end (at the centre of a flat grid). With a period the twist swings between plus and minus this.","anyOf":[{"type":"number"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":90},"deform_item_base_frequency":{"description":"noise: detail per scene unit, lower is larger lumps (as on fill.effect). Default about 3 lumps across the grid's size.","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"deform_item_bearing":{"description":"bend: direction the axis bends toward, degrees (0 north, clockwise from above).","anyOf":[{"type":"number"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"deform_item_drift":{"description":"noise: how fast the lumps drift through the grid, scene units per second; 0 holds them still.","anyOf":[{"type":"number"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"deform_item_lobes":{"description":"wobble: bulges round the circumference (0: the whole ring swells at once; on a flat grid, ripples ring out from the centre).","anyOf":[{"type":"integer","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":3},"deform_item_num_octaves":{"description":"noise: layers of finer detail (as on fill.effect).","anyOf":[{"type":"integer","minimum":1,"maximum":6},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":2},"deform_item_period":{"description":"wobble, bend, twist: seconds per cycle (a bulge travels round once, a sway goes to and fro, the bend turns once, the twist swings). 0: a still shape.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"deform_item_type":{"type":"string","enum":["wobble","bend","twist","noise"],"description":"wobble (bulges travelling round, or ripples across a flat grid), bend (the axis bends or sways; a flat grid curls), twist (turns more toward the far end; a flat grid swirls like a whirlpool) or noise (smooth random lumps).","enumDescriptions":{"wobble":"Travelling bulges or ripples","bend":"Bending or swaying axis","twist":"Twist or whirlpool","noise":"Smooth random lumps"}},"deform_item_waves":{"description":"wobble: waves along the axis (or out from the centre of a flat grid) between bulges, so they spiral.","anyOf":[{"type":"number"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":1},"density":{"description":"render: volume only: how thick the gas is (1 default; 2 twice as thick).","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":1},"depth":{"description":"well: depth below the rim, scene units (the rim is at the object's position). Follows an entity smoothly, in place. Default the radius.","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"dot_radius":{"description":"pattern dots: dot radius, scene units. Default 8% of line_spacing.","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"drift":{"description":"How fast the gas churns, scene units per second: one number, or [x, y] across the clouds. Default 0 (still). Off under reduced motion.","anyOf":[{"type":"number"},{"$ref":"#/$defs/size_2"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"dust":{"type":"object","additionalProperties":false,"properties":{"amount":{"$ref":"#/$defs/dust_amount"},"count":{"$ref":"#/$defs/dust_count"},"color":{"$ref":"#/$defs/dust_color"}},"description":"render: volume only: dark dust clouds that hide the gas behind them."},"dust_2":{"type":"object","additionalProperties":false,"properties":{"amount":{"$ref":"#/$defs/dust_amount_2"},"color":{"$ref":"#/$defs/dust_color_2"}},"description":"The dark dust lanes on the arms' inner edges."},"dust_amount":{"description":"How dark they are, 0 to 1.","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0.8},"dust_amount_2":{"description":"Their opacity, 0 to 1 (0: none).","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0.5},"dust_color":{"description":"Their colour. Default black. With blend: add the dust darkens only this nebula's gas behind it; with blend: normal it also hides what is behind the nebula.","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"dust_color_2":{"description":"Their colour. Default the background colour.","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"dust_count":{"description":"How many the seed lays across the gas clouds (their own seed stream: adding dust moves no gas cloud).","anyOf":[{"type":"integer","minimum":0,"maximum":4},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"dust_tail":{"description":"The broad dust tail that bends back along the comet's path: true (default), false, or { color }.","oneOf":[{"type":"boolean"},{"$ref":"#/$defs/dust_tail_2"}]},"dust_tail_2":{"type":"object","additionalProperties":false,"properties":{"color":{"$ref":"#/$defs/coma_color"}}},"edges":{"description":"Outline the open edges: the rim of a disc, dome or well, the ends of a cylinder, the frame of a plane. true (default), false, or { width, color }.","oneOf":[{"type":"boolean"},{"$ref":"#/$defs/edges_2"}]},"edges_2":{"type":"object","additionalProperties":false,"properties":{"width":{"$ref":"#/$defs/edges_width"},"color":{"$ref":"#/$defs/edges_color"}}},"edges_3":{"description":"Draw the outline edges: true (default), false, or { width, color }.","oneOf":[{"type":"boolean"},{"$ref":"#/$defs/edges_4"}]},"edges_4":{"type":"object","additionalProperties":false,"properties":{"width":{"$ref":"#/$defs/edges_width_2"},"color":{"$ref":"#/$defs/edges_color_2"}}},"edges_5":{"description":"Feature edges: true, false, or { angle, width, color }. Default on for hologram, except on a model over 250,000 triangles (working them out freezes the page for seconds); true or an object draws them anyway.","oneOf":[{"type":"boolean"},{"$ref":"#/$defs/edges_6"}]},"edges_6":{"type":"object","additionalProperties":false,"properties":{"angle":{"$ref":"#/$defs/edges_angle"},"width":{"type":"number","description":"Edge width, px. Above 1 the edges draw as thick lines that hold their width on any screen (1: thin hairlines, the cheapest on detailed models).","minimum":1,"default":1},"color":{"$ref":"#/$defs/edges_color_3"}}},"edges_7":{"description":"box: draw the edges: true (default), false, or { color }.","oneOf":[{"type":"boolean"},{"$ref":"#/$defs/edges_8"}]},"edges_8":{"type":"object","additionalProperties":false,"properties":{"color":{"$ref":"#/$defs/edges_color_4"}}},"edges_angle":{"description":"Edges where faces meet at more than this angle, degrees.","anyOf":[{"type":"number","minimum":0,"maximum":180},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":30},"edges_color":{"description":"Edge colour. Default major.color, else the grid's color.","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"edges_color_2":{"description":"Edge colour. Default color.","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"edges_color_3":{"description":"Edge colour. Default the rim colour.","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"edges_color_4":{"description":"Edge colour. Default theme:colors.ui.secondary.","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"edges_width":{"description":"Edge width, px. Default the major line width.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"edges_width_2":{"description":"Edge width, px.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":1.5},"face":{"type":"string","pointWords":["motion"],"examples":["motion"],"description":"motion: an object at a moving point turns its +z (a built-in model's bow) toward where the point is going, upright. Before the point first moves (and under reduced motion) a point on a spinning object faces along the spin. A point id: the object turns toward that point, wherever it is in the scene: its +z, or for an object round an axis (a grid other than a plane, a ring, a belt, a galaxy, a whirlpool nebula) down its axis, so a well's throat leads to it. rotation applies on top. Default: the object keeps its rotation."},"faces":{"type":"object","additionalProperties":false,"properties":{"opacity":{"$ref":"#/$defs/faces_opacity"}},"description":"The grid lines on the faces."},"faces_opacity":{"description":"Opacity of the face grid lines (the edges stay brighter), 0 to 1.","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0.45},"falloff":{"description":"How fast it fades from the middle: higher is a tighter, brighter core.","anyOf":[{"type":"number","minimum":0.25},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":2},"fill":{"type":"object","additionalProperties":false,"properties":{"color":{"$ref":"#/$defs/fill_color"},"effect":{"$ref":"#/$defs/fill_effect"}},"description":"What fills the cells behind the lines: a colour, or an animated effect."},"fill_2":{"type":"object","additionalProperties":false,"properties":{"color":{"$ref":"#/$defs/fill_color_2"},"opacity":{"$ref":"#/$defs/fill_opacity"},"effect":{"$ref":"#/$defs/fill_effect"}},"description":"The body under the lines: a colour, or an animated effect (it paints the body in place of image)."},"fill_color":{"description":"Fill colour. Default none.","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"fill_color_2":{"description":"Body colour. Default black.","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"fill_effect":{"type":"object","additionalProperties":false,"description":"An animated fill on the surface, from the background presets: plasma (two-colour bands), fluid (a one-colour wash) or contour (topographic bands); or bands (latitude belts, a gas giant) or swirl (gas spiralling in, a whirlpool or a wormhole's mouth). Seamless round a sphere, and it turns with spin. On a sphere it paints the body over fill, in place of image (the body still hides what is behind it). A preset is a planet type to start from; the keys you set win over it.","properties":{"preset":{"$ref":"#/$defs/fill_effect_preset"},"type":{"$ref":"#/$defs/fill_effect_type"},"color_a":{"$ref":"#/$defs/fill_effect_color_a"},"color_b":{"$ref":"#/$defs/fill_effect_color_b"},"color":{"$ref":"#/$defs/fill_effect_color"},"colors":{"$ref":"#/$defs/fill_effect_colors"},"base_frequency":{"$ref":"#/$defs/fill_effect_base_frequency"},"num_octaves":{"$ref":"#/$defs/fill_effect_num_octaves"},"num_bands":{"$ref":"#/$defs/fill_effect_num_bands"},"turbulence":{"$ref":"#/$defs/fill_effect_turbulence"},"fill_level":{"$ref":"#/$defs/fill_effect_fill_level"},"fill_color":{"$ref":"#/$defs/fill_effect_fill_color"},"blend_colors":{"type":"boolean","default":true,"description":"contour and bands: colours fade between bands (false: flat bands with hard edges)."},"speed":{"$ref":"#/$defs/fill_effect_speed"},"opacity":{"$ref":"#/$defs/fill_effect_opacity"}}},"fill_effect_base_frequency":{"description":"Noise detail per scene unit: lower is larger features. Default about 3 noise cells across the radius.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"fill_effect_color":{"description":"fluid: wash colour (its alpha is how strong). Default var(--lcars-blue).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"fill_effect_color_a":{"description":"plasma: first colour. Default var(--lcars-blue).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"fill_effect_color_b":{"description":"plasma: second colour. Default var(--lcars-orange).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"fill_effect_colors":{"description":"contour: one colour, or stops spread over the bands from low to high. bands: the belt colours, repeated from the south pole to the north. swirl: stops from the middle out to the rim. Default blue to orange.","oneOf":[{"$ref":"#/$defs/fill_effect_colors_2"},{"$ref":"#/$defs/fill_effect_colors_3"}]},"fill_effect_colors_2":{"description":"A colour.","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"fill_effect_colors_3":{"type":"array","items":{"$ref":"#/$defs/fill_effect_colors_2"},"minItems":1},"fill_effect_fill_color":{"description":"contour: colour over the flooded bands. Default see-through.","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"fill_effect_fill_level":{"description":"contour: flood the lowest bands, 0 to 0.95 (0: none).","anyOf":[{"type":"number","minimum":0,"maximum":0.95},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"fill_effect_num_bands":{"description":"contour: how many bands (low is bold steps, high is near smooth). bands: how many belts pole to pole.","anyOf":[{"type":"number","minimum":2,"maximum":64},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":5},"fill_effect_num_octaves":{"description":"Layers of finer detail (1 smooth, 8 rough). Default plasma 3, fluid 4, contour 2.","anyOf":[{"type":"integer","minimum":1,"maximum":8},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"fill_effect_opacity":{"description":"Fill opacity, 0 to 1.","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":1},"fill_effect_preset":{"type":"string","enum":["gas_giant","ringed_giant","ice_giant","storm_giant","clouds","lava","ice","rocky","terran"],"description":"A planet type to start from (its type, colours and detail; your own keys win): gas_giant (Jupiter), ringed_giant (Saturn), ice_giant (Uranus), storm_giant (Neptune), clouds (Venus), lava, ice, rocky, terran (oceans and land).","enumDescriptions":{"$ref":"#/$defs/fill_effect_preset_2"}},"fill_effect_preset_2":{"gas_giant":"Orange and cream belts, stormy edges","ringed_giant":"Pale gold belts, calm","ice_giant":"Pale blue, faint belts","storm_giant":"Deep blue belts, streaked","clouds":"A cream cloud deck","lava":"Dark crust, glowing cracks","ice":"White and pale blue ice","rocky":"Grey highlands and plains","terran":"Oceans, land and ice caps"},"fill_effect_speed":{"description":"How fast the pattern flows through the object, scene units per second (0: still). swirl: how fast the gas turns at the rim (faster toward the middle). Off under reduced motion.","anyOf":[{"type":"number"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"fill_effect_turbulence":{"description":"bands: how much the belt edges swirl, 0 (straight) to 1 (stormy). swirl: how much the gas clumps and how ragged its outer edge is (wisps trailing off).","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0.3},"fill_effect_type":{"type":"string","enum":["plasma","fluid","contour","bands","swirl"],"description":"plasma, fluid, contour (the contour-field preset), bands (belts round the latitude, from the object's y axis) or swirl (gas spiralling in round the y axis, faster near the middle, streaked along the spiral with dark lanes, a rippled heart and a ragged edge: a whirlpool, an accretion disc, a wormhole's mouth on a disc or well grid). Default the preset's type, else plasma."},"fill_opacity":{"description":"Body opacity, 0 to 1.","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0.85},"filter":{"type":"object","description":"Filter configuration (CSS or SVG filter primitives)","examples":[{"mode":"css","type":"blur","value":{"blur":2}}],"properties":{"mode":{"type":"string","enum":["css","svg"],"default":"css","description":"Filter mode - CSS filters or SVG filter primitives","enumDescriptions":["CSS filters (blur, brightness, contrast, etc.) - simpler, good performance","SVG filter primitives (feGaussianBlur, feColorMatrix, etc.) - more powerful, complex effects"]},"type":{"type":"string","description":"Filter type - depends on mode (CSS: blur, brightness, etc. / SVG: feGaussianBlur, feColorMatrix, etc.)"},"value":{"discriminatedBy":{"field":"type","schemas":{"blur":{"type":"string","default":"0px","pattern":"^\\d+(\\.\\d+)?px$","description":"Gaussian blur radius, a CSS length in px."},"brightness":{"type":"number","minimum":0,"default":1,"description":"0 = black, 1 = normal, 2+ = brighter. No hard ceiling in code; 3 is a practical UI limit."},"contrast":{"type":"number","minimum":0,"default":1,"description":"0 = gray, 1 = normal, 2+ = higher contrast. No hard ceiling in code; 3 is a practical UI limit."},"saturate":{"type":"number","minimum":0,"default":1,"description":"0 = grayscale, 1 = normal, 2+ = oversaturated. No hard ceiling in code; 3 is a practical UI limit."},"hue-rotate":{"type":"string","default":"0deg","pattern":"^-?\\d+(\\.\\d+)?deg$","description":"Angle to rotate hue by, a CSS angle in deg (0-360 is the meaningful range; it wraps beyond that)."},"grayscale":{"type":"number","minimum":0,"maximum":1,"default":0,"description":"0 = full color, 1 = complete grayscale. CSS-spec-clamped to 0-1."},"sepia":{"type":"number","minimum":0,"maximum":1,"default":0,"description":"0 = normal, 1 = full sepia tone. CSS-spec-clamped to 0-1."},"invert":{"type":"number","minimum":0,"maximum":1,"default":0,"description":"0 = normal, 1 = fully inverted. CSS-spec-clamped to 0-1."},"opacity":{"type":"number","minimum":0,"maximum":1,"default":1,"description":"0 = fully transparent, 1 = fully opaque. CSS-spec-clamped to 0-1; values above 1 have no additional effect."},"drop-shadow":{"type":"object","description":"Drop shadow behind the element.","properties":{"x":{"type":"number","default":0,"description":"Horizontal offset in px."},"y":{"type":"number","default":0,"description":"Vertical offset in px."},"blur":{"type":"string","default":"0px","pattern":"^\\d+(\\.\\d+)?px$","description":"Shadow blur radius, a CSS length in px."},"color":{"type":"string","default":"#000000","description":"Shadow color."}},"additionalProperties":false},"feGaussianBlur":{"type":"object","description":"SVG Gaussian blur: smoother than CSS blur, chains with other SVG filters.","properties":{"stdDeviation":{"type":"number","minimum":0,"default":0,"description":"Amount of blur: 0 = none, higher = more blur."}},"additionalProperties":false},"feColorMatrix":{"type":"object","description":"Color transformation via matrix operations: hue rotation, saturation, luminance-to-alpha, or a custom 4x5 matrix.","properties":{"type":{"type":"string","default":"saturate","enum":["matrix","saturate","hueRotate","luminanceToAlpha"],"description":"Matrix operation type."},"values":{"default":1,"oneOf":[{"type":"number","description":"Saturation multiplier (type: saturate) or hue-rotate angle in degrees (type: hueRotate)."},{"type":"string","description":"Space-separated 4x5 matrix: 20 numbers (type: matrix)."},{"type":"array","items":{"type":"number"},"description":"4x5 matrix as an array: 20 numbers (type: matrix)."}],"description":"Meaning depends on `type`. Not used when type is luminanceToAlpha. Left out: 1 for saturate (unchanged), 0 for hueRotate (no turn)."}},"additionalProperties":false},"feOffset":{"type":"object","description":"Shifts the filter result by dx/dy pixels; combine with blur for shadow effects.","properties":{"dx":{"type":"number","default":0,"description":"Horizontal offset: positive = right, negative = left."},"dy":{"type":"number","default":0,"description":"Vertical offset: positive = down, negative = up."}},"additionalProperties":false},"feBlend":{"type":"object","description":"Blends the current filter result with SourceGraphic using a standard CSS blend mode.","properties":{"mode":{"type":"string","default":"normal","enum":["normal","multiply","screen","darken","lighten","overlay","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],"description":"Blend mode: try screen/lighten after a blur for glow effects."},"in2":{"type":"string","description":"The second input: SourceGraphic (the blueprint, the default), SourceAlpha, or the result of an earlier primitive."}},"additionalProperties":false},"feComposite":{"type":"object","description":"Combines the previous filter result and SourceGraphic using a Porter-Duff operator, or a custom arithmetic formula.","properties":{"operator":{"type":"string","default":"over","enum":["over","in","out","atop","xor","arithmetic"],"description":"Compositing operator."},"k1":{"type":"number","default":0,"description":"Arithmetic coefficient: only used when operator is arithmetic. result = k1*i1*i2 + k2*i1 + k3*i2 + k4."},"k2":{"type":"number","default":0,"description":"Arithmetic coefficient: only used when operator is arithmetic."},"k3":{"type":"number","default":0,"description":"Arithmetic coefficient: only used when operator is arithmetic."},"k4":{"type":"number","default":0,"description":"Arithmetic coefficient: only used when operator is arithmetic."},"in2":{"type":"string","description":"The second input: SourceGraphic (the blueprint, the default), SourceAlpha, or the result of an earlier primitive."}},"additionalProperties":false},"feMorphology":{"type":"object","description":"Erodes (thins) or dilates (fattens) shapes, useful for outlines or edge-thickness adjustment.","properties":{"operator":{"type":"string","default":"erode","enum":["erode","dilate"],"description":"'erode' thins shapes, 'dilate' fattens them."},"radius":{"type":"number","minimum":0,"default":1,"description":"How far to erode/dilate, in filter units."}},"additionalProperties":false},"feTurbulence":{"type":"object","description":"Generates Perlin noise for organic textures, commonly paired with feDisplacementMap.","properties":{"type":{"type":"string","default":"turbulence","enum":["turbulence","fractalNoise"],"description":"'turbulence' (cloudy) | 'fractalNoise' (softer)."},"baseFrequency":{"type":"number","minimum":0,"maximum":1,"default":0.05,"description":"Noise detail: lower = larger features."},"numOctaves":{"type":"integer","minimum":1,"maximum":10,"default":1,"description":"Layers of noise detail."},"seed":{"type":"number","default":0,"description":"Randomization seed: change for a different pattern."}},"additionalProperties":false},"feDisplacementMap":{"type":"object","description":"Warps the image based on color values from a preceding source (typically feTurbulence): wavy/liquid/turbulent distortion.","properties":{"scale":{"type":"number","minimum":0,"default":10,"description":"Displacement strength: higher = more distortion."},"xChannelSelector":{"type":"string","default":"R","enum":["R","G","B","A"],"description":"Color channel driving horizontal displacement."},"yChannelSelector":{"type":"string","default":"G","enum":["R","G","B","A"],"description":"Color channel driving vertical displacement."},"in":{"type":"string","description":"The image it warps: SourceGraphic (the blueprint, the default), SourceAlpha, or the result of an earlier primitive."},"in2":{"type":"string","description":"The map that warps it: the previous primitive (the default, such as feTurbulence), SourceGraphic or SourceAlpha."}},"additionalProperties":false},"tint":{"type":"object","description":"Composites a flat color wash over the content: a cheap alert/status tint. Requires an SVG root (not supported on data-grid).","properties":{"color":{"type":"string","default":"rgba(0,0,0,0.5)","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Tint color: the alpha channel controls how much content shows through."}},"additionalProperties":false}},"default":{"oneOf":[{"type":"string","description":"Simple value for CSS filters (e.g., \"5px\", \"1.5\", \"180deg\")"},{"type":"number","description":"Numeric value for CSS filters (e.g., 1.5, 0.8)"},{"type":"object","description":"Object parameters for SVG filters","additionalProperties":true}]}},"description":"Filter parameters - shape depends on the sibling `type` field. Simple value for CSS filters, object for SVG filters."}},"required":["type"]},"gap":{"description":"shape: layers only: how much of the height is open between the floor and the ceiling, 0 (they touch) to 0.9. whirlpool: a flat disc of gas round the object's y axis wound into spiral arms (arms, thickness), brightest at its middle, its colours running from the middle out (the Bajoran wormhole's mouth); spin turns it.","anyOf":[{"type":"number","minimum":0,"maximum":0.9},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0.56},"glow":{"description":"Opacity of the coma and the tails, 0 to 1 (the nucleus stays).","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":1},"glow_2":{"description":"Opacity of the soft glow along the arms and at the core, 0 to 1 (0: none).","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0.6},"glow_3":{"type":"object","additionalProperties":false,"properties":{"color":{"$ref":"#/$defs/glow_color"}},"description":"borg: the glow spots."},"glow_4":{"description":"How brightly the core shines and how far its light reaches into the crystal, 0 to 1 (0: a dim core, only the edges lit; 1: a large bright core lighting the inner branches).","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0.7},"glow_color":{"description":"Glow spot colour. Default var(--lcards-green-lightest).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"gridOptionsSchema":{"type":"object","description":"Home Assistant grid layout options. Controls how many rows and columns this card occupies in the dashboard grid.","properties":{"columns":{"$ref":"#/$defs/cards_lcards_button_grid_options_columns"},"rows":{"$ref":"#/$defs/cards_lcards_button_grid_options_rows"}}},"group":{"type":"string","enum":["gps","galileo","geostationary","stations"],"enumDescriptions":{"gps":"The GPS constellation (about 31, half a day round, 20,200 km up)","galileo":"The Galileo constellation (about 30, 23,200 km up)","geostationary":"Weather satellites over the equator (GOES East and West, Meteosat, Himawari and others)","stations":"The ISS and Tiangong"},"description":"A built-in group of satellites. The shipped orbits of high ones (GPS, Galileo, geostationary) stay right for months; the stations keep their orbits but drift along them as the data ages."},"height":{"description":"cylinder: height, scene units. Default the radius.","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"heights":{"type":"string","enum":["real","diagram"],"enumDescriptions":{"real":"Real heights over the sphere","diagram":"Low orbits lifted clear of the surface, high ones brought in"},"description":"real draws heights to scale (geostationary almost six Earth radii out); diagram lifts low orbits clear of the surface and brings high ones in, keeping their order. Default real."},"hex_radius":{"description":"pattern hexagonal: hexagon size, scene units. Default line_spacing.","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"hide_in_systems":{"description":"Hide it while the camera is inside a star system (a system object: within a few times its size, the camera works in its units): galaxy-scale lines and volumes then step aside instead of crossing the close-ups. Outside every system it shows as usual. Or a list of system ids: hidden inside those systems only (a route that belongs in the systems at its ends, not in the one it passes).","oneOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"},"minItems":1,"description":"The systems (their ids) to hide it in"}]},"image":{"description":"A map on the body instead of fill: the image, or { src, opacity }.","anyOf":[{"$ref":"#/$defs/image_2"},{"$ref":"#/$defs/image_3"}]},"image_2":{"type":"string","assetSource":"image","description":"An equirectangular map, longitude 0 in the middle. Built in (NASA and USGS maps, public domain): builtin:earth_blue_marble, builtin:moon_lroc, builtin:mars_viking, builtin:mercury_messenger, builtin:venus_magellan (the surface under the clouds), builtin:jupiter_cassini, builtin:pluto_new_horizons, builtin:sun_sdo, builtin:phobos_viking, builtin:ceres_dawn, builtin:io_galileo, builtin:europa_galileo, builtin:ganymede_galileo, builtin:callisto_galileo, builtin:titan_cassini (the surface under the haze), builtin:triton_voyager, builtin:charon_new_horizons. Or your own: /local/mars.jpg, or a Home Assistant media item (media-source://...). Planets without a map: fill.effect presets.","examples":["builtin:earth_blue_marble"]},"image_3":{"type":"object","additionalProperties":false,"properties":{"src":{"$ref":"#/$defs/image_2"},"opacity":{"$ref":"#/$defs/image_opacity"}}},"image_opacity":{"description":"Map opacity, 0 to 1.","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":1},"inclination":{"description":"Tilt of the ring's plane, degrees, about the line of nodes.","anyOf":[{"type":"number"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"ion_tail":{"description":"The straight ion tail: true (default), false, or { color }.","oneOf":[{"type":"boolean"},{"$ref":"#/$defs/ion_tail_2"}]},"ion_tail_2":{"type":"object","additionalProperties":false,"properties":{"color":{"$ref":"#/$defs/ion_tail_color"}}},"ion_tail_color":{"description":"Its colour. Default var(--lcards-blue-medium).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"item":{"type":"object","required":["preset"],"properties":{"preset":{"type":"string","description":"Background animation preset name (e.g. grid, starfield, cascade)"},"config":{"$ref":"#/$defs/item_config"},"enabled":{"type":"boolean","description":"Set to false to disable this effect without removing it","default":true},"transition":{"type":"number","minimum":0,"default":500,"description":"How long, in ms, an entity-bound config value (map_range or a template) glides to its new value. 0 snaps. Under reduced motion values always snap."},"renderer":{"$ref":"#/$defs/item_renderer"},"zoom":{"$ref":"#/$defs/item_zoom"}},"additionalProperties":false},"item_apply_animations_item_params":{"field":"preset","schemas":{"$ref":"#/$defs/item_apply_animations_item_params_2"},"default":{"type":"object","additionalProperties":true}},"item_apply_animations_item_params_10":{"type":"object","description":"Params for the \"strobe\" preset.","properties":{"duration":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Unusually short vs. most presets; strobe is fast by design.","default":100},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"max_opacity":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":1},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"min_opacity":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":0},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_11":{"type":"object","description":"Params for the \"flicker\" preset: random opacity keyframes, a new pattern on each loop. `alternate` has no effect.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"max_opacity":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":1},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"min_opacity":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":0.3},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"seed":{"$ref":"#/$defs/item_apply_animations_item_params_seed"}}},"item_apply_animations_item_params_12":{"type":"object","description":"Params for the \"cascade\" preset: staggered fade/property tween across multiple targets.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set).","default":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"stagger":{"oneOf":[{"type":"number","minimum":0,"default":100,"description":"Per-element delay (ms). NOT the canonical `delay` field, which is unused here."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"property":{"oneOf":[{"type":"string","default":"opacity","description":"Arbitrary anime/CSS property name: unvalidated passthrough."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"from":{"oneOf":[{"type":"number","default":0},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"to":{"oneOf":[{"type":"number","default":1},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_13":{"type":"object","description":"Params for the \"cascade-color\" preset: staggered color cascade across a grid/row of targets. NOTE: the default `property` (\"color\") is correct for its primary intended use (data-grid cells, plain HTML/CSS-rendered) but won't visibly work on an SVG-shape target (LCARdS's own button/elbow/slider/MSD cards). Set `property` to `fill` or `stroke` for those.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"$ref":"#/$defs/item_apply_animations_item_params_delay"},"colors":{"$ref":"#/$defs/item_apply_animations_item_params_colors"},"pattern":{"oneOf":[{"type":"string","enum":["default","niagara","fast","custom"],"description":"Data grid: per-row timing pattern."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"speed_multiplier":{"oneOf":[{"type":"number","exclusiveMinimum":0,"description":"Data grid: 2 = twice as fast. Ignored when duration is set."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"timing":{"$ref":"#/$defs/item_apply_animations_item_params_timing"},"property":{"$ref":"#/$defs/item_apply_animations_item_params_property"},"mode":{"$ref":"#/$defs/item_apply_animations_item_params_mode"},"interactive":{"$ref":"#/$defs/item_apply_animations_item_params_interactive"},"stagger_from":{"$ref":"#/$defs/item_apply_animations_item_params_stagger_from"},"stagger_delay":{"oneOf":[{"type":"number","minimum":0,"default":100,"description":"Per-target stagger step in ms, with stagger_from."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"axis":{"$ref":"#/$defs/item_apply_animations_item_params_axis"}}},"item_apply_animations_item_params_14":{"type":"object","description":"Params for the \"ripple\" preset.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"scale_max":{"oneOf":[{"type":"number","minimum":1,"maximum":5,"default":1.5},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"opacity_min":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":0},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_15":{"type":"object","description":"Params for the \"scale\" preset.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"scale":{"oneOf":[{"type":"number","minimum":0.1,"maximum":10,"default":1.1,"description":"Target scale."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"from":{"oneOf":[{"type":"number","minimum":0.1,"maximum":10,"default":1,"description":"Starting scale."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_16":{"type":"object","description":"Params for the \"scale-reset\" preset. `loop`/`alternate` are hardcoded false in code today and have no effect even if set; see Phase 13.6.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_17":{"type":"object","description":"Params for the \"slide\" preset.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"from":{"$ref":"#/$defs/item_apply_animations_item_params_from"},"direction":{"oneOf":[{"type":"string","enum":["right","left","top","bottom","up","down"],"description":"Legacy alias for `from`, lower precedence."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"distance":{"oneOf":[{"oneOf":[{"type":"number"},{"type":"string"}],"default":100,"description":"Number → px. String containing '%' → treated as a percentage."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_18":{"type":"object","description":"Params for the \"rotate\" preset.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"direction":{"$ref":"#/$defs/item_apply_animations_item_params_direction"},"from":{"oneOf":[{"type":"number","default":0,"description":"Only used if `direction` is absent."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"to":{"oneOf":[{"type":"number","default":360,"description":"Only used if `direction` is absent."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_19":{"type":"object","description":"Params for the \"shake\" preset. `alternate` has no effect: keyframes always return to 0 regardless.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"intensity":{"oneOf":[{"type":"number","minimum":0,"default":10,"description":"Max px displacement."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"frequency":{"oneOf":[{"type":"number","minimum":1,"default":4,"description":"Number of alternating keyframes generated."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_2":{"pulse":{"$ref":"#/$defs/item_apply_animations_item_params_3"},"fade":{"$ref":"#/$defs/item_apply_animations_item_params_4"},"glow":{"$ref":"#/$defs/item_apply_animations_item_params_5"},"draw":{"$ref":"#/$defs/item_apply_animations_item_params_6"},"march":{"$ref":"#/$defs/item_apply_animations_item_params_7"},"blink":{"$ref":"#/$defs/item_apply_animations_item_params_8"},"shimmer":{"$ref":"#/$defs/item_apply_animations_item_params_9"},"strobe":{"$ref":"#/$defs/item_apply_animations_item_params_10"},"flicker":{"$ref":"#/$defs/item_apply_animations_item_params_11"},"cascade":{"$ref":"#/$defs/item_apply_animations_item_params_12"},"cascade-color":{"$ref":"#/$defs/item_apply_animations_item_params_13"},"ripple":{"$ref":"#/$defs/item_apply_animations_item_params_14"},"scale":{"$ref":"#/$defs/item_apply_animations_item_params_15"},"scale-reset":{"$ref":"#/$defs/item_apply_animations_item_params_16"},"slide":{"$ref":"#/$defs/item_apply_animations_item_params_17"},"rotate":{"$ref":"#/$defs/item_apply_animations_item_params_18"},"shake":{"$ref":"#/$defs/item_apply_animations_item_params_19"},"bounce":{"$ref":"#/$defs/item_apply_animations_item_params_20"},"color-shift":{"$ref":"#/$defs/item_apply_animations_item_params_21"},"skew":{"$ref":"#/$defs/item_apply_animations_item_params_22"},"glitch":{"$ref":"#/$defs/item_apply_animations_item_params_23"},"set":{"$ref":"#/$defs/item_apply_animations_item_params_24"},"motionpath":{"$ref":"#/$defs/item_apply_animations_item_params_25"},"morph":{"$ref":"#/$defs/item_apply_animations_item_params_26"},"sequence":{"$ref":"#/$defs/item_apply_animations_item_params_27"},"custom":{"$ref":"#/$defs/item_apply_animations_item_params_28"},"chaos":{"$ref":"#/$defs/item_apply_animations_item_params_29"},"physics-spring":{"$ref":"#/$defs/item_apply_animations_item_params_30"},"stagger-grid":{"$ref":"#/$defs/item_apply_animations_item_params_31"},"stagger-wave":{"$ref":"#/$defs/item_apply_animations_item_params_32"},"stagger-radial":{"$ref":"#/$defs/item_apply_animations_item_params_33"},"stagger-flash":{"$ref":"#/$defs/item_apply_animations_item_params_34"},"tap-ripple":{"$ref":"#/$defs/item_apply_animations_item_params_35"},"text-reveal":{"$ref":"#/$defs/item_apply_animations_item_params_36"},"text-scramble":{"$ref":"#/$defs/item_apply_animations_item_params_37"},"text-decode":{"$ref":"#/$defs/item_apply_animations_item_params_38"},"text-glitch":{"$ref":"#/$defs/item_apply_animations_item_params_39"},"text-typewriter":{"$ref":"#/$defs/item_apply_animations_item_params_40"},"boot-sequence":{"$ref":"#/$defs/item_apply_animations_item_params_41"},"sensor-sweep":{"$ref":"#/$defs/item_apply_animations_item_params_42"},"timeline-cascade":{"$ref":"#/$defs/item_apply_animations_item_params_43"},"timeline-attention":{"$ref":"#/$defs/item_apply_animations_item_params_44"}},"item_apply_animations_item_params_20":{"type":"object","description":"Params for the \"bounce\" preset.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"scale_max":{"oneOf":[{"type":"number","minimum":1,"maximum":3,"default":1.2},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"bounces":{"$ref":"#/$defs/item_apply_animations_item_params_bounces"}}},"item_apply_animations_item_params_21":{"type":"object","x-required":["color_from","color_to"],"description":"Params for the \"color-shift\" preset. NOTE: the default `property` (\"color\") only visibly works on plain HTML/CSS-rendered targets; LCARdS's own cards (button/elbow/slider/MSD) draw their shapes as SVG paths, which don't respond to the CSS `color` property at all. Set `property` to `fill` or `stroke` when targeting an SVG shape.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"color_from":{"$ref":"#/$defs/item_apply_animations_item_params_color_from_3"},"color_to":{"$ref":"#/$defs/item_apply_animations_item_params_color_to_3"},"property":{"$ref":"#/$defs/item_apply_animations_item_params_property_2"}}},"item_apply_animations_item_params_22":{"type":"object","description":"Params for the \"skew\" preset. Presence of EITHER from_skewX or from_skewY switches skewX/skewY into \"to\" targets instead of direct targets from 0: a genuine conditional shape (kept as hardcoded editor UI, not schema-driven form, per Phase 13.5).","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"skewX":{"oneOf":[{"type":"number","default":0,"description":"Degrees."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"skewY":{"oneOf":[{"type":"number","default":0,"description":"Degrees."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"from_skewX":{"oneOf":[{"type":"number","default":0},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"from_skewY":{"oneOf":[{"type":"number","default":0},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_23":{"type":"object","description":"Params for the \"glitch\" preset. `ease` is hardcoded to 'linear', ignored. `alternate` has no effect.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"intensity":{"oneOf":[{"type":"number","minimum":0,"default":5,"description":"Max px displacement, symmetric around 0."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"frequency":{"oneOf":[{"type":"number","minimum":1,"default":10,"description":"Number of random keyframes per loop (a new pattern on each loop)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"seed":{"$ref":"#/$defs/item_apply_animations_item_params_seed"}}},"item_apply_animations_item_params_24":{"type":"object","description":"Params for the \"set\" preset: direct property assignment (duration/ease/loop/alternate/delay are all ignored; duration is hardcoded 0).","properties":{"properties":{"$ref":"#/$defs/item_apply_animations_item_params_properties"}}},"item_apply_animations_item_params_25":{"type":"object","x-required":["path"],"description":"Params for the \"motionpath\" preset: animates an element (or, with `shape` set, a self-created tracer shape) along an SVG path.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"path":{"oneOf":[{"type":"string","description":"Required. CSS selector (#id or .class) for the motion-path SVG element."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"rotate":{"$ref":"#/$defs/item_apply_animations_item_params_rotate"},"anchor":{"oneOf":[{"type":"string","default":"50% 50%","description":"CSS transform-origin syntax, unvalidated. A sibling of `shape` below, not a field inside it."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"shape":{"$ref":"#/$defs/item_apply_animations_item_params_shape"}}},"item_apply_animations_item_params_26":{"type":"object","x-required":["to"],"description":"Params for the \"morph\" preset: the target shape (a path, polygon or polyline, or the first one inside the target) takes the geometry of the `to` shape. Stopping puts the original back; loop with alternate flips between the two.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration_3"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"to":{"$ref":"#/$defs/item_apply_animations_item_params_to"},"precision":{"$ref":"#/$defs/item_apply_animations_item_params_precision"},"morph_to_selector":{"oneOf":[{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_27":{"type":"object","x-required":["steps"],"description":"Params for the \"sequence\" preset: timeline of steps. Each step may set its own duration/ease (falling back to this preset's own duration/ease as per-step defaults). Step positioning uses `offset`; the preset factory also accepts the older `at` name as a fallback (translated to `offset` internally); `offset` wins if a step sets both.","properties":{"duration":{"oneOf":[{"type":"number","minimum":0,"default":2000,"description":"Fallback duration for steps missing their own duration."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"ease":{"oneOf":[{"type":["string","object"],"description":"Fallback easing for steps missing their own ease. Default 'outQuad'."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set).","default":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"steps":{"$ref":"#/$defs/item_apply_animations_item_params_steps"}}},"item_apply_animations_item_params_28":{"type":"object","description":"Params for the \"custom\" preset: raw anime.js v4 animation properties passed through to animate(), for example opacity, scale, translateX, keyframes, loop, alternate, ease. The target comes from the animation's own target/targets.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}},"additionalProperties":true},"item_apply_animations_item_params_29":{"type":"object","description":"Params for the \"chaos\" preset: randomized multi-property glitch motion, new random values on each loop. Does not use the top-level `duration` field at all.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set).","default":true},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"properties":{"$ref":"#/$defs/item_apply_animations_item_params_properties_2"},"range":{"$ref":"#/$defs/item_apply_animations_item_params_range"},"duration_min":{"oneOf":[{"type":"number","minimum":0,"default":200,"description":"Replaces the canonical `duration` entirely for this preset."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"duration_max":{"oneOf":[{"type":"number","minimum":0,"default":800},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"composition":{"oneOf":[{"type":"string","enum":["blend","replace"],"default":"blend","description":"Not validated in code today: documented values only."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"seed":{"$ref":"#/$defs/item_apply_animations_item_params_seed"}}},"item_apply_animations_item_params_3":{"type":"object","description":"Params for the \"pulse\" preset: breathing scale/brightness effect.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"max_scale":{"oneOf":[{"type":"number","minimum":0.5,"maximum":3,"default":1.15,"description":"How much to grow. Falls back to `scale` if set, else 1.15."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"scale":{"oneOf":[{"type":"number","minimum":0.5,"maximum":3,"description":"Legacy alias for max_scale (max_scale wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"max_brightness":{"oneOf":[{"type":"number","minimum":1,"maximum":3,"default":1.4,"description":"How much to brighten (1.0 = normal)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_30":{"type":"object","x-required":["from","to"],"description":"Params for the \"physics-spring\" preset. `ease`, `duration`, and `alternate` (canonical) are entirely bypassed; spring dynamics determine the effective duration internally. `loop`, however, genuinely is read and respected. Has its own parallel spring-config system separate from the generic `ease: {type:\"spring\", params:{...}}` path: see Phase 13.6.","properties":{"property":{"oneOf":[{"type":"string","default":"scale","description":"Passthrough anime property name."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"from":{"oneOf":[{"type":["number","string"],"description":"Required (typically a number; a color string is also valid for color-like properties)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"to":{"oneOf":[{"type":["number","string"],"description":"Required, see from."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"stiffness":{"oneOf":[{"type":"number","minimum":0,"default":100},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"damping":{"oneOf":[{"type":"number","minimum":0,"default":10},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"mass":{"oneOf":[{"type":"number","minimum":0,"default":1},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"velocity":{"oneOf":[{"type":"number","default":0},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set).","default":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_31":{"type":"object","description":"Params for the \"stagger-grid\" preset: stagger across a [cols, rows] grid of targets.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Default 'outQuad'."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set).","default":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"$ref":"#/$defs/item_apply_animations_item_params_delay_2"},"grid":{"$ref":"#/$defs/item_apply_animations_item_params_grid"},"from":{"$ref":"#/$defs/item_apply_animations_item_params_from_2"},"axis":{"$ref":"#/$defs/item_apply_animations_item_params_axis_2"},"reversed":{"oneOf":[{"type":"boolean","default":false,"description":"Run the stagger in the opposite order."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"jitter":{"$ref":"#/$defs/item_apply_animations_item_params_jitter"},"seed":{"oneOf":[{"type":"number","description":"Any number: the same jitter and random order on every load."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"property":{"oneOf":[{"type":"string","default":"scale"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"from_value":{"oneOf":[{"type":"number","default":0.8},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"to_value":{"oneOf":[{"type":"number","default":1},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_32":{"type":"object","description":"Params for the \"stagger-wave\" preset: wave effect across a linear sequence of targets. Actual code default for `alternate` is false (doc previously said true; corrected here, see Phase 13.6).","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set).","default":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"$ref":"#/$defs/item_apply_animations_item_params_delay_2"},"direction":{"$ref":"#/$defs/item_apply_animations_item_params_direction_2"},"reversed":{"oneOf":[{"type":"boolean","default":false,"description":"Run the wave from the last target."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"jitter":{"$ref":"#/$defs/item_apply_animations_item_params_jitter"},"seed":{"oneOf":[{"type":"number","description":"Any number: the same jitter and random order on every load."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"property":{"oneOf":[{"type":"string","default":"translateY"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"amplitude":{"oneOf":[{"type":"number","default":-20,"description":"Used in a 3-point path [0, amplitude, 0]."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_33":{"type":"object","description":"Params for the \"stagger-radial\" preset: stagger radiating from a point. `alternate` is not read at all by this preset.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"$ref":"#/$defs/item_apply_animations_item_params_delay_3"},"from":{"$ref":"#/$defs/item_apply_animations_item_params_from_4"},"property":{"oneOf":[{"type":"string","default":"scale"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"from_value":{"oneOf":[{"type":"number","default":0},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"to_value":{"oneOf":[{"type":"number","default":1},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"reversed":{"oneOf":[{"type":"boolean","default":false,"description":"Run the stagger in the opposite order."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"jitter":{"$ref":"#/$defs/item_apply_animations_item_params_jitter"},"seed":{"oneOf":[{"type":"number","description":"Any number: the same jitter and random order on every load."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_34":{"type":"object","description":"Params for the \"stagger-flash\" preset: WAAPI-driven flash sweep, bypassing anime.js entirely for the real visual effect.","properties":{"lead_color":{"$ref":"#/$defs/item_apply_animations_item_params_lead_color"},"trail_color":{"$ref":"#/$defs/item_apply_animations_item_params_trail_color"},"lead_pct":{"oneOf":[{"type":"number","minimum":1,"maximum":50,"default":20,"description":"Clamped in code to [1, 50]."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"duration":{"oneOf":[{"type":"number","minimum":0,"default":2000,"description":"Total WAAPI cycle duration."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"$ref":"#/$defs/item_apply_animations_item_params_delay_4"},"grid":{"$ref":"#/$defs/item_apply_animations_item_params_grid_2"},"from":{"oneOf":[{"type":"string","enum":["first","last","center"],"default":"first"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"property":{"oneOf":[{"type":"string","default":"stroke","description":"Used as a Web Animations API keyframe property name; must be WAAPI-animatable."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"with_opacity":{"oneOf":[{"type":"boolean","default":true},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"trail_opacity":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":0.25},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"type":"boolean","default":true,"description":"Maps to WAAPI iterations: Infinity vs 1, not the generic anime.js loop mechanism."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_35":{"type":"object","description":"Params for the \"tap-ripple\" preset: a pulse that spreads across the targets from where the card was tapped (positions read from the layout). Use with on_tap, on_hold or on_double_tap and several targets, e.g. target: .grid-cell in a data-grid.","properties":{"duration":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"One target's pulse, ms.","default":500},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"ease":{"oneOf":[{"type":["string","object"],"description":"Default 'outQuad'."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"spread":{"oneOf":[{"type":"number","minimum":0,"default":400,"description":"ms for the wave to travel from the tap point to the farthest target, whatever the layout."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"scale":{"oneOf":[{"type":"number","minimum":0,"default":1.08,"description":"Peak scale of each target."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"opacity_min":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":0.4,"description":"Lowest opacity of each target during its pulse."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"color":{"$ref":"#/$defs/item_apply_animations_item_params_color_3"},"property":{"$ref":"#/$defs/item_apply_animations_item_params_property_3"},"from":{"$ref":"#/$defs/item_apply_animations_item_params_from_6"},"reversed":{"oneOf":[{"type":"boolean","default":false,"description":"Run the wave inward, ending at the tap point."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"jitter":{"$ref":"#/$defs/item_apply_animations_item_params_jitter_2"},"seed":{"oneOf":[{"type":"number","description":"Any number: the same jitter on every load."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"grid":{"$ref":"#/$defs/item_apply_animations_item_params_grid_3"}}},"item_apply_animations_item_params_36":{"type":"object","description":"Params for the \"text-reveal\" preset: character/word/line reveal.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"split":{"$ref":"#/$defs/item_apply_animations_item_params_split"},"direction":{"$ref":"#/$defs/item_apply_animations_item_params_direction_3"},"stagger":{"oneOf":[{"type":"number","minimum":0,"default":50,"description":"Per-unit delay step. Canonical `delay` is unused here."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"from_opacity":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":0},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"from_y":{"oneOf":[{"type":"number","default":20,"description":"px, used in translateY."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_37":{"type":"object","description":"Params for the \"text-scramble\" preset: the decode of text-decode under its original name, with its original timing params. A line takes duration + (characters - 1) x stagger ms. Any text-decode param works too.","properties":{"duration":{"oneOf":[{"type":"number","minimum":0,"default":800,"description":"ms each character spends scrambling."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"stagger":{"oneOf":[{"type":"number","minimum":0,"default":40,"description":"ms between each character starting."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"characters":{"$ref":"#/$defs/item_apply_animations_item_params_characters"},"chars":{"oneOf":[{"type":"string","description":"Same as characters."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"settle_at":{"oneOf":[{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"from":{"oneOf":[{"type":"string","enum":["left","right","center","random"],"default":"left","description":"Where the reveal starts."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"reversed":{"oneOf":[{"type":"boolean","default":false,"description":"Reveal in the opposite order: from: center then reveals the edges first."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"cursor":{"$ref":"#/$defs/item_apply_animations_item_params_cursor"},"perturbation":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"description":"Random timing per character (0 to 1) for a less even reveal."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"reveal_rate":{"oneOf":[{"type":"number","exclusiveMinimum":0,"description":"Characters per second entering the reveal (anime.js default 60)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"seed":{"oneOf":[{"type":"number","description":"Any number: the same scramble on every load. Each text line gets the next seed."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"type":"boolean","default":false,"description":"Decode again on every loop."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":"number","minimum":0,"default":0,"description":"ms before the decode starts."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_38":{"type":"object","description":"Params for the \"text-decode\" preset: an LCARS readout decode (anime.js scrambleText). Each text line starts as glyph noise and resolves character by character; stopping restores the text. `ease`/`alternate` are not used.","properties":{"duration":{"oneOf":[{"type":"number","minimum":0,"default":1000,"description":"ms for the whole decode of a line."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"chars":{"$ref":"#/$defs/item_apply_animations_item_params_chars"},"from":{"oneOf":[{"type":"string","enum":["left","right","center","random"],"default":"left","description":"Where the reveal starts."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"reversed":{"oneOf":[{"type":"boolean","default":false,"description":"Reveal in the opposite order: from: center then reveals the edges first."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"cursor":{"$ref":"#/$defs/item_apply_animations_item_params_cursor"},"perturbation":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"description":"Random timing per character (0 to 1) for a less even reveal."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"reveal_rate":{"oneOf":[{"type":"number","exclusiveMinimum":0,"description":"Characters per second entering the reveal (anime.js default 60)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"seed":{"oneOf":[{"type":"number","description":"Any number: the same scramble on every load. Each text line gets the next seed."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"type":"boolean","default":false,"description":"Decode again on every loop."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":"number","minimum":0,"default":0,"description":"ms before the decode starts."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_39":{"type":"object","description":"Params for the \"text-glitch\" preset. `ease` (canonical) is hardcoded to 'inOutQuad', ignored.","properties":{"intensity":{"oneOf":[{"type":"number","minimum":0,"default":5,"description":"Max px/SVG-unit displacement."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"duration":{"oneOf":[{"type":"number","minimum":0,"default":300,"description":"ms per glitch cycle."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"stagger":{"oneOf":[{"type":"number","minimum":0,"default":50,"description":"ms offset between characters. Canonical `delay` is unused here."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"color_shift":{"oneOf":[{"type":"boolean","default":false,"description":"HTML target path only: silently ignored for SVG elements."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set).","default":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"seed":{"oneOf":[{"type":"number","description":"Any number: the same glitch offsets on every run."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_4":{"type":"object","description":"Params for the \"fade\" preset: simple opacity transition.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"from":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":1,"description":"Starting opacity."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"to":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":0.3,"description":"Target opacity."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_40":{"type":"object","description":"Params for the \"text-typewriter\" preset. `duration` (canonical) is hardcoded to 1, ignored. `ease` hardcoded 'linear'. `alternate`/`delay` (canonical) never read.","properties":{"speed":{"oneOf":[{"type":"number","minimum":0,"default":100,"description":"ms per character."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set).","default":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_41":{"type":"object","description":"Params for the \"boot-sequence\" preset: the target powers up. Stroked shapes draw in, filled shapes come on, then the text decodes, all on one timeline. Parts the card does not have are skipped. Best on on_show or on_load.","properties":{"duration":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"ms for the whole sequence.","default":1200},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"ms before the sequence starts."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"fill":{"$ref":"#/$defs/item_apply_animations_item_params_fill"},"from":{"oneOf":[{"type":"string","enum":["left","right","top","bottom"],"default":"left","description":"The side a sweep starts from."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"draw":{"oneOf":[{"type":"boolean","default":true,"description":"Draw stroked shapes (borders, lines, rings) in."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"decode":{"oneOf":[{"type":"boolean","default":true,"description":"Decode the text from glyph noise. Off: the text just appears."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"chars":{"oneOf":[{"type":"string","default":"A-Z0-9","description":"Decode glyphs, as in text-decode: a named set (uppercase, numbers, blocks, ...) or ranges."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"stagger":{"oneOf":[{"type":"number","minimum":0,"default":60,"description":"ms between one shape coming on and the next."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"seed":{"oneOf":[{"type":"number","description":"Any number: the same decode on every load."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_42":{"type":"object","description":"Params for the \"sensor-sweep\" preset: a rotating scanner wedge with a ring that pings outward each turn. It draws its own shapes, centred on the target, and removes them when stopped.","properties":{"duration":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"ms per revolution (and per ping).","default":3000},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"ms before it starts."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set).","default":true},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"radius":{"oneOf":[{"type":"number","exclusiveMinimum":0,"description":"SVG units. Default: half the shorter side of the target's box."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"center":{"$ref":"#/$defs/item_apply_animations_item_params_center"},"angle":{"oneOf":[{"type":"number","minimum":1,"maximum":359,"default":40,"description":"Wedge width, degrees."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"direction":{"oneOf":[{"type":"string","enum":["cw","ccw"],"default":"cw","description":"Clockwise or counter-clockwise."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"color":{"$ref":"#/$defs/item_apply_animations_item_params_color_5"},"ring_color":{"$ref":"#/$defs/item_apply_animations_item_params_ring_color"},"opacity":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":0.35,"description":"Wedge opacity. The ring starts at 2.5 times this (at most 1) and fades out."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"ring":{"oneOf":[{"type":"boolean","default":true,"description":"Show the ping ring."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"ring_width":{"oneOf":[{"type":"number","minimum":0,"default":2,"description":"Ring stroke width, SVG units."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_43":{"type":"object","x-required":["steps"],"description":"Params for the \"timeline-cascade\" preset: multi-step timeline. Timing/easing for each step lives in that step's own config; the top-level canonical `duration`/`ease` are genuinely inert (confirmed against anime.js's own source: Timeline recomputes its own duration from its children regardless, and `ease` isn't read by the underlying Timer class at all; only a separate `playbackEase` is). `loop`/`alternate`/`delay`, however, do still apply: they govern the whole timeline's repeat/reverse/start-delay behavior, since Timeline extends Timer and inherits those from the same top-level params.","properties":{"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set).","default":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"steps":{"$ref":"#/$defs/item_apply_animations_item_params_steps_3"}}},"item_apply_animations_item_params_44":{"type":"object","description":"Params for the \"timeline-attention\" preset: 3-phase scale/shake/settle sequence. The top-level canonical `duration`/`ease` are genuinely inert (durations are hardcoded to the duration_* fields below, and each phase's easing is hardcoded in source with no override; confirmed via anime.js's own source that Timeline discards a top-level duration and never reads `ease` at all). Of the remaining canonical fields, only `loop` is actually forwarded by the preset factory (repeats the whole 3-phase sequence); `alternate`/`delay` are never read by this preset's code despite being generically available on the Timeline class, so they were deliberately left out of this schema.","properties":{"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Repeats the whole 3-phase sequence.","default":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"scale_max":{"oneOf":[{"type":"number","minimum":1,"default":1.15},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"shake_intensity":{"oneOf":[{"type":"number","minimum":0,"default":5,"description":"Used to build a fixed 5-point translateX keyframe array."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"duration_scale":{"oneOf":[{"type":"number","minimum":0,"default":200,"description":"Duration of phase 1 (scale up)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"duration_shake":{"oneOf":[{"type":"number","minimum":0,"default":300,"description":"Duration of phase 2 (shake)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"duration_settle":{"oneOf":[{"type":"number","minimum":0,"default":400,"description":"Duration of phase 3 (settle back)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_5":{"type":"object","description":"Params for the \"glow\" preset.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"color":{"$ref":"#/$defs/item_apply_animations_item_params_color"},"glow_color":{"$ref":"#/$defs/item_apply_animations_item_params_glow_color"},"blur_min":{"oneOf":[{"type":"number","minimum":0,"maximum":50,"default":0},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"blur_max":{"oneOf":[{"type":"number","minimum":0,"maximum":50,"default":10},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_6":{"type":"object","description":"Params for the \"draw\" preset: SVG stroke reveal via anime.js createDrawable.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"reverse":{"$ref":"#/$defs/item_apply_animations_item_params_reverse"},"draw":{"$ref":"#/$defs/item_apply_animations_item_params_draw"}}},"item_apply_animations_item_params_7":{"type":"object","description":"Params for the \"march\" preset: CSS-based marching dashed line (bypasses anime.js).","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration_2"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"$ref":"#/$defs/item_apply_animations_item_params_loop"},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"speed":{"oneOf":[{"type":"number","minimum":0,"description":"Seconds per cycle. Takes precedence over `duration` if present."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"direction":{"oneOf":[{"type":"string","enum":["forward","reverse"],"default":"forward"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"dash_length":{"oneOf":[{"type":"number","minimum":0,"description":"Auto-detected from the element's stroke-dasharray if absent; fallback 10."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"gap_length":{"oneOf":[{"type":"number","minimum":0,"description":"Auto-detected from the element's stroke-dasharray if absent; fallback 5."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_8":{"type":"object","description":"Params for the \"blink\" preset.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"max_opacity":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":1},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"min_opacity":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":0.3},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_9":{"type":"object","description":"Params for the \"shimmer\" preset.","properties":{"duration":{"$ref":"#/$defs/item_apply_animations_item_params_duration"},"ease":{"oneOf":[{"type":["string","object"],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"alternate":{"oneOf":[{"type":"boolean","description":"Also accepted nested here (top-level wins if both set)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"delay":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"color_from":{"$ref":"#/$defs/item_apply_animations_item_params_color_from"},"color_to":{"$ref":"#/$defs/item_apply_animations_item_params_color_to"},"shimmer_color":{"$ref":"#/$defs/item_apply_animations_item_params_shimmer_color"},"opacity_from":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":1},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"opacity_to":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":0.5},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]}}},"item_apply_animations_item_params_axis":{"oneOf":[{"type":"string","enum":["row","column"],"default":"row","description":"With stagger_from: 'row' follows target order; 'column' staggers by layout position, row by row downward (forces mode 'animejs')."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_axis_2":{"oneOf":[{"type":"string","enum":["x","y","row","column"],"description":"Stagger along one axis only: 'x' (or 'row') delays by column, 'y' (or 'column') by row."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_bounces":{"oneOf":[{"type":"number","minimum":1,"default":3,"description":"If > 1, `ease` is force-overridden to 'outQuad' and `duration` is multiplied by `bounces` (see Phase 13.6 re: whether ease should stay overridable here). If <= 1, the user's ease/duration are used unmodified."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_center":{"oneOf":[{"type":"array","minItems":2,"maxItems":2,"items":{"type":"number"},"description":"[x, y] in the target's SVG units, e.g. an elbow corner or a spot on an MSD. Default: the centre of the target's box."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_characters":{"oneOf":[{"type":"string","default":"A-Z0-9!@#$%^&*","description":"Scramble glyphs, as text-decode chars (named sets and ranges such as A-Z work; put a literal - first or last)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_chars":{"oneOf":[{"type":"string","default":"A-Z0-9","description":"Scramble glyphs: a named set (uppercase, lowercase, numbers, symbols, blocks, shades, braille) or characters and ranges such as A-Z0-9. Put a literal - first or last."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_color":{"oneOf":[{"$ref":"#/$defs/item_apply_animations_item_params_color_2"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_color_2":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Glow colour. Falls back to `glow_color` if set.","default":"var(--lcars-blue, #66ccff)"},"item_apply_animations_item_params_color_3":{"oneOf":[{"$ref":"#/$defs/item_apply_animations_item_params_color_4"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_color_4":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Optional flash colour at the peak of each pulse (theme token, CSS variable or colour)."},"item_apply_animations_item_params_color_5":{"oneOf":[{"$ref":"#/$defs/item_apply_animations_item_params_color_6"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_color_6":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Wedge colour.","default":"theme:colors.ui.primary"},"item_apply_animations_item_params_color_from":{"oneOf":[{"$ref":"#/$defs/item_apply_animations_item_params_color_from_2"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_color_from_2":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Must be paired with color_to, else color animation is skipped (opacity still animates)."},"item_apply_animations_item_params_color_from_3":{"oneOf":[{"$ref":"#/$defs/item_apply_animations_item_params_color_from_4"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_color_from_4":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Required: omitting either color_from or color_to makes the preset a no-op with a warning."},"item_apply_animations_item_params_color_to":{"oneOf":[{"$ref":"#/$defs/item_apply_animations_item_params_color_to_2"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_color_to_2":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Falls back to `shimmer_color`. Must be paired with color_from."},"item_apply_animations_item_params_color_to_3":{"oneOf":[{"$ref":"#/$defs/item_apply_animations_item_params_color_to_4"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_color_to_4":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Required, see color_from."},"item_apply_animations_item_params_colors":{"oneOf":[{"$ref":"#/$defs/item_apply_animations_item_params_colors_2"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_colors_2":{"anyOf":[{"$ref":"#/$defs/item_apply_animations_item_params_colors_3"},{"$ref":"#/$defs/item_apply_animations_item_params_colors_4"}],"description":"Only indices [0],[1],[2] are used; defaults to 3 theme tokens if omitted."},"item_apply_animations_item_params_colors_3":{"type":"array","minItems":3,"items":{"$ref":"#/$defs/item_apply_animations_item_params_colors_item"}},"item_apply_animations_item_params_colors_4":{"type":"object","description":"Data grid form: { start, text, end }","properties":{"start":{"$ref":"#/$defs/item_apply_animations_item_params_colors_item"},"text":{"$ref":"#/$defs/item_apply_animations_item_params_colors_item"},"end":{"$ref":"#/$defs/item_apply_animations_item_params_colors_item"}}},"item_apply_animations_item_params_colors_item":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Colour value (hex, rgb, named colour, theme token, or CSS variable)"},"item_apply_animations_item_params_cursor":{"oneOf":[{"type":["boolean","string"],"default":false,"description":"Characters shown at the reveal edge: true for '_', or a string. Best seen on slower decodes (a longer duration)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_delay":{"oneOf":[{"type":"number","minimum":0,"default":0,"description":"Row-level start delay: a legitimate use of the canonical start-offset meaning (unlike the stagger-* presets)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_delay_2":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Repurposed as per-element stagger step (ms), NOT the canonical single start-offset.","default":100},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_delay_3":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Repurposed as per-element stagger step (ms), NOT the canonical single start-offset.","default":50},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_delay_4":{"oneOf":[{"type":"number","minimum":0,"description":"Per-element stagger step (ms). Dynamic default: round(duration / 12). NOT the canonical single start-offset."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_direction":{"oneOf":[{"type":"string","enum":["clockwise","counterclockwise"],"description":"If present, entirely overrides from/to: clockwise → [0,360], counterclockwise → [0,-360]."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_direction_2":{"oneOf":[{"type":"string","enum":["normal","reverse"],"default":"normal","description":"'reverse' runs the wave from the last target (the same as reversed: true)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_direction_3":{"oneOf":[{"type":"string","default":"first","description":"Stagger origin (same family as anime's stagger() `from`: first/last/center/random/numeric index). Unvalidated."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_draw":{"oneOf":[{"oneOf":[{"type":"array","items":{"type":"string"},"description":"e.g. ['0 0', '0 1']"},{"type":"object","properties":{"values":{"type":"array","items":{"type":"string"},"required":true}}}],"description":"Draw values or {values: [...]}. Defaults to ['0 0','0 1'] (or reversed) based on `reverse`."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_duration":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor for entity-driven, live-adjusting duration on looping animations."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_duration_2":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Used only if `speed` is absent (converted to seconds for a CSS animation-duration). `speed` takes precedence if both are set."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_duration_3":{"oneOf":[{"type":["number","object"],"minimum":0,"description":"Also accepted nested here (top-level wins if both set). Also accepts a map_range descriptor for entity-driven, live-adjusting duration on looping animations.","default":800},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_fill":{"oneOf":[{"type":"string","enum":["flicker","sweep","fade"],"default":"flicker","description":"How filled shapes come on: 'flicker' (a panel powering up), 'sweep' (wipes in from the from side) or 'fade'."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_from":{"oneOf":[{"type":"string","enum":["right","left","top","bottom","up","down"],"default":"right","description":"Falls back to `direction`. Actual code default is 'right' (doc previously said 'up'; corrected here, see Phase 13.6)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_from_2":{"oneOf":[{"$ref":"#/$defs/item_apply_animations_item_params_from_3"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_from_3":{"oneOf":[{"type":"string","enum":["first","last","center","edges","random","start","end","pointer"]},{"type":"array","minItems":2,"maxItems":2,"items":{"type":"integer","minimum":0}}],"default":"first","description":"Where the wave starts: 'first' (top-left), 'last', 'center' (outward), 'edges' (inward), 'random', or a [col, row] cell (0-indexed). 'start' and 'end' are aliases of 'first' and 'last'. 'pointer' starts where the card was tapped (on_tap, on_hold, on_double_tap; the centre for other triggers)."},"item_apply_animations_item_params_from_4":{"oneOf":[{"$ref":"#/$defs/item_apply_animations_item_params_from_5"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_from_5":{"oneOf":[{"type":"string","enum":["center","first","last","random","pointer"]},{"type":"array","minItems":2,"maxItems":2,"items":{"type":"number","minimum":0,"maximum":1}}],"default":"center","description":"Where the ripple starts, measured on the targets' real positions: 'center', 'first', 'last', 'random', or an [x, y] point as fractions of the group (0 to 1, [0, 0] is top-left)."},"item_apply_animations_item_params_from_6":{"oneOf":[{"type":"string","enum":["pointer","center","first","last","random"],"default":"pointer","description":"Where the wave starts: 'pointer' is the tap point (the centre when another trigger fires it)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_glow_color":{"oneOf":[{"$ref":"#/$defs/item_apply_animations_item_params_glow_color_2"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_glow_color_2":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Legacy alias for color, lower precedence."},"item_apply_animations_item_params_grid":{"oneOf":[{"type":"array","minItems":2,"maxItems":2,"items":{"type":"number"},"default":[1,1],"description":"Validated in code: warns and no-ops if provided with the wrong shape."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_grid_2":{"oneOf":[{"type":"array","minItems":2,"maxItems":2,"items":{"type":"number"},"description":"No length validation. Only forwarded into the (mostly inert) anime stagger config."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_grid_3":{"oneOf":[{"type":"array","minItems":2,"maxItems":2,"items":{"type":"number","minimum":1},"description":"[columns, rows] of the targets, passed to the stagger as its grid."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_interactive":{"oneOf":[{"type":"boolean","default":false,"description":"Only wired up (mouseenter/mouseleave pause/play) when mode==='animejs'. With stagger_from set, hovering any target pauses the whole cascade."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_jitter":{"oneOf":[{"anyOf":[{"type":"number","minimum":0},{"type":"array","minItems":2,"maxItems":2,"items":{"type":"number","minimum":0}}],"description":"Random offset in ms added to each target's delay (plus or minus). A [start, end] pair ramps it along the stagger order."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_jitter_2":{"oneOf":[{"anyOf":[{"type":"number","minimum":0},{"type":"array","minItems":2,"maxItems":2,"items":{"type":"number","minimum":0}}],"description":"Random extra delay per target (ms, or a [start, end] ramp) for a less even wave."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_lead_color":{"oneOf":[{"$ref":"#/$defs/item_apply_animations_item_params_lead_color_2"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_lead_color_2":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Colour value (hex, rgb, named colour, theme token, or CSS variable)","default":"var(--primary-color)"},"item_apply_animations_item_params_loop":{"oneOf":[{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":1}],"description":"Maps to CSS animation-iteration-count: true→infinite, false/0→1, N→N. Uses CSS keyframes, not the generic anime.js loop mechanism.","default":true},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_mode":{"oneOf":[{"$ref":"#/$defs/item_apply_animations_item_params_mode_2"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_mode_2":{"type":"string","enum":["css","animejs"],"description":"Both modes actually run through anime.js. Despite the naming, this isn't a CSS-vs-anime.js engine choice. 'animejs' mode adds per-cell stagger (interactive/stagger_from/axis) on top of the base cascade; 'css' mode is the plain synchronized version. Auto-computed from interactive/stagger_from/axis when unset, and force-upgraded to 'animejs' whenever any of those are set even if `mode` was also set explicitly: those fields have no effect at all in 'css' mode, so silently ignoring them would be more surprising than the override."},"item_apply_animations_item_params_precision":{"oneOf":[{"type":"number","minimum":0,"default":0.33,"description":"Points sampled per SVG unit of path length (anime.js morphTo). Higher is smoother and slower. 0 interpolates the raw geometry, which only works when both shapes use the same path commands."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_properties":{"oneOf":[{"type":"object","additionalProperties":true,"default":{},"description":"Free-form key→value map spread directly into anime params, e.g. {opacity: 0.5, fill: 'red'}. Completely unvalidated shape."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_properties_2":{"oneOf":[{"$ref":"#/$defs/item_apply_animations_item_params_properties_3"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_properties_3":{"type":"array","items":{"type":"string"},"default":["x","y","rotate"],"description":"'x'/'y' tokens are remapped to translateX/translateY; other tokens (e.g. 'rotate','opacity') used verbatim as the anime property name. Not validated as an array in code today; a non-array truthy value will throw."},"item_apply_animations_item_params_property":{"oneOf":[{"type":"string","default":"color","description":"Passthrough key used inside keyframe objects. 'fill'/'stroke' for SVG shapes, 'color'/'background-color' only for plain HTML/CSS-rendered targets."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_property_2":{"oneOf":[{"type":"string","default":"color","description":"'fill'/'stroke' for SVG shapes (LCARdS's own cards), 'color'/'background-color' only for plain HTML/CSS-rendered targets."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_property_3":{"oneOf":[{"type":"string","enum":["color","fill","stroke"],"default":"color","description":"What color sets: 'color' for HTML text such as data-grid cells, 'fill' or 'stroke' for SVG shapes."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_range":{"oneOf":[{"$ref":"#/$defs/item_apply_animations_item_params_range_2"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_range_2":{"type":"object","additionalProperties":{"type":"array","minItems":2,"maxItems":2,"items":{"type":"number"}},"default":{"x":[-50,50],"y":[-50,50],"rotate":[-15,15]},"description":"Min/max range per property. Keys should match `properties`. Each value must be a 2-element array or that property's animation is silently skipped."},"item_apply_animations_item_params_reverse":{"oneOf":[{"type":"boolean","default":false,"description":"If true, draws from end to start. Only affects the default `draw` value: ignored if `draw` is explicitly supplied."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_ring_color":{"oneOf":[{"$ref":"#/$defs/item_apply_animations_item_params_ring_color_2"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_ring_color_2":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Ping ring colour. Default: color."},"item_apply_animations_item_params_rotate":{"oneOf":[{"type":"boolean","default":true,"description":"Auto-rotate along path (different meaning from the top-level \"rotate\" preset's numeric from/to). A sibling of `shape` below, not a field inside it; controls the motion itself, applies whether or not `shape` is set."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_seed":{"oneOf":[{"type":"number","description":"Any number: the same random pattern on every load. Leave unset for a new pattern each time. Targets with the same seed share the pattern."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_shape":{"oneOf":[{"$ref":"#/$defs/item_apply_animations_item_params_shape_2"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_shape_2":{"type":"object","description":"Opt-in: motionpath creates and animates its own shape (a \"tracer\") instead of moving target/targets, e.g. a traveling dot suggesting energy flow along a line. Mutually exclusive with target/targets (shape wins, with a console warning, if both are set). Field names deliberately mirror line markers' (marker_start/marker_end) styling options. Appearance only; `rotate`/`anchor` (motion behavior) are separate, sibling `params` fields, not part of this object.","properties":{"type":{"type":"string","enum":["circle","rect","diamond"],"default":"circle"},"size":{"type":"number","minimum":1,"default":10,"description":"Diameter (circle/diamond) or width/height fallback (rect) in px."},"width":{"type":"number","minimum":1,"description":"rect only: overrides size for width."},"height":{"type":"number","minimum":1,"description":"rect only: overrides size for height."},"fill":{"type":"string","default":"currentColor"},"stroke":{"type":"string","default":"none"},"stroke_width":{"type":"number","minimum":0,"default":0}}},"item_apply_animations_item_params_shimmer_color":{"oneOf":[{"$ref":"#/$defs/item_apply_animations_item_params_shimmer_color_2"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_shimmer_color_2":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Legacy alias for color_to, lower precedence."},"item_apply_animations_item_params_split":{"oneOf":[{"type":"string","enum":["chars","words","lines"],"default":"chars","description":"Not a strict whitelist in code: anything not exactly \"lines\"/\"words\" falls back to chars."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_stagger_from":{"oneOf":[{"type":"string","enum":["first","last","center","random"],"description":"Stagger the targets from this end instead of starting them together (forces mode 'animejs')."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_steps":{"oneOf":[{"$ref":"#/$defs/item_apply_animations_item_params_steps_2"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_steps_2":{"type":"array","minItems":1,"items":{"$ref":"#/$defs/item_apply_animations_item_params_steps_item"},"description":"Required, at least one step."},"item_apply_animations_item_params_steps_3":{"oneOf":[{"$ref":"#/$defs/item_apply_animations_item_params_steps_4"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_steps_4":{"type":"array","minItems":1,"items":{"$ref":"#/$defs/item_apply_animations_item_params_steps_item_2"}},"item_apply_animations_item_params_steps_item":{"type":"object","properties":{"target":{"$ref":"#/$defs/item_apply_animations_item_params_steps_item_target"},"targets":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Same as target."},"offset":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"Position in the timeline: an absolute ms number, '+=N' / '-=N' relative to the end of the previous step, '<' at the end of the previous step, '<<' together with the previous step."}},"additionalProperties":true,"description":"Arbitrary anime.js tween properties at the top level, plus optional target, duration, ease and offset (or legacy at)."},"item_apply_animations_item_params_steps_item_2":{"type":"object","properties":{"targets":{"$ref":"#/$defs/item_apply_animations_item_params_steps_item_target"},"params":{"type":"object","additionalProperties":true,"description":"Arbitrary anime.js props, e.g. scale/opacity."},"duration":{"type":"number","minimum":0},"offset":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"Position in the timeline: an absolute ms number, '+=N' / '-=N' relative to the end of the previous step, '<' at the end of the previous step, '<<' together with the previous step."}},"additionalProperties":true},"item_apply_animations_item_params_steps_item_target":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"CSS selector (or list of selectors) for this step, resolved inside the card: in an MSD card any overlay of that card, e.g. [data-overlay-id=\"line_1\"]. Without it the step animates the animation's own target(s)."},"item_apply_animations_item_params_timing":{"oneOf":[{"$ref":"#/$defs/item_apply_animations_item_params_timing_2"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_timing_2":{"type":"array","description":"Data grid: per-row timing for pattern: custom (repeats for further rows).","items":{"type":"object","properties":{"duration":{"type":"number","minimum":0,"description":"Colour cycle length in ms"},"delay":{"type":"number","minimum":0,"description":"Row start delay in seconds"}}}},"item_apply_animations_item_params_to":{"oneOf":[{"type":"string","description":"Required. CSS selector of the shape to morph into, found in the same card, e.g. #warn_shape or [data-overlay-id=\"warn_shape\"]. It can be hidden (display: none or inside defs)."},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_trail_color":{"oneOf":[{"$ref":"#/$defs/item_apply_animations_item_params_trail_color_2"},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_apply_animations_item_params_trail_color_2":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Colour value (hex, rgb, named colour, theme token, or CSS variable)","default":"#444444"},"item_config":{"type":"object","discriminatedBy":{"$ref":"#/$defs/item_config_2"},"description":"Preset-specific configuration options. Shape depends on the sibling `preset` field. Supports entity-reactive values via map_range descriptor ({ map_range: { entity, attribute, input, output } }) or template strings ([[[...]]]). entity (the older entity_id also works) defaults to the card-bound entity."},"item_config_10":{"type":"object","description":"Params for the \"cascade\" preset: LCARS waterfall colour-cycling data grid. A single instance changes every matched cell in sync (mode: css's delay is one flat value); the row-by-row \"waterfall\" look (including the niagara timing pattern) requires declaring multiple separate instances, one per row; see lcards-data-grid's animation.pattern option, which automates that.","properties":{"speed":{"$ref":"#/$defs/item_config_speed"},"num_rows":{"$ref":"#/$defs/item_config_num_rows_2"},"num_cols":{"$ref":"#/$defs/item_config_num_cols_2"},"format":{"$ref":"#/$defs/item_config_format"},"pattern":{"$ref":"#/$defs/item_config_pattern_3"},"speed_multiplier":{"$ref":"#/$defs/item_config_speed_multiplier"},"colors":{"$ref":"#/$defs/item_config_colors_7"},"font_size":{"$ref":"#/$defs/item_config_font_size"},"gap":{"$ref":"#/$defs/item_config_gap"},"font_family":{"$ref":"#/$defs/item_config_font_family"},"timing":{"$ref":"#/$defs/item_config_timing"},"refresh_interval":{"$ref":"#/$defs/item_config_refresh_interval"},"duration":{"$ref":"#/$defs/item_config_duration"},"opacity":{"$ref":"#/$defs/item_config_opacity"}}},"item_config_11":{"type":"object","description":"Params for the \"level\" preset: animated tank/gauge fill bar.","properties":{"speed":{"$ref":"#/$defs/item_config_speed"},"color_a":{"$ref":"#/$defs/item_config_color_a"},"color_b":{"$ref":"#/$defs/item_config_color_b"},"color":{"$ref":"#/$defs/item_config_color_11"},"gradient_crossover":{"$ref":"#/$defs/item_config_gradient_crossover"},"fill_pct":{"$ref":"#/$defs/item_config_fill_pct"},"direction":{"$ref":"#/$defs/item_config_direction"},"edge_glow":{"$ref":"#/$defs/item_config_edge_glow"},"edge_glow_color":{"$ref":"#/$defs/item_config_edge_glow_color"},"edge_glow_width":{"$ref":"#/$defs/item_config_edge_glow_width"},"wave_height":{"$ref":"#/$defs/item_config_wave_height"},"wave_speed":{"$ref":"#/$defs/item_config_wave_speed"},"wave_count":{"$ref":"#/$defs/item_config_wave_count"},"wave2_height":{"$ref":"#/$defs/item_config_wave2_height"},"wave2_count":{"$ref":"#/$defs/item_config_wave2_count"},"wave2_speed":{"$ref":"#/$defs/item_config_wave2_speed"},"slosh_amount":{"$ref":"#/$defs/item_config_slosh_amount"},"slosh_period":{"$ref":"#/$defs/item_config_slosh_period"},"opacity":{"$ref":"#/$defs/item_config_opacity"}}},"item_config_12":{"type":"object","description":"Params for the \"fluid\" preset: swirling single-colour noise wash.","properties":{"speed":{"$ref":"#/$defs/item_config_speed"},"color":{"$ref":"#/$defs/item_config_color_13"},"base_frequency":{"$ref":"#/$defs/item_config_base_frequency"},"num_octaves":{"$ref":"#/$defs/item_config_num_octaves_2"},"scroll_speed_x":{"$ref":"#/$defs/item_config_scroll_speed_x_6"},"scroll_speed_y":{"$ref":"#/$defs/item_config_scroll_speed_y_6"},"opacity":{"$ref":"#/$defs/item_config_opacity"}}},"item_config_13":{"type":"object","description":"Params for the \"plasma\" preset: two-colour plasma noise bands.","properties":{"speed":{"$ref":"#/$defs/item_config_speed"},"color_a":{"$ref":"#/$defs/item_config_color_a_3"},"color_b":{"$ref":"#/$defs/item_config_color_b_3"},"base_frequency":{"$ref":"#/$defs/item_config_base_frequency_2"},"scroll_speed_x":{"$ref":"#/$defs/item_config_scroll_speed_x_7"},"scroll_speed_y":{"$ref":"#/$defs/item_config_scroll_speed_y_7"},"opacity":{"$ref":"#/$defs/item_config_opacity"}}},"item_config_14":{"type":"object","description":"Params for the \"flow\" preset: directional streaming noise streaks.","properties":{"speed":{"$ref":"#/$defs/item_config_speed"},"color":{"$ref":"#/$defs/item_config_color_15"},"base_frequency":{"$ref":"#/$defs/item_config_base_frequency_2"},"wave_scale":{"$ref":"#/$defs/item_config_wave_scale"},"scroll_speed_x":{"$ref":"#/$defs/item_config_scroll_speed_x_8"},"scroll_speed_y":{"$ref":"#/$defs/item_config_scroll_speed_y_8"},"opacity":{"$ref":"#/$defs/item_config_opacity"}}},"item_config_15":{"type":"object","description":"Params for the \"shimmer\" preset: sweeping highlight band.","properties":{"color":{"$ref":"#/$defs/item_config_color_17"},"highlight_width":{"$ref":"#/$defs/item_config_highlight_width"},"speed":{"$ref":"#/$defs/item_config_speed_2"},"angle":{"$ref":"#/$defs/item_config_angle"},"opacity":{"$ref":"#/$defs/item_config_opacity"}}},"item_config_16":{"type":"object","description":"Params for the \"scanlines\" preset: static CRT-style scanline overlay.","properties":{"speed":{"$ref":"#/$defs/item_config_speed"},"color":{"$ref":"#/$defs/item_config_color_19"},"line_spacing":{"$ref":"#/$defs/item_config_line_spacing_3"},"line_width":{"$ref":"#/$defs/item_config_line_width_3"},"direction":{"$ref":"#/$defs/item_config_direction_2"},"scroll_speed_x":{"$ref":"#/$defs/item_config_scroll_speed_x_9"},"scroll_speed_y":{"$ref":"#/$defs/item_config_scroll_speed_y_3"},"opacity":{"$ref":"#/$defs/item_config_opacity"}}},"item_config_17":{"type":"object","description":"Params for the \"image\" preset: user-supplied image rendered behind the full card area. Field is `source` (not `url`; a page of docs previously used `url` throughout, which never worked; fixed).","properties":{"source":{"$ref":"#/$defs/item_config_source"},"size":{"$ref":"#/$defs/item_config_size"},"position":{"$ref":"#/$defs/item_config_position"},"repeat":{"$ref":"#/$defs/item_config_repeat"},"opacity":{"$ref":"#/$defs/item_config_opacity"}}},"item_config_18":{"type":"object","description":"Params for the \"solid\" preset: flat single-colour fill, the cheapest background preset (no procedural noise).","properties":{"color":{"$ref":"#/$defs/item_config_color_21"},"opacity":{"$ref":"#/$defs/item_config_opacity_2"}}},"item_config_19":{"type":"object","description":"Params for the \"warp-starfield\" preset: stars flying at the viewer in 3D (three.js, WebGL), stretching into streaks as speed rises above 1. Without WebGL the starfield preset is drawn with the same config.","properties":{"speed":{"$ref":"#/$defs/item_config_speed_3"},"seed":{"$ref":"#/$defs/item_config_seed"},"count":{"$ref":"#/$defs/item_config_count_2"},"min_radius":{"$ref":"#/$defs/item_config_min_radius_3"},"max_radius":{"$ref":"#/$defs/item_config_max_radius_3"},"colors":{"$ref":"#/$defs/item_config_colors_9"},"color":{"$ref":"#/$defs/item_config_color_5"},"streak":{"$ref":"#/$defs/item_config_streak"},"spectrum":{"$ref":"#/$defs/item_config_spectrum"},"spectrum_direction":{"$ref":"#/$defs/item_config_spectrum_direction"},"camera_tilt":{"$ref":"#/$defs/item_config_camera_tilt_3"},"camera_yaw":{"$ref":"#/$defs/item_config_camera_yaw_2"},"camera_roll":{"$ref":"#/$defs/item_config_camera_roll_2"},"fov":{"$ref":"#/$defs/item_config_fov_2"},"opacity":{"$ref":"#/$defs/item_config_opacity"}}},"item_config_2":{"field":"preset","schemas":{"$ref":"#/$defs/item_config_3"},"default":{"type":"object","additionalProperties":true}},"item_config_20":{"type":"object","description":"Params for the \"holo-sphere\" preset: a rotating latitude/longitude wireframe planet with a scan band (three.js where WebGL is available, the same look on Canvas2D otherwise).","properties":{"speed":{"$ref":"#/$defs/item_config_speed"},"color":{"$ref":"#/$defs/item_config_color_23"},"scan_color":{"$ref":"#/$defs/item_config_scan_color_3"},"rotate_speed":{"$ref":"#/$defs/item_config_rotate_speed"},"tilt":{"$ref":"#/$defs/item_config_tilt"},"latitude_lines":{"$ref":"#/$defs/item_config_latitude_lines"},"longitude_lines":{"$ref":"#/$defs/item_config_longitude_lines"},"size":{"$ref":"#/$defs/item_config_size_2"},"position_x":{"$ref":"#/$defs/item_config_position_x"},"position_y":{"$ref":"#/$defs/item_config_position_y"},"back_opacity":{"$ref":"#/$defs/item_config_back_opacity_2"},"line_width":{"$ref":"#/$defs/item_config_line_width_4"},"scan_period":{"$ref":"#/$defs/item_config_scan_period_2"},"opacity":{"$ref":"#/$defs/item_config_opacity"}}},"item_config_3":{"grid":{"$ref":"#/$defs/item_config_4"},"grid-diagonal":{"$ref":"#/$defs/item_config_5"},"grid-hexagonal":{"$ref":"#/$defs/item_config_6"},"starfield":{"$ref":"#/$defs/item_config_7"},"nebula":{"$ref":"#/$defs/item_config_8"},"contour-field":{"$ref":"#/$defs/item_config_9"},"cascade":{"$ref":"#/$defs/item_config_10"},"level":{"$ref":"#/$defs/item_config_11"},"fluid":{"$ref":"#/$defs/item_config_12"},"plasma":{"$ref":"#/$defs/item_config_13"},"flow":{"$ref":"#/$defs/item_config_14"},"shimmer":{"$ref":"#/$defs/item_config_15"},"scanlines":{"$ref":"#/$defs/item_config_16"},"image":{"$ref":"#/$defs/item_config_17"},"solid":{"$ref":"#/$defs/item_config_18"},"warp-starfield":{"$ref":"#/$defs/item_config_19"},"holo-sphere":{"$ref":"#/$defs/item_config_20"}},"item_config_4":{"type":"object","description":"Params for the \"grid\" preset: orthogonal scrolling grid with optional major/minor divisions.","properties":{"speed":{"$ref":"#/$defs/item_config_speed"},"line_spacing":{"$ref":"#/$defs/item_config_line_spacing"},"num_rows":{"$ref":"#/$defs/item_config_num_rows"},"num_cols":{"$ref":"#/$defs/item_config_num_cols"},"line_width":{"$ref":"#/$defs/item_config_line_width"},"line_width_minor":{"$ref":"#/$defs/item_config_line_width_minor"},"line_width_major":{"$ref":"#/$defs/item_config_line_width_major"},"color":{"$ref":"#/$defs/item_config_color"},"color_major":{"$ref":"#/$defs/item_config_color_major"},"major_row_interval":{"$ref":"#/$defs/item_config_major_row_interval"},"major_col_interval":{"$ref":"#/$defs/item_config_major_col_interval"},"scroll_speed_x":{"$ref":"#/$defs/item_config_scroll_speed_x"},"scroll_speed_y":{"$ref":"#/$defs/item_config_scroll_speed_y"},"pattern":{"$ref":"#/$defs/item_config_pattern"},"spoke_count":{"$ref":"#/$defs/item_config_spoke_count"},"polar_x":{"$ref":"#/$defs/item_config_polar_x"},"polar_y":{"$ref":"#/$defs/item_config_polar_y"},"dot_radius":{"$ref":"#/$defs/item_config_dot_radius"},"hex_radius":{"$ref":"#/$defs/item_config_hex_radius"},"show_border_lines":{"$ref":"#/$defs/item_config_show_border_lines"},"fill_color":{"$ref":"#/$defs/item_config_fill_color"},"view":{"$ref":"#/$defs/item_config_view"},"camera_tilt":{"$ref":"#/$defs/item_config_camera_tilt"},"camera_yaw":{"$ref":"#/$defs/item_config_camera_yaw"},"camera_roll":{"$ref":"#/$defs/item_config_camera_roll"},"camera_distance":{"$ref":"#/$defs/item_config_camera_distance"},"fov":{"$ref":"#/$defs/item_config_fov"},"scan_period":{"$ref":"#/$defs/item_config_scan_period"},"scan_color":{"$ref":"#/$defs/item_config_scan_color"},"surface":{"$ref":"#/$defs/item_config_surface"},"surface_size":{"$ref":"#/$defs/item_config_surface_size"},"surface_length":{"$ref":"#/$defs/item_config_surface_length"},"well_shape":{"$ref":"#/$defs/item_config_well_shape"},"well_throat":{"$ref":"#/$defs/item_config_well_throat"},"well_profile":{"$ref":"#/$defs/item_config_well_profile"},"well_profile_to":{"$ref":"#/$defs/item_config_well_profile_to"},"well_morph":{"$ref":"#/$defs/item_config_well_morph"},"well_ripple":{"$ref":"#/$defs/item_config_well_ripple"},"well_ripple_waves":{"$ref":"#/$defs/item_config_well_ripple_waves"},"well_ripple_speed":{"$ref":"#/$defs/item_config_well_ripple_speed"},"surface_axis":{"$ref":"#/$defs/item_config_surface_axis"},"surface_side":{"$ref":"#/$defs/item_config_surface_side"},"back_opacity":{"$ref":"#/$defs/item_config_back_opacity"},"surface_rotate_x":{"$ref":"#/$defs/item_config_surface_rotate_x"},"surface_rotate_y":{"$ref":"#/$defs/item_config_surface_rotate_y"},"surface_rotate_z":{"$ref":"#/$defs/item_config_surface_rotate_z"},"opacity":{"$ref":"#/$defs/item_config_opacity"}}},"item_config_5":{"type":"object","description":"Params for the \"grid-diagonal\" preset: 45° hatched variant of grid. Pattern is hardcoded to diagonal, not user-overridable.","properties":{"speed":{"$ref":"#/$defs/item_config_speed"},"line_spacing":{"$ref":"#/$defs/item_config_line_spacing_2"},"line_width":{"$ref":"#/$defs/item_config_line_width_2"},"color":{"$ref":"#/$defs/item_config_color_3"},"scroll_speed_x":{"$ref":"#/$defs/item_config_scroll_speed_x_2"},"scroll_speed_y":{"$ref":"#/$defs/item_config_scroll_speed_y_2"},"fill_color":{"$ref":"#/$defs/item_config_fill_color"},"view":{"$ref":"#/$defs/item_config_view"},"camera_tilt":{"$ref":"#/$defs/item_config_camera_tilt"},"camera_yaw":{"$ref":"#/$defs/item_config_camera_yaw"},"camera_roll":{"$ref":"#/$defs/item_config_camera_roll"},"camera_distance":{"$ref":"#/$defs/item_config_camera_distance"},"fov":{"$ref":"#/$defs/item_config_fov"},"scan_period":{"$ref":"#/$defs/item_config_scan_period"},"scan_color":{"$ref":"#/$defs/item_config_scan_color"},"surface":{"$ref":"#/$defs/item_config_surface"},"surface_size":{"$ref":"#/$defs/item_config_surface_size"},"surface_length":{"$ref":"#/$defs/item_config_surface_length"},"well_shape":{"$ref":"#/$defs/item_config_well_shape"},"well_throat":{"$ref":"#/$defs/item_config_well_throat"},"well_profile":{"$ref":"#/$defs/item_config_well_profile"},"well_profile_to":{"$ref":"#/$defs/item_config_well_profile_to"},"well_morph":{"$ref":"#/$defs/item_config_well_morph"},"well_ripple":{"$ref":"#/$defs/item_config_well_ripple"},"well_ripple_waves":{"$ref":"#/$defs/item_config_well_ripple_waves"},"well_ripple_speed":{"$ref":"#/$defs/item_config_well_ripple_speed"},"surface_axis":{"$ref":"#/$defs/item_config_surface_axis"},"surface_side":{"$ref":"#/$defs/item_config_surface_side"},"back_opacity":{"$ref":"#/$defs/item_config_back_opacity"},"surface_rotate_x":{"$ref":"#/$defs/item_config_surface_rotate_x"},"surface_rotate_y":{"$ref":"#/$defs/item_config_surface_rotate_y"},"surface_rotate_z":{"$ref":"#/$defs/item_config_surface_rotate_z"},"opacity":{"$ref":"#/$defs/item_config_opacity"}}},"item_config_6":{"type":"object","description":"Params for the \"grid-hexagonal\" preset: honeycomb hex-grid variant of grid. Pattern is hardcoded to hexagonal, not user-overridable.","properties":{"speed":{"$ref":"#/$defs/item_config_speed"},"hex_radius":{"$ref":"#/$defs/item_config_hex_radius_2"},"line_width_minor":{"$ref":"#/$defs/item_config_line_width_minor"},"line_width_major":{"$ref":"#/$defs/item_config_line_width_major_2"},"color":{"$ref":"#/$defs/item_config_color"},"color_major":{"$ref":"#/$defs/item_config_color_major_3"},"major_row_interval":{"$ref":"#/$defs/item_config_major_row_interval_2"},"major_col_interval":{"$ref":"#/$defs/item_config_major_col_interval_2"},"scroll_speed_x":{"$ref":"#/$defs/item_config_scroll_speed_x"},"scroll_speed_y":{"$ref":"#/$defs/item_config_scroll_speed_y"},"fill_color":{"$ref":"#/$defs/item_config_fill_color"},"view":{"$ref":"#/$defs/item_config_view"},"camera_tilt":{"$ref":"#/$defs/item_config_camera_tilt"},"camera_yaw":{"$ref":"#/$defs/item_config_camera_yaw"},"camera_roll":{"$ref":"#/$defs/item_config_camera_roll"},"camera_distance":{"$ref":"#/$defs/item_config_camera_distance"},"fov":{"$ref":"#/$defs/item_config_fov"},"scan_period":{"$ref":"#/$defs/item_config_scan_period"},"scan_color":{"$ref":"#/$defs/item_config_scan_color"},"surface":{"$ref":"#/$defs/item_config_surface"},"surface_size":{"$ref":"#/$defs/item_config_surface_size"},"surface_length":{"$ref":"#/$defs/item_config_surface_length"},"well_shape":{"$ref":"#/$defs/item_config_well_shape"},"well_throat":{"$ref":"#/$defs/item_config_well_throat"},"well_profile":{"$ref":"#/$defs/item_config_well_profile"},"well_profile_to":{"$ref":"#/$defs/item_config_well_profile_to"},"well_morph":{"$ref":"#/$defs/item_config_well_morph"},"well_ripple":{"$ref":"#/$defs/item_config_well_ripple"},"well_ripple_waves":{"$ref":"#/$defs/item_config_well_ripple_waves"},"well_ripple_speed":{"$ref":"#/$defs/item_config_well_ripple_speed"},"surface_axis":{"$ref":"#/$defs/item_config_surface_axis"},"surface_side":{"$ref":"#/$defs/item_config_surface_side"},"back_opacity":{"$ref":"#/$defs/item_config_back_opacity"},"surface_rotate_x":{"$ref":"#/$defs/item_config_surface_rotate_x"},"surface_rotate_y":{"$ref":"#/$defs/item_config_surface_rotate_y"},"surface_rotate_z":{"$ref":"#/$defs/item_config_surface_rotate_z"},"opacity":{"$ref":"#/$defs/item_config_opacity"}}},"item_config_7":{"type":"object","description":"Params for the \"starfield\" preset: scrolling parallax star field.","properties":{"speed":{"$ref":"#/$defs/item_config_speed"},"seed":{"$ref":"#/$defs/item_config_seed"},"count":{"$ref":"#/$defs/item_config_count"},"min_radius":{"$ref":"#/$defs/item_config_min_radius"},"max_radius":{"$ref":"#/$defs/item_config_max_radius"},"min_opacity":{"$ref":"#/$defs/item_config_min_opacity"},"max_opacity":{"$ref":"#/$defs/item_config_max_opacity"},"colors":{"$ref":"#/$defs/item_config_colors"},"color":{"$ref":"#/$defs/item_config_color_5"},"scroll_speed_x":{"$ref":"#/$defs/item_config_scroll_speed_x_3"},"scroll_speed_y":{"$ref":"#/$defs/item_config_scroll_speed_y_3"},"parallax_layers":{"$ref":"#/$defs/item_config_parallax_layers"},"depth_factor":{"$ref":"#/$defs/item_config_depth_factor"},"opacity":{"$ref":"#/$defs/item_config_opacity"}}},"item_config_8":{"type":"object","description":"Params for the \"nebula\" preset: layered Perlin-noise cloud blobs.","properties":{"speed":{"$ref":"#/$defs/item_config_speed"},"seed":{"$ref":"#/$defs/item_config_seed_2"},"cloud_count":{"$ref":"#/$defs/item_config_cloud_count"},"min_radius":{"$ref":"#/$defs/item_config_min_radius_2"},"max_radius":{"$ref":"#/$defs/item_config_max_radius_2"},"min_opacity":{"$ref":"#/$defs/item_config_min_opacity_2"},"max_opacity":{"$ref":"#/$defs/item_config_max_opacity_2"},"colors":{"$ref":"#/$defs/item_config_colors_3"},"color":{"$ref":"#/$defs/item_config_color_7"},"turbulence":{"$ref":"#/$defs/item_config_turbulence"},"noise_scale":{"$ref":"#/$defs/item_config_noise_scale"},"scroll_speed_x":{"$ref":"#/$defs/item_config_scroll_speed_x_4"},"scroll_speed_y":{"$ref":"#/$defs/item_config_scroll_speed_y_4"},"volumetric":{"$ref":"#/$defs/item_config_volumetric"},"opacity":{"$ref":"#/$defs/item_config_opacity"}}},"item_config_9":{"type":"object","description":"Params for the \"contour-field\" preset: topographic-style banded noise field. Defaults below are the REAL zero-config resolved values (verified against ContourFieldEffect.js/presets/index.js), not the sparser set previously shown in guide.params; the shipped default is a visible tinted fill with a 5-stop gradient, not transparent/single-color.","properties":{"speed":{"$ref":"#/$defs/item_config_speed"},"seed":{"$ref":"#/$defs/item_config_seed_3"},"noise_scale":{"$ref":"#/$defs/item_config_noise_scale_2"},"num_octaves":{"$ref":"#/$defs/item_config_num_octaves"},"num_bands":{"$ref":"#/$defs/item_config_num_bands"},"cell_size":{"$ref":"#/$defs/item_config_cell_size"},"fill_level":{"$ref":"#/$defs/item_config_fill_level"},"fill_color":{"$ref":"#/$defs/item_config_fill_color_3"},"blend_colors":{"$ref":"#/$defs/item_config_blend_colors"},"colors":{"$ref":"#/$defs/item_config_colors_5"},"color":{"$ref":"#/$defs/item_config_color_9"},"scroll_speed_x":{"$ref":"#/$defs/item_config_scroll_speed_x_5"},"scroll_speed_y":{"$ref":"#/$defs/item_config_scroll_speed_y_5"},"opacity":{"$ref":"#/$defs/item_config_opacity"}}},"item_config_angle":{"oneOf":[{"type":"number","minimum":0,"maximum":360,"default":30,"description":"Sweep angle in degrees. Unbounded in code (raw sin/cos of the angle) but periodic, so 0-360 is the sensible UI range."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_back_opacity":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":0.25,"description":"Opacity of the far side of a curved surface seen from outside (0 hides it). WebGL only. Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_back_opacity_2":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":0.2,"description":"Brightness of the far side: 0 hides it, 1 draws it like the front. Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_base_frequency":{"oneOf":[{"type":"number","minimum":0.0001,"default":0.01,"description":"Noise detail: lower = larger features."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_base_frequency_2":{"oneOf":[{"type":"number","minimum":0.0001,"default":0.012,"description":"Noise detail: lower = larger features."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_blend_colors":{"oneOf":[{"type":"boolean","default":true,"description":"On = colors fade smoothly between rings; off = hard-cutoff flat rings."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_camera_distance":{"oneOf":[{"type":"number","minimum":0.05,"default":1,"description":"Zoom: at 1, line_spacing is true px at the middle of the card; 2 is twice as far (the grid looks half the size). WebGL only. Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_camera_roll":{"oneOf":[{"type":"number","default":0,"description":"Turns the camera round its line of sight, in degrees (positive: the picture turns clockwise), after camera_tilt and camera_yaw: with them the camera can look from any direction. WebGL only. Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_camera_roll_2":{"oneOf":[{"type":"number","default":0,"description":"Banks the view round its line of sight, in degrees (positive: clockwise), as when a ship rolls at warp. Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_camera_tilt":{"oneOf":[{"$ref":"#/$defs/item_config_camera_tilt_2"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_camera_tilt_2":{"type":"number","minimum":0,"maximum":90,"description":"How far the camera looks down, in degrees: 90 is straight down (the flat view), low values look along a floor toward the horizon. Default 90 in flat view, 10 in floor view. On a curved surface: the height above its equator seen from outside (default 15, 35 on a well), the pitch above horizontal from inside (default 0); the plane takes at least 1. WebGL only. Animatable: animate from 90 to 10 to tip a flat grid into a floor."},"item_config_camera_tilt_3":{"oneOf":[{"type":"number","minimum":-40,"maximum":40,"default":0,"description":"Looks down (positive) or up from the direction of travel, in degrees: the stars stream from a point higher or lower on the card. Same meaning as the grid camera_tilt (degrees below straight ahead). Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_camera_yaw":{"oneOf":[{"type":"number","default":0,"description":"Turns the camera around the grid, in degrees. WebGL only. Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_camera_yaw_2":{"oneOf":[{"type":"number","minimum":-40,"maximum":40,"default":0,"description":"Looks right (positive) or left of the direction of travel, in degrees, as when a ship turns at warp. Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_cell_size":{"oneOf":[{"type":"integer","minimum":1,"maximum":16,"default":1,"description":"Sample resolution: larger is blockier/cheaper, smaller is crisper/costlier. Clamped in code to 1-16."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_cloud_count":{"oneOf":[{"type":"integer","minimum":1,"maximum":10,"default":4,"description":"Number of cloud blobs. Clamped in code to 1-10."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_color":{"oneOf":[{"$ref":"#/$defs/item_config_color_2"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_color_10":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"One color for every contour band, in place of colors (colors wins when both are set)."},"item_config_color_11":{"oneOf":[{"$ref":"#/$defs/item_config_color_12"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_color_12":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Fill color: the older name for color_a (color_a wins when both are set)."},"item_config_color_13":{"oneOf":[{"$ref":"#/$defs/item_config_color_14"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_color_14":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Wash color.","default":"rgba(100,180,255,0.8)"},"item_config_color_15":{"oneOf":[{"$ref":"#/$defs/item_config_color_16"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_color_16":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Streak color.","default":"rgba(0,200,255,0.7)"},"item_config_color_17":{"oneOf":[{"$ref":"#/$defs/item_config_color_18"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_color_18":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Highlight color.","default":"rgba(255,255,255,0.55)"},"item_config_color_19":{"oneOf":[{"$ref":"#/$defs/item_config_color_20"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_color_2":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Minor line color.","default":"rgba(255, 153, 102, 0.3)"},"item_config_color_20":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Scanline color.","default":"rgba(0,0,0,0.25)"},"item_config_color_21":{"oneOf":[{"$ref":"#/$defs/item_config_color_22"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_color_22":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Fill color: the alpha channel controls how much shows through base_svg.","default":"rgba(0, 0, 0, 0.4)"},"item_config_color_23":{"oneOf":[{"$ref":"#/$defs/item_config_color_24"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_color_24":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Wireframe color. The default follows the alert palette. Animatable.","default":"var(--lcards-blue-light)"},"item_config_color_3":{"oneOf":[{"$ref":"#/$defs/item_config_color_4"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_color_4":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Line color.","default":"rgba(255, 153, 102, 0.25)"},"item_config_color_5":{"oneOf":[{"$ref":"#/$defs/item_config_color_6"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_color_6":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"One color for every star, in place of colors. This is the key to animate (target: background) or bind to recolor the stars."},"item_config_color_7":{"oneOf":[{"$ref":"#/$defs/item_config_color_8"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_color_8":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"One color for every cloud, in place of colors (colors wins when both are set)."},"item_config_color_9":{"oneOf":[{"$ref":"#/$defs/item_config_color_10"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_color_a":{"oneOf":[{"$ref":"#/$defs/item_config_color_a_2"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_color_a_2":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Primary fill color (or gradient start).","default":"rgba(0,200,100,0.7)"},"item_config_color_a_3":{"oneOf":[{"$ref":"#/$defs/item_config_color_a_4"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_color_a_4":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"First plasma color.","default":"rgba(80,0,255,0.9)"},"item_config_color_b":{"oneOf":[{"$ref":"#/$defs/item_config_color_b_2"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_color_b_2":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Gradient end color: omit for a flat fill."},"item_config_color_b_3":{"oneOf":[{"$ref":"#/$defs/item_config_color_b_4"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_color_b_4":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Second plasma color.","default":"rgba(255,40,120,0.9)"},"item_config_color_major":{"oneOf":[{"$ref":"#/$defs/item_config_color_major_2"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_color_major_2":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Major line color: falls back to color if unset."},"item_config_color_major_3":{"oneOf":[{"$ref":"#/$defs/item_config_color_major_4"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_color_major_4":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Major line color.","default":"rgba(255, 153, 102, 0.6)"},"item_config_colors":{"oneOf":[{"$ref":"#/$defs/item_config_colors_2"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_colors_10":{"type":"array","items":{"$ref":"#/$defs/item_config_colors_item"},"default":["var(--lcards-moonlight)"],"description":"Star color(s); each star takes one of them. The default (moonlight) follows the alert palette."},"item_config_colors_2":{"type":"array","items":{"$ref":"#/$defs/item_config_colors_item"},"default":["#ffffff"],"description":"Star color(s); also accepts a single color via the legacy `color` field."},"item_config_colors_3":{"oneOf":[{"$ref":"#/$defs/item_config_colors_4"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_colors_4":{"type":"array","items":{"$ref":"#/$defs/item_config_colors_item"},"default":["#FF00FF"],"description":"Cloud color(s); also accepts a single color via the legacy `color` field."},"item_config_colors_5":{"oneOf":[{"$ref":"#/$defs/item_config_colors_6"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_colors_6":{"type":"array","items":{"$ref":"#/$defs/item_config_colors_item"},"default":["alpha(#130b81, 0.08)","alpha(#130b81, 0.25)","alpha(#130b81, 0.42)","alpha(#130b81, 0.62)","alpha(#130b81, 0.80)"],"description":"One color, or several stops spread across the full contour range. Default shown here is the exact shipped default (5 alpha-graded stops of the same base hue)."},"item_config_colors_7":{"oneOf":[{"$ref":"#/$defs/item_config_colors_8"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_colors_8":{"type":"object","description":"The three-stop color cycle. Real runtime shape is a genuinely nested object (config.colors.start/text/end), not flattened keys.","properties":{"start":{"$ref":"#/$defs/item_config_colors_start"},"text":{"$ref":"#/$defs/item_config_colors_text"},"end":{"$ref":"#/$defs/item_config_colors_end"}},"additionalProperties":false},"item_config_colors_9":{"oneOf":[{"$ref":"#/$defs/item_config_colors_10"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_colors_end":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Color a cell ends at. Concrete equivalent of var(--lcards-moonlight, #dfe1e8).","default":"#dfe1e8"},"item_config_colors_item":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Colour value (hex, rgb, theme token, CSS variable, or a computed alpha()/lighten()/darken() expression)."},"item_config_colors_start":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Color a cell starts at. Shown here as the concrete hex equivalent of the real fallback (var(--lcards-blue-light, #93e1ff)).","default":"#93e1ff"},"item_config_colors_text":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Color a cell settles at mid-cycle. Concrete equivalent of var(--lcards-blue-darkest, #002241).","default":"#002241"},"item_config_count":{"oneOf":[{"type":"integer","minimum":0,"default":150,"description":"Number of stars."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_count_2":{"oneOf":[{"type":"integer","minimum":1,"maximum":20000,"default":600,"description":"Number of stars."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_depth_factor":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":0.5,"description":"Speed variation between layers. Clamped in code to 0-1."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_direction":{"oneOf":[{"type":"string","enum":["up","down","left","right"],"default":"up","description":"Fill direction: all 4 values render correctly ('down'/'left' are implemented as a Canvas2D mirror of the 'up'/'right' geometry)."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_direction_2":{"oneOf":[{"type":"string","enum":["horizontal","vertical"],"default":"horizontal","description":"Both values confirmed correctly implemented in code."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_dot_radius":{"oneOf":[{"type":"number","minimum":0,"default":2,"description":"Dot radius in px: only used when pattern is \"dots\"."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_duration":{"oneOf":[{"type":"integer","minimum":1,"description":"Explicit cycle duration override in ms."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_edge_glow":{"oneOf":[{"type":"boolean","default":true,"description":"Whether to draw a glow along the fill edge."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_edge_glow_color":{"oneOf":[{"$ref":"#/$defs/item_config_edge_glow_color_2"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_edge_glow_color_2":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Edge glow color.","default":"rgba(255,255,255,0.7)"},"item_config_edge_glow_width":{"oneOf":[{"type":"number","minimum":0,"default":6,"description":"Edge glow width in px."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_fill_color":{"oneOf":[{"$ref":"#/$defs/item_config_fill_color_2"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_fill_color_2":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Solid fill painted behind each cell.","default":"transparent"},"item_config_fill_color_3":{"oneOf":[{"$ref":"#/$defs/item_config_fill_color_4"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_fill_color_4":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Color painted over flooded rings. Real zero-config default resolves to this (the var()-token fallback's literal hex/alpha equivalent); leave unset only if you actually want it, \"leave empty for transparency\" in older docs was misleading since fill_level defaults to a non-zero 0.45.","default":"rgba(19, 11, 129, 0.3)"},"item_config_fill_level":{"oneOf":[{"type":"number","minimum":0,"maximum":0.95,"default":0.45,"description":"0 = no water, full terrain visible; raise it to flood the lowest rings. Clamped in code to 0-0.95."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_fill_pct":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"default":50,"description":"Fill level, 0-100. Clamped in code."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_font_family":{"oneOf":[{"type":"string","description":"Character font. Default: the theme's cascade font (Antonio)."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_font_size":{"oneOf":[{"type":"number","minimum":1,"default":10,"description":"Character font size in px. Unclamped: 0 combined with gap:0 throws a RangeError, hence the minimum."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_format":{"oneOf":[{"type":"string","enum":["digit","float","alpha","hex","mixed"],"default":"hex","description":"Character set. Confirmed real enum from code; guide.params only vaguely said \"hex digits\" without enumerating the other 4."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_fov":{"oneOf":[{"type":"number","minimum":5,"maximum":150,"default":60,"description":"Camera field of view in degrees: wider exaggerates the floor perspective (the flat view looks the same at any value). WebGL only. Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_fov_2":{"oneOf":[{"type":"number","minimum":20,"maximum":120,"default":70,"description":"Camera field of view in degrees: wider makes a deeper tunnel of streaks (star sizes stay in px). Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_gap":{"oneOf":[{"type":"number","minimum":0,"default":4,"description":"Spacing between cells in px."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_gradient_crossover":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"default":80,"description":"Percent of fill height where the gradient crosses over. Clamped in code to 0-100."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_hex_radius":{"oneOf":[{"type":"number","minimum":1,"default":40,"description":"Hexagon size in px: only used when pattern is \"hexagonal\". Unclamped in code: 0 collapses the hex tiling, hence the minimum."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_hex_radius_2":{"oneOf":[{"type":"number","minimum":1,"default":40,"description":"Hexagon size in px. Unclamped in code: 0 hangs the tile loop (patternWidth=0), hence the minimum."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_highlight_width":{"oneOf":[{"type":"number","minimum":0,"default":0.35,"description":"Band width as a fraction of canvas size."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_latitude_lines":{"oneOf":[{"type":"integer","minimum":0,"maximum":64,"default":7,"description":"Rings between the poles."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_line_spacing":{"oneOf":[{"type":"number","minimum":1,"default":40,"description":"Pixel spacing between minor lines. Confirmed unclamped in code: 0 or unset-with-falsy hangs the tile loop (Infinity tiles), hence the minimum."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_line_spacing_2":{"oneOf":[{"type":"number","minimum":1,"default":30,"description":"Pixel spacing between lines. Unclamped in code: 0 hangs the tile loop, hence the minimum."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_line_spacing_3":{"oneOf":[{"type":"number","minimum":1,"default":4,"description":"Pixel spacing between lines."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_line_width":{"oneOf":[{"type":"number","minimum":0,"default":1,"description":"Line thickness in px (the minor lines; the same as line_width_minor, which wins when both are set). Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_line_width_2":{"oneOf":[{"type":"number","minimum":0,"default":1,"description":"Line thickness in px."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_line_width_3":{"oneOf":[{"type":"number","minimum":0,"default":1.5,"description":"Line thickness in px."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_line_width_4":{"oneOf":[{"type":"number","minimum":0.1,"default":1,"description":"Wireframe line width in px (the scan band draws 1.5 times as wide). Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_line_width_major":{"oneOf":[{"type":"number","minimum":0,"default":2,"description":"Major (emphasised) line thickness in px."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_line_width_major_2":{"oneOf":[{"type":"number","minimum":0,"default":2,"description":"Major line thickness in px."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_line_width_minor":{"oneOf":[{"type":"number","minimum":0,"default":1,"description":"Minor line thickness in px."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_longitude_lines":{"oneOf":[{"type":"integer","minimum":0,"maximum":128,"default":12,"description":"Meridians around the sphere."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_major_col_interval":{"oneOf":[{"type":"integer","minimum":0,"default":0,"description":"Draw a major line every N columns (0 = disabled)."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_major_col_interval_2":{"oneOf":[{"type":"integer","minimum":0,"default":3,"description":"Draw a major line every N columns."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_major_row_interval":{"oneOf":[{"type":"integer","minimum":0,"default":0,"description":"Draw a major line every N rows (0 = disabled)."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_major_row_interval_2":{"oneOf":[{"type":"integer","minimum":0,"default":3,"description":"Draw a major line every N rows."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_max_opacity":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":1,"description":"Brightest star opacity."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_max_opacity_2":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":0.8,"description":"Brightest cloud opacity."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_max_radius":{"oneOf":[{"type":"number","minimum":0,"default":2,"description":"Largest star radius in px."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_max_radius_2":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":0.4,"description":"Largest cloud radius, as a fraction of canvas size. Clamped in code to 0-1."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_max_radius_3":{"oneOf":[{"type":"number","minimum":0,"default":2,"description":"Largest star size (about px at mid depth)."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_min_opacity":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":0.3,"description":"Dimmest star opacity."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_min_opacity_2":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":0.3,"description":"Dimmest cloud opacity."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_min_radius":{"oneOf":[{"type":"number","minimum":0,"default":0.5,"description":"Smallest star radius in px."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_min_radius_2":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":0.15,"description":"Smallest cloud radius, as a fraction of canvas size. Clamped in code to 0-1."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_min_radius_3":{"oneOf":[{"type":"number","minimum":0,"default":0.5,"description":"Smallest star size (about px at mid depth)."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_noise_scale":{"oneOf":[{"type":"number","minimum":0.0001,"default":0.003,"description":"Noise detail: lower = larger, smoother features."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_noise_scale_2":{"oneOf":[{"type":"number","minimum":0.0001,"default":0.005,"description":"Smaller = a few large drifting blobs; larger = many small, busy ripples."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_num_bands":{"oneOf":[{"type":"integer","minimum":2,"maximum":64,"default":5,"description":"Low = bold stepped contour rings; high = a smooth, near-continuous gradient. Clamped in code to 2-64; this floor is load-bearing (num_bands=1 divides by zero internally)."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_num_cols":{"oneOf":[{"type":"integer","minimum":1,"maximum":100,"description":"Cell-based sizing alternative to line_spacing: exact column count."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_num_cols_2":{"oneOf":[{"type":"integer","minimum":1,"description":"Explicit column count. Unclamped in code: 0 or negative throws a RangeError, hence the minimum."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_num_octaves":{"oneOf":[{"type":"integer","minimum":1,"maximum":8,"default":2,"description":"Layers of fine detail: 1 = smooth blobs, 8 = rough, cloud-like fuzz. Clamped in code to 1-8."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_num_octaves_2":{"oneOf":[{"type":"integer","minimum":1,"maximum":8,"default":4,"description":"Layers of noise detail: perf cost scales with this, practical max ~8."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_num_rows":{"oneOf":[{"type":"integer","minimum":1,"maximum":100,"description":"Cell-based sizing alternative to line_spacing: exact row count."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_num_rows_2":{"oneOf":[{"type":"integer","minimum":1,"description":"Explicit row count. Unclamped in code: 0 or negative throws a RangeError, hence the minimum."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_opacity":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":1,"description":"Overall effect opacity."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_opacity_2":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":1,"description":"Multiplies with any alpha already present in color."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_parallax_layers":{"oneOf":[{"type":"integer","minimum":1,"maximum":5,"default":3,"description":"Number of depth layers: more layers = more depth. Clamped in code to 1-5."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_pattern":{"oneOf":[{"$ref":"#/$defs/item_config_pattern_2"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_pattern_2":{"type":"string","enum":["both","horizontal","vertical","diagonal","hexagonal","dots","polar"],"default":"both","description":"Grid line pattern. polar: rings every line_spacing px round a centre (polar_x, polar_y) and spoke_count spokes, majors every major_row_interval rings and major_col_interval spokes; scroll_speed_y moves the rings outward, scroll_speed_x turns the spokes (line_spacing px per spoke), and it holds still unless they are set. On a curved surface polar draws rings along the axis and spoke_count meridians round it.","enumDescriptions":{"both":"Rows and columns","horizontal":"Rows","vertical":"Columns","diagonal":"Diagonal hatching","hexagonal":"Hexagons","dots":"Dots","polar":"Rings and spokes"}},"item_config_pattern_3":{"oneOf":[{"$ref":"#/$defs/item_config_pattern_4"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_pattern_4":{"type":"string","enum":["default","niagara","fast","custom"],"default":"default","description":"\"default\" = authentic LCARS rhythm, \"niagara\" = uniform waterfall, \"fast\", or \"custom\" (requires a hand-authored `timing` array, YAML only). Unrecognized values silently fall back to \"default\"."},"item_config_polar_x":{"oneOf":[{"type":"number","default":0.5,"description":"Centre of the polar pattern across the card: 0 the left edge, 1 the right (values outside move it off the card). Not used on curved surfaces. Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_polar_y":{"oneOf":[{"type":"number","default":0.5,"description":"Centre of the polar pattern down the card: 0 the top edge, 1 the bottom. Not used on curved surfaces. Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_position":{"oneOf":[{"type":"string","default":"center","description":"CSS background-position string. Not enum-validated in code: free-form."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_position_x":{"oneOf":[{"type":"number","default":0.5,"description":"Centre across the card: 0 is the left edge, 1 the right. Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_position_y":{"oneOf":[{"type":"number","default":0.5,"description":"Centre down the card: 0 is the top edge, 1 the bottom. Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_refresh_interval":{"oneOf":[{"type":"integer","minimum":0,"default":0,"description":"How often cells re-randomize, in ms (0 = never: the characters stay put)."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_repeat":{"oneOf":[{"type":"boolean","default":false,"description":"Tile the image instead of scaling it."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_rotate_speed":{"oneOf":[{"type":"number","default":1,"description":"Revolutions per minute; negative turns the other way. Animatable (a change never jumps the rotation)."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_scan_color":{"oneOf":[{"$ref":"#/$defs/item_config_scan_color_2"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_scan_color_2":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Scan line color. The default follows the alert palette. WebGL only. Animatable.","default":"var(--lcards-moonlight)"},"item_config_scan_color_3":{"oneOf":[{"$ref":"#/$defs/item_config_scan_color_4"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_scan_color_4":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Scan band color. The default follows the alert palette. Animatable.","default":"var(--lcards-moonlight)"},"item_config_scan_period":{"oneOf":[{"type":"number","minimum":0,"description":"Seconds per scan line sweep, from the far side of the grid to the near side, including a short rest; 0 turns it off. Default 0 in flat view, 7 in floor view. WebGL only."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_scan_period_2":{"oneOf":[{"type":"number","minimum":0,"default":6,"description":"Seconds per scan sweep, including a short rest; 0 turns the band off."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_scroll_speed_x":{"oneOf":[{"type":"number","default":20,"description":"Horizontal scroll speed in px/s."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_scroll_speed_x_2":{"oneOf":[{"type":"number","default":15,"description":"Horizontal scroll speed in px/s."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_scroll_speed_x_3":{"oneOf":[{"type":"number","default":30,"description":"Horizontal scroll speed in px/s."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_scroll_speed_x_4":{"oneOf":[{"type":"number","default":5,"description":"Horizontal scroll speed in px/s."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_scroll_speed_x_5":{"oneOf":[{"type":"number","default":-3,"description":"Horizontal scroll speed in px/s."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_scroll_speed_x_6":{"oneOf":[{"type":"number","default":7,"description":"Horizontal drift speed."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_scroll_speed_x_7":{"oneOf":[{"type":"number","default":8,"description":"Horizontal drift speed."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_scroll_speed_x_8":{"oneOf":[{"type":"number","default":50,"description":"Horizontal stream speed."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_scroll_speed_x_9":{"oneOf":[{"type":"number","default":0,"description":"Horizontal scroll speed in px/s."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_scroll_speed_y":{"oneOf":[{"type":"number","default":20,"description":"Vertical scroll speed in px/s."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_scroll_speed_y_2":{"oneOf":[{"type":"number","default":15,"description":"Vertical scroll speed in px/s."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_scroll_speed_y_3":{"oneOf":[{"type":"number","default":0,"description":"Vertical scroll speed in px/s."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_scroll_speed_y_4":{"oneOf":[{"type":"number","default":5,"description":"Vertical scroll speed in px/s."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_scroll_speed_y_5":{"oneOf":[{"type":"number","default":0.45,"description":"Vertical scroll speed in px/s."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_scroll_speed_y_6":{"oneOf":[{"type":"number","default":10,"description":"Vertical drift speed."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_scroll_speed_y_7":{"oneOf":[{"type":"number","default":5,"description":"Vertical drift speed."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_scroll_speed_y_8":{"oneOf":[{"type":"number","default":0,"description":"Vertical stream speed."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_seed":{"oneOf":[{"type":"integer","description":"Random seed: same seed always generates the same star layout. Random by default when unset."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_seed_2":{"oneOf":[{"type":"integer","description":"Random seed: same seed always generates the same cloud layout. Random by default when unset."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_seed_3":{"oneOf":[{"type":"integer","description":"Random seed: same seed + settings always generates the same field. Random by default when unset."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_show_border_lines":{"oneOf":[{"type":"boolean","default":true,"description":"Draw lines at canvas edges."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_size":{"oneOf":[{"oneOf":[{"type":"string","enum":["cover","contain","fill"]},{"type":"string","pattern":"^\\d+px$"}],"default":"cover","description":"\"cover\"/\"contain\"/\"fill\", or an explicit \"<n>px\" size for the shorter axis. Any other string silently falls back to \"cover\"."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_size_2":{"oneOf":[{"type":"number","minimum":0,"default":0.8,"description":"Diameter as a fraction of the card's shorter side (above 1 overflows the card). Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_slosh_amount":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":0,"description":"Sloshing displacement amount (0 = disabled). Clamped in code to 0-1."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_slosh_period":{"oneOf":[{"type":"number","minimum":0.5,"default":3,"description":"Sloshing cycle period in seconds. Code enforces an effective 0.5 floor (Math.max(0.5, ...))."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_source":{"oneOf":[{"type":"string","default":"","description":"/local/ path, https:// URL, builtin:<key> reference, media-source://… content ID, or a template string (e.g. entity_picture)."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_spectrum":{"oneOf":[{"$ref":"#/$defs/item_config_spectrum_2"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_spectrum_2":{"type":"boolean","default":false,"description":"Streaks split into colour along their length (the TNG warp look): a Doppler shift of each star's own colour, violet toward the tail (nearer the direction of travel) and red toward the head. White stars show the whole rainbow; a blue star streaks green to violet, its tail fading past violet. Fades in as the dots stretch; dots keep their colour."},"item_config_spectrum_direction":{"oneOf":[{"type":"string","enum":["doppler","reverse"],"default":"doppler","description":"doppler: violet toward the tail, as a real Doppler shift. reverse: violet toward the head."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_speed":{"oneOf":[{"type":"number","minimum":0,"default":1,"description":"Time multiplier for the whole effect: 2 runs it twice as fast, 0 freezes it. A zoom wrapper cycles faster too. Animatable (target: background)."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_speed_2":{"oneOf":[{"type":"number","default":6,"description":"Sweep speed, px per second along the diagonal."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_speed_3":{"oneOf":[{"type":"number","minimum":0,"default":1,"description":"Time multiplier: how fast the stars fly. Above 1 they stretch into streaks (warp). Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_speed_multiplier":{"oneOf":[{"type":"number","minimum":0.1,"default":1,"description":"Overall cycling speed multiplier. Unclamped in code: 0 makes the cycle duration Infinity (frozen), hence the practical floor."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_spoke_count":{"oneOf":[{"type":"integer","minimum":0,"maximum":360,"default":12,"description":"Spokes round the centre when pattern is polar (meridians on a curved surface); 0 draws rings only. Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_streak":{"oneOf":[{"type":"number","minimum":0,"default":1,"description":"How long the streaks grow per unit of speed above 1. 0 keeps the stars as dots at any speed. Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_surface":{"oneOf":[{"$ref":"#/$defs/item_config_surface_2"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_surface_2":{"type":"string","enum":["plane","cylinder","dome","sphere","well"],"default":"plane","description":"What the grid is drawn on. plane: the flat grid or floor (view). cylinder, dome (a half sphere), sphere and well (a funnel of any profile: well_shape, well_profile): a wireframe surface for astrometrics displays, spun by the scroll speed that runs round it. On a dome or sphere the diagonal and hexagonal patterns draw rows and columns. Tile seams (show_border_lines) belong to the plane. Drawn with WebGL; without it (or with renderer: canvas) the flat grid is drawn.","enumDescriptions":{"plane":"Flat grid or floor","cylinder":"Cylinder wireframe","dome":"Half sphere","sphere":"Full sphere","well":"Funnel (gravity well)"}},"item_config_surface_axis":{"oneOf":[{"$ref":"#/$defs/item_config_surface_axis_2"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_surface_axis_2":{"type":"string","enum":["vertical","horizontal"],"default":"vertical","description":"Which way a cylinder, dome or well points. vertical: an upright cylinder, a dome over the floor, a well opening upward. horizontal: a cylinder lying across the card (scroll_speed_y rolls it), a dome facing you with its pole in the middle (rings and spokes), a well opening toward you. The sphere always has its poles up; turn it with the camera. WebGL only.","enumDescriptions":{"vertical":"Upright cylinder, dome over the floor, well opening up","horizontal":"Cylinder across the card, dome or well facing you"}},"item_config_surface_length":{"oneOf":[{"$ref":"#/$defs/item_config_surface_length_2"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_surface_length_2":{"type":"number","minimum":0,"default":1,"description":"Length of a cylinder along its axis, or the depth of a well (rim to throat), as a fraction of the card's size that way (height when vertical, width when horizontal); 0 runs a cylinder off the card and into the distance (a well keeps at least 0.1). WebGL only. Animatable."},"item_config_surface_rotate_x":{"oneOf":[{"$ref":"#/$defs/item_config_surface_rotate_x_2"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_surface_rotate_x_2":{"type":"number","default":0,"description":"Turns a curved surface itself about the card's horizontal axis, in degrees: positive tips its top toward you. With surface_rotate_y and surface_rotate_z (applied x, then y, then z) it can face any way, and the camera keys still orbit it. Not used on the plane (turn the camera instead). WebGL only. Animatable."},"item_config_surface_rotate_y":{"oneOf":[{"type":"number","default":0,"description":"Turns a curved surface itself about the card's vertical axis, in degrees: positive turns its front to the right. WebGL only. Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_surface_rotate_z":{"oneOf":[{"type":"number","default":0,"description":"Turns a curved surface itself about the axis toward you, in degrees: positive leans its top to the left (counter-clockwise). WebGL only. Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_surface_side":{"oneOf":[{"$ref":"#/$defs/item_config_surface_side_2"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_surface_side_2":{"type":"string","enum":["outside","inside"],"default":"outside","description":"Where the camera is. outside: it looks at the surface from camera_distance. inside: it sits at the centre (slid back by camera_distance above 1) and looks out: down a horizontal cylinder as a tunnel at camera_yaw 0, up into a dome as a planetarium with camera_tilt. A well is always seen from outside. WebGL only.","enumDescriptions":{"outside":"Look at the surface","inside":"Look out from its centre"}},"item_config_surface_size":{"oneOf":[{"type":"number","minimum":0.05,"maximum":4,"default":0.8,"description":"Diameter of a curved surface, as a fraction of the card's shorter side. line_spacing is true px at the front of the surface. WebGL only. Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_tilt":{"oneOf":[{"type":"number","minimum":-90,"maximum":90,"default":20,"description":"Axis tilt in degrees: positive leans the north pole toward the viewer. Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_timing":{"oneOf":[{"$ref":"#/$defs/item_config_timing_2"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_timing_2":{"type":"array","description":"With pattern: custom, the timing of each row in turn (repeating): duration in ms, delay in seconds.","items":{"type":"object","properties":{"duration":{"type":"number","minimum":1,"description":"One cycle of the row, ms (at least 100)."},"delay":{"type":"number","minimum":0,"description":"How far into its cycle the row starts, seconds."}},"additionalProperties":false}},"item_config_turbulence":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":0.5,"description":"How ragged/organic the cloud edges are. Clamped in code to 0-1."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_view":{"oneOf":[{"$ref":"#/$defs/item_config_view_2"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_view_2":{"type":"string","enum":["flat","floor"],"default":"flat","description":"flat: the grid face-on. floor: a perspective floor streaming toward the viewer, fading to a horizon. Drawn with WebGL; without it (or with renderer: canvas) the flat grid is drawn.","enumDescriptions":{"flat":"Face-on grid","floor":"Perspective floor to a horizon"}},"item_config_volumetric":{"oneOf":[{"type":"boolean","default":false,"description":"On: the same clouds shaded with drifting noise on the GPU (wisps and a turbulent edge) instead of smooth gradients. Needs WebGL; without it, or with renderer: canvas, the plain clouds are drawn."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_wave2_count":{"oneOf":[{"type":"integer","minimum":1,"default":5,"description":"Secondary wave count. Same integer-only reasoning as wave_count."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_wave2_height":{"oneOf":[{"type":"number","minimum":0,"default":0,"description":"Secondary wave amplitude in px (0 = disabled)."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_wave2_speed":{"oneOf":[{"type":"number","default":-15,"description":"Secondary wave speed."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_wave_count":{"oneOf":[{"type":"integer","minimum":1,"default":4,"description":"Primary wave count across the width. Not rounded in code if fractional; a non-integer produces a visible seam at the wrap edge, hence typed integer here."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_wave_height":{"oneOf":[{"type":"number","minimum":0,"default":4,"description":"Primary wave amplitude in px."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_wave_scale":{"oneOf":[{"type":"number","minimum":0,"default":8,"description":"Streak waviness."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_wave_speed":{"oneOf":[{"type":"number","default":20,"description":"Primary wave speed."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_well_morph":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"default":0,"description":"How far the well has morphed from its shape (0) to well_profile_to (1). WebGL only. Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_well_profile":{"oneOf":[{"$ref":"#/$defs/item_config_well_profile_2"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_well_profile_2":{"type":"array","items":{"type":"number","minimum":0},"minItems":2,"maxItems":32,"description":"Any well shape: diameters as fractions of surface_size, from the rim down to the bottom, evenly spaced along the depth; a smooth curve passes through every one. [1, 0.4, 0.2, 0.15] is a trumpet, [1, 0.2, 1] an hourglass (a wormhole), [1, 0.9, 0.5, 0] a closed bowl. Replaces well_shape and well_throat. The rings are evenly spaced along the surface (line_spacing px apart), however steep it is. WebGL only."},"item_config_well_profile_to":{"oneOf":[{"type":"array","items":{"type":"number","minimum":0},"minItems":2,"maxItems":32,"description":"A second well profile (the same form as well_profile) to morph toward: well_morph blends from the well's shape (0) to this one (1). Animate well_morph to morph the funnel. WebGL only."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_well_ripple":{"oneOf":[{"type":"number","minimum":0,"maximum":0.9,"default":0,"description":"Ripples running down the well: their height as a fraction of the local radius (0 = none, 0.1 a gentle swell). The grid rings stay where they are and the waves pass through them. WebGL only. Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_well_ripple_speed":{"oneOf":[{"type":"number","default":0.5,"description":"Ripple speed in waves per second: positive runs down toward the throat, negative up toward the rim, 0 holds them still. WebGL only. Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_well_ripple_waves":{"oneOf":[{"type":"number","minimum":0,"maximum":12,"default":3,"description":"Ripple wavelengths along the depth of the well. WebGL only. Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_well_shape":{"oneOf":[{"$ref":"#/$defs/item_config_well_shape_2"},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_config_well_shape_2":{"type":"string","enum":["trumpet","cone","bowl","wormhole"],"default":"trumpet","description":"Profile of a well from its rim down to its throat. trumpet: the gravity well, nearly flat at the rim and plunging to the throat. cone: straight sides. bowl: rounded toward the bottom. wormhole: two trumpets throat to throat (an hourglass, the throat halfway down). well_profile replaces it. WebGL only.","enumDescriptions":{"trumpet":"Gravity well: flat rim, plunging throat","cone":"Straight sides","bowl":"Rounded bottom","wormhole":"Hourglass: two trumpets throat to throat"}},"item_config_well_throat":{"oneOf":[{"type":"number","minimum":0.02,"maximum":1,"default":0.15,"description":"Throat diameter of a well_shape, as a fraction of its rim (surface_size): small for a deep, narrow throat, 1 for a cylinder. Not used with well_profile. WebGL only. Animatable."},{"type":"string","pattern":"\\[\\[\\[[\\s\\S]*\\]\\]\\]|\\{[a-zA-Z_][\\w.:-]*\\}","description":"Template string ([[[ JavaScript ]]] or a {token}), evaluated on every Home Assistant update."},{"type":"object","properties":{"template":{"type":"string","required":true},"default":{"type":["number","string","boolean"]}},"additionalProperties":false},{"type":"object","properties":{"map_range":{"type":"object","additionalProperties":true,"required":true}},"additionalProperties":false}]},"item_renderer":{"type":"string","enum":["auto","webgl","canvas"],"default":"auto","description":"How a preset with a WebGL version is drawn (warp-starfield, grid, holo-sphere, the noise presets and the other three.js presets). auto: WebGL when the browser has it, otherwise the Canvas2D version. webgl: the same, stated explicitly; without WebGL it still draws the Canvas2D version, so the background never goes blank. canvas: always the Canvas2D version (no GPU use). Ignored by presets that are Canvas2D only.","enumDescriptions":{"auto":"WebGL when available, Canvas2D otherwise","webgl":"Prefer WebGL (falls back to Canvas2D without it)","canvas":"Always Canvas2D"}},"item_zoom":{"type":"object","description":"Optional zoom wrapper: creates layered depth effect","properties":{"layers":{"type":"number","minimum":1,"default":4,"description":"Copies of the effect zooming at once, evenly staggered through the cycle."},"scale_from":{"type":"number","default":0.5,"description":"Scale a layer starts at (1 = the effect at its normal size)."},"scale_to":{"type":"number","default":2,"description":"Scale a layer reaches before it fades out."},"duration":{"type":"number","default":15,"description":"Seconds for one layer to zoom from scale_from to scale_to."},"opacity_fade_in":{"type":"number","default":15,"description":"Percent of the cycle over which a layer fades in (0 to 100)."},"opacity_fade_out":{"type":"number","default":75,"description":"Percent of the cycle at which a layer starts to fade out (0 to 100)."}}},"lat_step":{"description":"Latitude lines every N degrees, when different from line_spacing_deg.","anyOf":[{"type":"number","minimum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"length":{"description":"How far back the trail reaches, seconds of the point's motion.","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":10},"light":{"description":"Where the light comes from (its star): a point id, or [x, y, z] in the frame it is in. The side facing it is lit, the far side dark. Default the origin of its frame (a system's star; the scene's origin outside systems).","oneOf":[{"type":"string","description":"A point id"},{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3,"description":"Scene coordinates [x, y, z], scene units"}]},"light_2":{"description":"Where the light comes from (its star): a point id, or [x, y, z] in the frame it is in. The tails point away from it, and the nucleus is lit from it. Default the origin of its frame (a system's star; the scene's origin outside systems).","oneOf":[{"type":"string","description":"A point id"},{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3,"description":"Scene coordinates [x, y, z], scene units"}]},"lightning":{"description":"render: volume only: lightning in the gas, lighting it: true (default settings), false (default), or the settings of a lightning object's strikes; with shape: wake, mode: crawl sets discharges crawling off the ribbon instead.","oneOf":[{"type":"boolean"},{"$ref":"#/$defs/lightning_2"}]},"lightning_2":{"type":"object","additionalProperties":false,"properties":{"mode":{"$ref":"#/$defs/lightning_mode"},"count":{"$ref":"#/$defs/lightning_count"},"reach":{"$ref":"#/$defs/lightning_reach"},"speed":{"$ref":"#/$defs/lightning_speed"},"color":{"$ref":"#/$defs/lightning_color"},"glow":{"$ref":"#/$defs/lightning_glow"},"width":{"$ref":"#/$defs/lightning_width"},"rate":{"$ref":"#/$defs/lightning_rate"},"flash":{"$ref":"#/$defs/lightning_flash"},"jaggedness":{"$ref":"#/$defs/lightning_jaggedness"},"branches":{"$ref":"#/$defs/lightning_branches"},"brightness":{"$ref":"#/$defs/lightning_brightness"},"seed":{"type":"integer","default":1,"description":"Where the strikes fall and how the bolts are shaped: a different number gives different ones."}}},"lightning_branches":{"description":"Forks off the main channel (each may fork once more). Default 3 for a strike, 1 for a column.","anyOf":[{"type":"integer","minimum":0,"maximum":8},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"lightning_brightness":{"description":"How strongly it lights the gas of a volume nebula, 0 (not at all) to 2.","anyOf":[{"type":"number","minimum":0,"maximum":2},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":1},"lightning_color":{"description":"The bolt's colour (its bright core). Default var(--lcards-moonlight).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"lightning_count":{"description":"crawl: how many discharges at once.","anyOf":[{"type":"integer","minimum":1,"maximum":40},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":6},"lightning_flash":{"description":"strike: how long a strike shows, ms: a quick rise, a fade and a weaker second stroke.","anyOf":[{"type":"number","minimum":30},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":150},"lightning_glow":{"description":"The soft glow round the bolt: true (default), false, or { color, width }.","oneOf":[{"type":"boolean"},{"$ref":"#/$defs/lightning_glow_2"}]},"lightning_glow_2":{"type":"object","additionalProperties":false,"properties":{"color":{"$ref":"#/$defs/lightning_glow_color"},"width":{"$ref":"#/$defs/lightning_glow_width"}}},"lightning_glow_color":{"description":"Glow colour. Default the bolt's colour.","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"lightning_glow_width":{"description":"How wide the glow is, times the bolt's width.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":6},"lightning_jaggedness":{"description":"How far the channel zigzags, 0 (straight) to 1. Default 0.5 for a strike, 0.25 for a column.","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"lightning_mode":{"type":"string","enum":["strike","crawl"],"default":"strike","enumDescriptions":{"strike":"Bolts that flash and go","crawl":"Discharges crawling off the ribbon"},"description":"strike (default): bolts flash at random places in the gas. crawl (shape: wake only): count short bolts and small loops stand off the ribbon, flicker and jump along it."},"lightning_rate":{"description":"strike: about how many strikes a second (the pauses vary round it). 0: none. Off under reduced motion.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0.5},"lightning_reach":{"description":"crawl: how far they stand off the ribbon, a fraction of half the region's height.","anyOf":[{"type":"number","minimum":0.01,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0.35},"lightning_speed":{"description":"crawl: how fast they flicker, reshape and jump: 1 (default) as drawn, 0.5 half as fast.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":1},"lightning_width":{"description":"The bolt's width, px (its branches are about half as wide).","anyOf":[{"type":"number","minimum":0.5},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":2},"line_look":{"type":"string","enum":["flat","tube"],"default":"flat","description":"flat: one brightness across the line. tube: shaded as a lit cylinder across its width (dark edges, a bright stripe), so a wide line reads as a pipe (from 6 px or so); pulses on it become bands of light round it. The glow stays soft.","enumDescriptions":{"flat":"One brightness","tube":"Shaded pipe"}},"line_spacing":{"description":"Distance between lines, scene units. On curved shapes line_spacing_deg is usually easier.","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"line_spacing_deg":{"description":"disc: a spoke every N degrees; dome, sphere, cylinder, well: rings and meridians every N degrees (a whole number fits round). Default 15 on curved shapes.","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"line_spacing_deg_2":{"description":"A latitude and a longitude line every N degrees (longitude rounded to fit round), as on curved grids.","anyOf":[{"type":"number","minimum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":15},"line_width":{"description":"Line width, px.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":1},"line_width_2":{"description":"Face line width, px.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":1},"lon_step":{"description":"Longitude lines every N degrees, when different from line_spacing_deg (rounded to fit round).","anyOf":[{"type":"number","minimum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"look":{"type":"string","enum":["diagram","realistic","all"],"description":"Which look of the card shows the object: diagram in the diagram and mixed looks, realistic in the realistic and mixed looks, all in every look as configured. Left out, it shows in every look, and one with a diagram part and a realistic part switches them: a sphere with an image or fill.effect is a wire globe over its plain fill in the diagram look and the bare map in the realistic look, a grid with a fill_effect shows its lines or its fill, a model with material: original is a hologram in the diagram look; a glow, cube, asteroid, belt, comet, galaxy, crystalline entity or volume nebula is its wireframe in the diagram look only (mixed draws it as configured); a ring drawn as a line or a path hides in the realistic look (a ring with a band image stays).","enumDescriptions":{"diagram":"The diagram look (wireframes, schematics)","realistic":"The realistic look","all":"Every look, as configured (no switching)"}},"major":{"type":"object","additionalProperties":false,"properties":{"row_interval":{"$ref":"#/$defs/major_row_interval"},"col_interval":{"$ref":"#/$defs/major_col_interval"},"line_width":{"$ref":"#/$defs/major_line_width"},"color":{"$ref":"#/$defs/major_color"}},"description":"Major lines: brighter, wider lines every few rows and columns (rings and spokes on a disc)."},"major_col_interval":{"description":"A major line every N columns (spokes on a disc); 0 for none.","anyOf":[{"type":"integer","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"major_color":{"description":"Major line colour. Default: color, brighter.","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"major_line_width":{"description":"Major line width, px. Default 1.5 x line_width (at least 1.5).","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"major_row_interval":{"description":"A major line every N rows (rings on a disc); 0 for none.","anyOf":[{"type":"integer","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"max_distance":{"description":"Hidden when the camera is farther than this from the object's nearest edge, scene units: a planet that appears as you close in on its system (fades out over 10% past it).","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"max_radius":{"description":"Largest cloud radius, scene units. Default 0.4 of the region.","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"min_distance":{"description":"Hidden when the camera is closer than this to the object's nearest edge, scene units (fades in over the last 10%).","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"min_radius":{"description":"Smallest cloud radius, scene units. Default 0.15 of the region.","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"mode":{"type":"string","enum":["strike","column"],"default":"strike","enumDescriptions":{"strike":"Bolts that flash and go","column":"Held, flickering columns"},"description":"strike (default): a bolt flashes at a random place in the region, mostly from high to low, then a pause (rate). column: count bolts held from the region's floor to its ceiling, crawling and flickering. Under reduced motion strikes never show and columns stand still and dim."},"node":{"description":"Bearing of the line of nodes (where an inclined ring crosses the plane), degrees.","anyOf":[{"type":"number"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"noise_scale":{"description":"Detail of the gas per scene unit: lower is larger, smoother wisps. Default about 1.5 noise cells across a cloud.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"nucleus":{"type":"object","additionalProperties":false,"properties":{"size":{"$ref":"#/$defs/nucleus_size"},"color":{"$ref":"#/$defs/nucleus_color"},"tumble":{"$ref":"#/$defs/nucleus_tumble"}},"description":"The nucleus: the small dark rock at the heart."},"nucleus_color":{"description":"Its colour. Default var(--lcards-gray-medium-dark).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"nucleus_size":{"description":"Its largest extent, scene units.","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":2},"nucleus_tumble":{"description":"How fast it turns on its own axis, degrees per second. 0: still. Off under reduced motion.","anyOf":[{"type":"number"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":10},"opacity":{"description":"Opacity of the whole object, 0 to 1.","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":1},"opacity_2":{"description":"Opacity, 0 to 1.","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0.9},"opacity_3":{"description":"Opacity, 0 to 1 (a hologram's brightness).","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0.85},"opacity_4":{"description":"box: opacity, 0 to 1.","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":1},"opacity_5":{"description":"Opacity, 0 to 1.","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":1},"orbit":{"type":"string","enum":["mercury","venus","earth","moon","mars","phobos","deimos","ceres","jupiter","io","europa","ganymede","callisto","saturn","titan","uranus","neptune","triton","pluto","charon"],"description":"Draw this real body's orbit at the scene clock's date (JPL elements): an ellipse with its parent at a focus, tilted and turned as it really is, in the frame's units. Put the ring at the parent's point (at: jupiter for Io; nothing for a planet, the Sun sits at the origin). radius, inclination, node, arc and band do not apply."},"orbits":{"description":"Draw each satellite's orbit: true, or the lines' look { width, color, opacity, dash }. Default false.","oneOf":[{"type":"boolean"},{"$ref":"#/$defs/orbits_2"}]},"orbits_2":{"type":"object","additionalProperties":false,"properties":{"width":{"$ref":"#/$defs/width"},"color":{"$ref":"#/$defs/orbits_color"},"opacity":{"$ref":"#/$defs/orbits_opacity"},"dash":{"$ref":"#/$defs/dash"}}},"orbits_color":{"description":"Line colour. Default the satellites' color, else theme:colors.ui.secondary.","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"orbits_opacity":{"description":"Opacity of the lines, 0 to 1.","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":1},"paddingSchema":{"oneOf":[{"type":"number","title":"Uniform Padding","minimum":0,"maximum":200,"description":"Same padding on all sides (in pixels)","examples":[8]},{"$ref":"#/$defs/cards_lcards_button_text_default_padding"}]},"period":{"description":"Seconds for the inner edge to go round once (the outer rocks take longer, as real orbits do). 0: still. Off under reduced motion.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"points":{"type":"array","items":{"description":"A point id or [x, y, z].","oneOf":[{"type":"string","description":"A point id"},{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3,"description":"Scene coordinates [x, y, z], scene units"}]},"description":"The points the line passes through, in order (ids or [x, y, z]). With at, each [x, y, z] is an offset from at, turned with rotation and face (a shape drawn in its own place); ids stay where they are."},"preset":{"type":"string","enum":["badlands","badlands_voyager","nexus"],"enumDescriptions":{"badlands":"The Badlands (Deep Space Nine): liquid fire, a bright band, fire columns","badlands_voyager":"The Badlands (Voyager): mauve layers, pink lightning columns, strikes","nexus":"The Nexus (Generations): a white-hot ribbon trailing pink gas"},"description":"A named nebula to start from; the keys you set win over it (in band, columns, lightning, ribbon and wake, key by key). badlands: two sheets of liquid fire in yellow, orange and red, an orange band glowing between them and fire columns, thick and thin (Deep Space Nine). badlands_voyager: mauve and peach layers, held pink lightning columns and strikes that light the gas (Voyager). Both are render: volume, shape: layers in a 500 wide box. nexus: a white-hot ribbon waving across a 2000 long box, a wake of pink and red gas trailing it and small discharges crawling off it (Generations); render: volume, shape: wake. Set size to change the box: the preset's drift and ribbon speed scale with it (scene units a second for its own box), so it moves as fast for its size; a drift or speed you set stays as written."},"processorSchema":{"type":"object","description":"A processor in the pipeline. type picks one of: convert_unit, scale, smooth, expression, statistics, rate, trend, duration, threshold, clamp, round, delta.","required":["type"],"discriminator":{"propertyName":"type"},"oneOf":[{"$ref":"#/$defs/cards_lcards_button_data_sources_value_processing_value"},{"$ref":"#/$defs/cards_lcards_button_data_sources_value_processing_value_2"},{"$ref":"#/$defs/cards_lcards_button_data_sources_value_processing_value_3"},{"$ref":"#/$defs/cards_lcards_button_data_sources_value_processing_value_4"},{"$ref":"#/$defs/cards_lcards_button_data_sources_value_processing_value_5"},{"$ref":"#/$defs/cards_lcards_button_data_sources_value_processing_value_6"},{"$ref":"#/$defs/cards_lcards_button_data_sources_value_processing_value_7"},{"$ref":"#/$defs/cards_lcards_button_data_sources_value_processing_value_8"},{"$ref":"#/$defs/cards_lcards_button_data_sources_value_processing_value_9"},{"$ref":"#/$defs/cards_lcards_button_data_sources_value_processing_value_10"},{"$ref":"#/$defs/cards_lcards_button_data_sources_value_processing_value_11"},{"$ref":"#/$defs/cards_lcards_button_data_sources_value_processing_value_12"}]},"pulse":{"description":"Bright pulses travelling along the line: true, or their settings.","oneOf":[{"type":"boolean"},{"$ref":"#/$defs/pulse_2"}]},"pulse_2":{"type":"object","additionalProperties":false,"properties":{"length":{"$ref":"#/$defs/pulse_length"},"gap":{"$ref":"#/$defs/pulse_gap"},"width":{"$ref":"#/$defs/pulse_width"},"color":{"$ref":"#/$defs/pulse_color"},"speed":{"$ref":"#/$defs/pulse_speed"}}},"pulse_color":{"description":"Pulse colour. Default var(--lcards-moonlight).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"pulse_gap":{"description":"Space between pulses, px.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":90},"pulse_length":{"description":"Pulse length, px.","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":14},"pulse_speed":{"description":"px per second when dash.speed is not set. Off under reduced motion.","anyOf":[{"type":"number"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":80},"pulse_width":{"description":"Pulse width, px. Default the line width + 1.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"radius":{"description":"disc, dome, sphere, cylinder, well (its rim): radius, scene units. A disc also takes [inner, outer] for a hole in the middle. Default 100.","anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"array","items":{"type":"number","minimum":0},"minItems":2,"maxItems":2},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"radius_2":{"description":"Radius, scene units.","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":10},"radius_3":{"description":"The clouds sit inside a ball this big round the object, scene units. Default 100.","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"radius_4":{"description":"Radius, scene units, or [a, b] for an ellipse (a along the line of nodes). Default 100.","anyOf":[{"type":"number"},{"$ref":"#/$defs/size_2"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"radius_5":{"description":"[inner, outer] radius of the band, scene units; one number is the outer radius (the inner is 0.8 of it). Default [80, 100].","anyOf":[{"type":"number"},{"$ref":"#/$defs/size_2"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"radius_6":{"description":"Radius of the disc, scene units. Default the Milky Way's, 50000 light years: 50000 in scene units or ly, converted when the units are named (km, au, pc).","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"radius_7":{"description":"The region: a ball this big round the object, scene units. Default 50.","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"render":{"type":"string","enum":["puffs","volume"],"default":"puffs","enumDescriptions":{"puffs":"Soft puffs facing the camera","volume":"One body of gas you can fly into"},"description":"How the gas is drawn. puffs (default): a few soft puffs a cloud, facing the camera. volume: the same clouds as one body of gas filling the region, fading out at its edges; seen from inside, there is gas all round."},"ribbon":{"description":"shape: wake only: the bright line the wake trails, and the curve it follows: true (default), false (the gas only), or { waves, amplitude, speed, width, color, glow }.","oneOf":[{"type":"boolean"},{"$ref":"#/$defs/ribbon_2"}]},"ribbon_2":{"type":"object","additionalProperties":false,"properties":{"waves":{"$ref":"#/$defs/ribbon_waves"},"amplitude":{"$ref":"#/$defs/ribbon_amplitude"},"speed":{"$ref":"#/$defs/ribbon_speed"},"width":{"$ref":"#/$defs/ribbon_width"},"color":{"$ref":"#/$defs/ribbon_color"},"glow":{"$ref":"#/$defs/ribbon_glow"}}},"ribbon_amplitude":{"description":"How far it waves, a fraction of half the region's height (a little less in depth).","anyOf":[{"type":"number","minimum":0,"maximum":0.5},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0.2},"ribbon_color":{"description":"The line's colour, and the gas right at it (white-hot). Default var(--lcards-moonlight).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"ribbon_glow":{"description":"The glow round the line, and the gas near it: true (default), false, or { color, width }.","oneOf":[{"type":"boolean"},{"$ref":"#/$defs/ribbon_glow_2"}]},"ribbon_glow_2":{"type":"object","additionalProperties":false,"properties":{"color":{"$ref":"#/$defs/ribbon_glow_color"},"width":{"$ref":"#/$defs/ribbon_glow_width"}}},"ribbon_glow_color":{"description":"Glow colour. Default the first of colors.","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"ribbon_glow_width":{"description":"How wide the outer glow is, times the line's width.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":8},"ribbon_speed":{"description":"How fast the waves run along it, scene units a second (the wake streams out from it as fast); negative runs the other way. Default 0: still. Off under reduced motion.","anyOf":[{"type":"number"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"ribbon_waves":{"description":"How many waves along it, end to end.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":2.5},"ribbon_width":{"description":"The line's width, px.","anyOf":[{"type":"number","minimum":0.5},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":6},"rim":{"type":"object","additionalProperties":false,"properties":{"color":{"$ref":"#/$defs/rim_color"}},"description":"The hologram's bright rim."},"rim_color":{"description":"Rim colour. Default var(--lcards-moonlight).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"ring_labels":{"type":"object","description":"disc, dome, sphere, cylinder, well: bearing labels round it (0, 10, 20, ...) in the object's level plane (alt raises them): the rim of a disc, dome or well, a sphere's equator, the middle of a cylinder.","properties":{"step":{"$ref":"#/$defs/ring_labels_step"},"radius":{"$ref":"#/$defs/ring_labels_radius"},"start":{"$ref":"#/$defs/ring_labels_start"},"alt":{"$ref":"#/$defs/ring_labels_alt"},"style":{"type":"string","description":"Label style (built-in or labels.styles). Default minor.","examples":["title"]},"color":{"$ref":"#/$defs/ring_labels_color"},"text":{"$ref":"#/$defs/ring_labels_text"}}},"ring_labels_alt":{"description":"Height of the labels above the plane, scene units.","anyOf":[{"type":"number"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"ring_labels_color":{"description":"Label colour.","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"ring_labels_radius":{"description":"Distance of the labels from the centre, scene units. Default 1.06 x radius.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"ring_labels_start":{"description":"First bearing labelled, degrees.","anyOf":[{"type":"number"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"ring_labels_step":{"description":"A label every N degrees.","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":10},"ring_labels_text":{"type":"object","description":"Text keys for these labels (font, size, colour, background, ...): text.default applies to every one.","properties":{"default":{"$ref":"#/$defs/ring_labels_text_default"}}},"ring_labels_text_default":{"type":"object","properties":{"position":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_position"},"rotation":{"type":"number","minimum":-360,"maximum":360,"default":0,"description":"Turn the field, degrees."},"padding":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_padding"},"font_size":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_font_size"},"color":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_color"},"font_weight":{"type":["string","number"],"default":"normal","description":"Font weight: CSS keyword (normal, bold) or numeric value (100–900)","examples":["normal"]},"font_family":{"type":"string","format":"font-family","description":"CSS font-family (single font, comma-separated stack, or CSS variable)","examples":["Arial"]},"text_transform":{"type":"string","enum":["none","uppercase","lowercase","capitalize"],"default":"none","description":"Text transformation","enumDescriptions":["No transformation (original case)","ALL UPPERCASE","all lowercase","Capitalize First Letter"]},"letter_spacing":{"type":["number","string"],"description":"Space between letters: px (a number) or a CSS letter-spacing such as 0.1em or 2px. Default normal.","examples":[1]},"fit":{"$ref":"#/$defs/cards_lcards_button_text_value_fit"},"background":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_background"},"background_padding":{"type":"number","minimum":0,"default":8,"description":"Space between the text and the sides of its background box, px."},"background_radius":{"type":"number","minimum":0,"default":4,"description":"Corner radius of the background rect (px)."},"background_width":{"type":["number","null"],"minimum":1,"description":"Fixed explicit width of the background rect (px). Overrides auto-sizing from text metrics. Text will overflow if content is wider than this value."},"background_min_width":{"type":["number","null"],"minimum":1,"description":"Minimum width of the background rect (px). Auto-sizes to text width but never smaller than this value. Safe for dynamic content."}},"description":"Text keys every label of this set takes (their text is generated)."},"rules":{"type":"array","optional":true,"description":"Dynamic styling rules evaluated by RulesEngine singleton. Rules can target overlays across all cards using IDs, tags, types, or patterns.","items":{"type":"object","required":["id","when","apply"],"properties":{"id":{"type":"string","description":"Unique rule identifier used for debugging and tracing","examples":["temp_alert"]},"name":{"type":"string","description":"A readable label for the rule (shown in the editor)"},"when":{"type":"object","description":"Condition(s) that must be met for rule to apply: entity state and attributes, target (the entities of a Home Assistant label, area, device or floor, with match: any or all), map_range_cond, time_between, weekday_in, sun_elevation, JavaScript and Jinja2 conditions, and logical composition (all/any/not). Numeric comparisons accept above/below (strict) and at_least/at_most (inclusive).","additionalProperties":true,"examples":[{"entity":"sensor.temperature","above":25}]},"apply":{"type":"object","description":"Style changes, animations and base SVG filters to apply when conditions are met","properties":{"overlays":{"type":"object","description":"Overlay style changes using direct IDs or selectors (all, type:, tag:, ha_label:, pattern:, exclude:). ha_label:<label_id> picks the cards and overlays whose entity carries that Home Assistant label, on the entity itself, its device or its area.","additionalProperties":true,"examples":[{"temp_display":{"style":{"color":"var(--lcars-red)"}}}]},"base_svg":{"type":"object","description":"Base SVG filter updates (MSD cards only)","properties":{"filters":{"type":["array","object"],"description":"Filters to apply: a stackable filter list [{mode, type, value}] (or the legacy CSS filter object); an empty list clears them"},"transition":{"type":"number","minimum":0,"description":"Transition duration in milliseconds","default":1000}}},"animations":{"type":"array","description":"Animations to trigger when rule matches. Supports overlay targeting (ID, tag, type, ha_label, pattern) and automatic lifecycle management (start on match, stop on unmatch).","items":{"type":"object","properties":{"overlay":{"type":"string","description":"Target specific overlay by ID","examples":["temp_display_1"]},"tag":{"type":"string","description":"Target all overlays with this tag (recommended for cross-card coordination)","examples":["temperature"]},"type":{"type":"string","description":"Target all overlays of this type","examples":["gauge"]},"ha_label":{"type":"string","description":"Target every card and overlay whose entity carries this Home Assistant label (its label id, set on the entity, its device or its area in Home Assistant)","examples":["low_battery"]},"pattern":{"type":"string","description":"Target overlays matching regex pattern","examples":["^temp_.*"]},"preset":{"type":"string","description":"Animation preset name","examples":["pulse"]},"duration":{"type":["number","object"],"minimum":0,"description":"Animation duration in milliseconds. Also accepts a map_range descriptor for entity-driven dynamic duration."},"loop":{"oneOf":[{"type":"boolean","description":"true = loop infinitely, false = play once"},{"type":"integer","minimum":1,"description":"Number of additional times to loop"}],"default":false,"description":"Loop animation. Automatically stops when the rule unmatches. true = infinite, N = loop N times"},"delay":{"type":["number","object"],"minimum":0,"description":"Delay before animation starts (milliseconds). Also accepts a map_range descriptor for entity-driven dynamic delay."},"ease":{"type":["string","object"],"description":"Animation easing function (anime.js v4 name, or an object with type and params). Simple strings like 'inOutQuad', 'outBounce', 'inElastic'.","examples":["inOutQuad"]},"alternate":{"type":"boolean","description":"Whether animation should alternate direction on each loop. Left out, the preset decides."},"target":{"type":"string","description":"CSS selector for a single animation target element, or `background` to animate the card's background_animation effects (their config keys in params, with preset: custom)."},"targets":{"type":["string","array"],"items":{"type":"string"},"description":"CSS selector(s) for multiple animation target elements."},"effect":{"type":"integer","minimum":0,"description":"With target: background, the index of the background_animation entry to animate (0 is the first, the bottom layer). Without it, every entry."},"essential_motion":{"type":"boolean","default":false,"description":"Keep playing when the device asks for reduced motion (prefers-reduced-motion). Only for motion that carries meaning, such as an alert flash; other animations jump to their end state or stay still."},"id":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","description":"Optional identifier for this animation entry (referenced by system animations, debugging)."},"enabled":{"type":"boolean","default":true,"description":"Set false to disable this animation entry without deleting it."},"params":{"type":"object","discriminatedBy":{"$ref":"#/$defs/item_apply_animations_item_params"},"description":"Preset-specific parameters. Values may be static or use map_range to proportionally interpolate from an entity value.","additionalProperties":true,"examples":[{"speed":2,"color":"#00ff88"}]}},"required":["preset"],"examples":[{"tag":"temp_widgets","preset":"strobe","loop":true}]},"examples":[[{"tag":"alert_targets","preset":"blink","loop":true}]]}},"examples":[{"overlays":{"temp_display":{"style":{"color":"var(--lcars-red)"}}}}]},"stop":{"type":"boolean","default":false,"description":"When this rule matches, lower-priority rules no longer patch the same overlays (they are still evaluated)"},"priority":{"type":"number","description":"Rule evaluation priority (higher values evaluated first, default: 0)","default":0},"enabled":{"type":"boolean","default":true,"description":"Enable or disable rule evaluation"}},"examples":[{"id":"temp_alert","when":{"entity":"sensor.temperature","above":25},"apply":{"overlays":{"temp_display":{"style":{"color":"var(--lcars-red)"}}}}}]}},"satellite":{"type":"string","description":"Draw the orbit of this satellite point (a point id with satellite) round its Earth sphere, at the scene clock's date, with the point's heights: it stays put while the Earth turns under it, and follows a live orbit as its fixes come in. radius, inclination, node, arc, at and band do not apply."},"satellites":{"type":"array","items":{"type":["string","integer"]},"examples":[["iss","hubble",25544]],"description":"Satellites to add (to the group's, or on their own): built-in names (iss, tiangong, hubble, goes_east, goes_west, meteosat, meteosat_iodc, himawari, geo_kompsat, insat, fengyun_4a) or NORAD catalogue numbers of GPS and Galileo satellites."},"scan":{"type":"object","additionalProperties":false,"properties":{"period":{"$ref":"#/$defs/scan_period"},"color":{"$ref":"#/$defs/scan_color"}},"description":"A bright scan band sweeping across it: { period, color }. Off under reduced motion."},"scan_2":{"type":"object","additionalProperties":false,"properties":{"period":{"$ref":"#/$defs/scan_period_2"},"color":{"$ref":"#/$defs/scan_color"}},"description":"A bright scan band sweeping across it: { period, color }. Off under reduced motion."},"scan_3":{"type":"object","additionalProperties":false,"properties":{"period":{"$ref":"#/$defs/scan_period_3"},"color":{"$ref":"#/$defs/scan_color"}},"description":"A bright scan band sweeping across it: { period, color }. Off under reduced motion."},"scan_color":{"description":"Band colour. Default var(--lcards-moonlight).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"scan_period":{"description":"Seconds per sweep (0: none). A sphere sweeps north pole to south pole, a dome top to rim, a cylinder top to bottom, a polar disc rings out from the centre, a plane runs south to north.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"scan_period_2":{"description":"Seconds per sweep (0: none). It sweeps down the walls, top to bottom.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"scan_period_3":{"description":"Seconds per sweep (0: none). It sweeps along the model.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"scanlines":{"description":"Scanline strength, 0 (none) to 1.","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0.5},"shape":{"type":"string","enum":["plane","disc","dome","sphere","cylinder","well"],"default":"plane","description":"plane (size), disc (radius, or [inner, outer] for a hole in the middle), dome (a half sphere, radius), sphere (radius), cylinder (radius, height) or well (a funnel down from its rim: radius, depth, well).","enumDescriptions":{"plane":"Flat rectangle","disc":"Flat circle","dome":"Half sphere","sphere":"Globe","cylinder":"Tube","well":"Funnel down from a rim"}},"shape_2":{"type":"string","enum":["sector","box","prism"],"default":"sector","description":"sector: between two radii, two bearings and two heights round the centre. box: size centred on at. prism: the outline (any polygon, a territory's border) between two heights.","enumDescriptions":{"sector":"Wedge between radii, bearings and heights","box":"Box","prism":"Any outline between two heights"}},"shape_3":{"type":"string","enum":["clouds","shell","bipolar","filaments","cavity","layers","wake","whirlpool"],"default":"clouds","enumDescriptions":{"clouds":"Clouds","shell":"A hollow sphere","bipolar":"An hourglass","filaments":"Thin strands","cavity":"A hollow open on one side","layers":"A floor and a ceiling with a gap","wake":"A ribbon trailing a sheet of gas","whirlpool":"A swirling disc wound into spiral arms"},"description":"render: volume only: the form of the gas. clouds (default): the clouds themselves. shell: a thin hollow sphere (the Ring nebula). bipolar: an hourglass along the object's y axis, two hollow lobes joined at a narrow waist (the Butterfly). filaments: long thin strands running along the object's x axis (the Veil). cavity: a thick cup round a hollow that opens on the object's +z side (a blister, as in Orion). layers: a floor and a ceiling of gas across the region with a gap between (the Badlands): colors run from each sheet's surface into its depth; gap, veins, band and columns shape it. wake: a bright ribbon waving along the object's x axis near the bottom of the region and a sheet of gas trailing it upward (the Nexus): colors run from the ribbon out; ribbon and wake shape it. In every shape but clouds the clouds give the clumps and colours inside the form; turn it with rotation."},"shared":{"type":"object","title":"grid","required":["type"],"allOf":[{"$ref":"#/$defs/shared_2"}],"description":"A see-through grid surface: plane (a sector map), disc (a galaxy disc), dome (a sky), sphere (a wireframe ball; for a solid planet use sphere), cylinder or well (a funnel, a wormhole), optionally deformed (deform).","properties":{"type":{"type":"string","const":"grid","description":"grid: a grid surface."},"shape":{"$ref":"#/$defs/shape"},"size":{"$ref":"#/$defs/size"},"radius":{"$ref":"#/$defs/radius"},"height":{"$ref":"#/$defs/height"},"depth":{"$ref":"#/$defs/depth"},"well":{"$ref":"#/$defs/well"},"deform":{"$ref":"#/$defs/deform"},"line_spacing_deg":{"$ref":"#/$defs/line_spacing_deg"},"pattern":{"type":"string","enum":["both","horizontal","vertical","diagonal","hexagonal","dots","polar"],"description":"Line pattern (the background grid effect's names): both (rows and columns, default), horizontal, vertical, diagonal, hexagonal, dots, polar (rings and spokes; default on a disc)."},"line_spacing":{"$ref":"#/$defs/line_spacing"},"line_width":{"$ref":"#/$defs/line_width"},"color":{"$ref":"#/$defs/color"},"major":{"$ref":"#/$defs/major"},"back_opacity":{"$ref":"#/$defs/back_opacity"},"blend":{"type":"string","enum":["add","normal"],"default":"normal","description":"add: light adds up where lines cross (a glow). Default normal."},"scan":{"$ref":"#/$defs/scan"},"fill":{"$ref":"#/$defs/fill"},"spoke_count":{"$ref":"#/$defs/spoke_count"},"hex_radius":{"$ref":"#/$defs/hex_radius"},"dot_radius":{"$ref":"#/$defs/dot_radius"},"edges":{"$ref":"#/$defs/edges"},"ring_labels":{"$ref":"#/$defs/ring_labels"},"axis_labels":{"$ref":"#/$defs/axis_labels"},"cells":{"$ref":"#/$defs/cells"}}},"shared_10":{"type":"object","title":"path","required":["type"],"allOf":[{"$ref":"#/$defs/shared_2"}],"description":"A line through points (a route), an arched route between two points, or the day track of the sun or moon.","properties":{"type":{"type":"string","const":"path","description":"path: a line through points."},"points":{"$ref":"#/$defs/points"},"from":{"description":"Start (instead of points).","oneOf":[{"type":"string","description":"A point id"},{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3,"description":"Scene coordinates [x, y, z], scene units"}]},"to":{"description":"End (instead of points).","oneOf":[{"type":"string","description":"A point id"},{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3,"description":"Scene coordinates [x, y, z], scene units"}]},"arc":{"$ref":"#/$defs/arc"},"sky":{"type":"string","enum":["sun","moon"],"description":"Draw today's track of the sun or moon on the dome named in object, split where it goes under the horizon."},"object":{"type":"string","description":"sky: the dome grid the track is drawn on."},"span":{"type":"string","enum":["today"],"description":"sky: which track (only today, midnight to midnight local time)."},"alt":{"$ref":"#/$defs/alt_2"},"width":{"$ref":"#/$defs/width"},"dash":{"$ref":"#/$defs/dash"},"color":{"$ref":"#/$defs/color_9"},"colors":{"$ref":"#/$defs/colors_2"},"glow":{"description":"A soft glow under the line: true (4 x the width) or a width factor.","oneOf":[{"type":"boolean"},{"type":"number","minimum":1}]},"line_look":{"$ref":"#/$defs/line_look"},"blend":{"type":"string","enum":["add","normal"],"default":"normal","description":"add: light adds up where lines cross (a glow). Default normal."},"pulse":{"$ref":"#/$defs/pulse"}}},"shared_11":{"type":"object","title":"beam","required":["type"],"allOf":[{"$ref":"#/$defs/shared_2"}],"description":"A glowing straight line (a soft wide glow round a thin bright core).","properties":{"type":{"type":"string","const":"beam","description":"beam: a glowing straight line."},"from":{"description":"One end: a point id or [x, y, z].","oneOf":[{"type":"string","description":"A point id"},{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3,"description":"Scene coordinates [x, y, z], scene units"}]},"to":{"description":"The other end.","oneOf":[{"type":"string","description":"A point id"},{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3,"description":"Scene coordinates [x, y, z], scene units"}]},"width":{"$ref":"#/$defs/width_2"},"color":{"$ref":"#/$defs/color_10"},"pulse":{"$ref":"#/$defs/pulse"}}},"shared_12":{"type":"object","title":"belt","required":["type"],"allOf":[{"$ref":"#/$defs/shared_2"}],"description":"An asteroid belt: a band of low-poly rocks round the object's centre (at), lit from the centre as by its star. Seeded, so the same config always gives the same belt.","properties":{"type":{"type":"string","const":"belt","description":"belt: an asteroid belt."},"radius":{"$ref":"#/$defs/radius_5"},"thickness":{"$ref":"#/$defs/thickness_2"},"count":{"$ref":"#/$defs/count_2"},"size":{"$ref":"#/$defs/size_8"},"seed":{"type":"integer","default":1,"description":"A different number gives a different belt."},"period":{"$ref":"#/$defs/period"},"tumble":{"$ref":"#/$defs/tumble"},"color":{"$ref":"#/$defs/color_11"},"colors":{"$ref":"#/$defs/colors_3"}}},"shared_13":{"type":"object","title":"asteroid","required":["type"],"allOf":[{"$ref":"#/$defs/shared_2"}],"description":"One irregular rock for a close look (lumps, craters, stretched its own way), tumbling, lit from its star (light). Seeded, so the same config always gives the same rock. Far away it shows as a dot. For many rocks round a centre use belt.","properties":{"type":{"type":"string","const":"asteroid","description":"asteroid: one tumbling rock."},"size":{"$ref":"#/$defs/size_9"},"seed":{"type":"integer","default":1,"description":"A different number gives a different rock."},"tumble":{"$ref":"#/$defs/tumble_2"},"light":{"$ref":"#/$defs/light"},"color":{"$ref":"#/$defs/color_12"},"occlude":{"type":"boolean","default":true,"description":"Hide labels and cards behind it."}}},"shared_14":{"type":"object","title":"comet","required":["type"],"allOf":[{"$ref":"#/$defs/shared_2"}],"description":"A comet: a small dark nucleus, a glowing coma round it and two tails pointing away from its star (light): a straight ion tail and a broader dust tail that bends back along the comet's path as it moves. Seeded. With activity.mode: distance it brightens and grows its tails as it nears its star.","properties":{"type":{"type":"string","const":"comet","description":"comet: a nucleus, a coma and tails."},"nucleus":{"$ref":"#/$defs/nucleus"},"coma":{"$ref":"#/$defs/coma"},"tail":{"$ref":"#/$defs/tail"},"ion_tail":{"$ref":"#/$defs/ion_tail"},"dust_tail":{"$ref":"#/$defs/dust_tail"},"glow":{"$ref":"#/$defs/glow"},"light":{"$ref":"#/$defs/light_2"},"activity":{"$ref":"#/$defs/activity"},"seed":{"type":"integer","default":1,"description":"A different number gives a different nucleus and tail."},"color":{"$ref":"#/$defs/color_13"}}},"shared_15":{"type":"object","title":"galaxy","required":["type"],"allOf":[{"$ref":"#/$defs/shared_2"}],"description":"A spiral galaxy in 3D: seeded stars along a bar, a bulge, spiral arms and a thin disc, with soft glow on the arms and the core and dust lanes, at their real places (parallax as the camera moves). The Milky Way by default: the bar, Scutum-Centaurus and Perseus, Sagittarius and Norma, and the Orion spur; the Sun's place is 0.52 of the radius toward bearing 180.","properties":{"type":{"type":"string","const":"galaxy","description":"galaxy: a spiral galaxy."},"radius":{"$ref":"#/$defs/radius_6"},"thickness":{"$ref":"#/$defs/thickness_3"},"seed":{"type":"integer","default":3,"description":"A different number gives a different scatter of stars."},"arms":{"$ref":"#/$defs/arms_2"},"bar":{"$ref":"#/$defs/bar"},"stars":{"$ref":"#/$defs/stars"},"core":{"$ref":"#/$defs/core_2"},"glow":{"$ref":"#/$defs/glow_2"},"dust":{"$ref":"#/$defs/dust_2"}}},"shared_16":{"type":"object","title":"trail","required":["type","point"],"allOf":[{"$ref":"#/$defs/shared_2"}],"description":"A line behind a moving point showing where it has been (a ship's wake, a planet's recent orbit), built while the card is open.","properties":{"type":{"type":"string","const":"trail","description":"trail: where a moving point has been."},"point":{"type":"string","description":"The id of the point to follow: one that moves (on a spinning ring, on a model part, or placed from an entity)."},"length":{"$ref":"#/$defs/length"},"fade_tail":{"type":"boolean","default":true,"description":"Fade from the colour at the point to black at the tail (the background, in space). false: one colour all along."},"width":{"$ref":"#/$defs/width"},"dash":{"$ref":"#/$defs/dash"},"color":{"$ref":"#/$defs/color_14"},"blend":{"type":"string","enum":["add","normal"],"default":"normal","description":"add: light adds up where lines cross (a glow). Default normal."},"pulse":{"$ref":"#/$defs/pulse"}}},"shared_17":{"type":"object","title":"cube","required":["type"],"allOf":[{"$ref":"#/$defs/shared_2"}],"description":"A Borg cube (shape borg, the default: carved machinery, a rail lattice, green light from inside and pulsing glow spots, as in the Borg screen effect) or a plain shaded box. Hides labels behind it.","properties":{"type":{"type":"string","const":"cube","description":"cube: a Borg cube or a plain box."},"shape":{"type":"string","enum":["borg","box"],"default":"borg","description":"borg (default): the Borg cube. box: a shaded box with its edges.","enumDescriptions":{"borg":"The Borg cube, ray-marched machinery under a rail lattice","box":"A shaded box with its edges drawn"}},"size":{"$ref":"#/$defs/size_10"},"color":{"$ref":"#/$defs/color_15"},"glow":{"$ref":"#/$defs/glow_3"},"detail":{"type":"boolean","default":true,"description":"borg: true (default) carves the machinery into the faces (ray-marched, about as costly as the screen effect's cube); false draws flat faces with the lattice, for slow graphics hardware."},"seed":{"type":"integer","default":1,"description":"borg: where the glow spots sit. A different number moves them."},"edges":{"$ref":"#/$defs/edges_7"},"opacity":{"$ref":"#/$defs/opacity_4"},"occlude":{"type":"boolean","default":true,"description":"Hide labels and cards behind it."}}},"shared_18":{"type":"object","title":"lightning","required":["type"],"allOf":[{"$ref":"#/$defs/shared_2"}],"description":"Lightning: jagged forked bolts that flash and go at random places in a region (mode: strike), or held flickering columns from its floor to its ceiling (mode: column). A bolt inside a volume nebula lights the gas round it.","properties":{"type":{"type":"string","const":"lightning","description":"lightning: flashing bolts or held columns."},"mode":{"$ref":"#/$defs/mode"},"radius":{"$ref":"#/$defs/radius_7"},"size":{"$ref":"#/$defs/size_11"},"count":{"$ref":"#/$defs/count_3"},"speed":{"$ref":"#/$defs/speed"},"lights":{"type":"boolean","default":true,"description":"Light the gas of every volume nebula a bolt is inside (true, default). false: the bolts only."},"color":{"$ref":"#/$defs/lightning_color"},"glow":{"$ref":"#/$defs/lightning_glow"},"width":{"$ref":"#/$defs/lightning_width"},"rate":{"$ref":"#/$defs/lightning_rate"},"flash":{"$ref":"#/$defs/lightning_flash"},"jaggedness":{"$ref":"#/$defs/lightning_jaggedness"},"branches":{"$ref":"#/$defs/lightning_branches"},"brightness":{"$ref":"#/$defs/lightning_brightness"},"seed":{"type":"integer","default":1,"description":"Where the strikes fall and how the bolts are shaped: a different number gives different ones."}}},"shared_19":{"type":"object","title":"crystalline","required":["type"],"allOf":[{"$ref":"#/$defs/shared_2"}],"description":"The Crystalline Entity (Star Trek: The Next Generation): a glowing faceted spine along the object's y axis, a starburst core at its middle, and branches in tiers round it that fork again and again into thorns, inside a spindle size tall and 0.8 of that across. Glassy and translucent, lit from inside by its core. Seeded, so the same config always gives the same entity. Far away it shows as a dot; nearer, fewer fork levels draw. Turn it with spin.","properties":{"type":{"type":"string","const":"crystalline","description":"crystalline: the Crystalline Entity."},"size":{"$ref":"#/$defs/size_12"},"seed":{"type":"integer","default":7,"description":"A different number gives a different branching."},"branches":{"$ref":"#/$defs/branches"},"color":{"$ref":"#/$defs/color_16"},"glow":{"$ref":"#/$defs/glow_4"},"opacity":{"$ref":"#/$defs/opacity_5"},"blend":{"type":"string","enum":["add","normal"],"default":"add","description":"add (default): light adds up, so overlapping crystal glows. normal: drawn over what is behind."},"core":{"$ref":"#/$defs/core_3"}}},"shared_2":{"type":"object","properties":{"id":{"type":"string","description":"Name of the object: points stand on it (object), rules target it. Default type#n (grid#1, ...)."},"tags":{"type":"array","items":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$"},"description":"Tags for rules: a rule on tag:<name> patches every object with the tag.","examples":[["navigation","primary"]]},"at":{"$ref":"#/$defs/at"},"rotation":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3,"description":"Turn the object [x, y, z] in degrees: y is a bearing (clockwise from above), x tips it toward the camera, z rolls it."},"spin":{"$ref":"#/$defs/spin"},"face":{"$ref":"#/$defs/face"},"visible":{"type":"boolean","default":true,"description":"false hides the object (its points still work)."},"hide_in_systems":{"$ref":"#/$defs/hide_in_systems"},"look":{"$ref":"#/$defs/look"},"opacity":{"$ref":"#/$defs/opacity"},"fade":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2,"description":"Distance fade [start, end], scene units from the camera to the nearest edge of the object (0 inside it; a flat plane or disc grid is measured to its surface): fully shown nearer than start, gone past end."},"min_distance":{"$ref":"#/$defs/min_distance"},"max_distance":{"$ref":"#/$defs/max_distance"},"tap_action":{"$ref":"#/$defs/astrometrics-action"},"hold_action":{"$ref":"#/$defs/astrometrics-action"},"view":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item_view"}}},"shared_20":{"type":"object","title":"satellites","required":["type","object"],"allOf":[{"$ref":"#/$defs/shared_2"}],"description":"Real Earth satellites round the Earth sphere named in object, at the scene clock's date, from orbits shipped in LCARdS: a dot for each, and their orbits with orbits. For one satellite with a label, a live entity or a card, use a point with satellite. Its satellites are points named <id>.<NORAD id> (views and fly-to can name them), their orbits rings named <id>.<NORAD id>.orbit. visible, look, opacity, fade, min_distance, max_distance, hide_in_systems and the actions apply to each satellite (and visible, look and the distances to the orbits); at, rotation, spin and face do not apply.","properties":{"type":{"type":"string","const":"satellites","description":"satellites: real Earth satellites round an Earth sphere."},"object":{"type":"string","description":"The Earth sphere they go round (a sphere id; body: earth turns it as Earth really turns, so they sit over the right places)."},"group":{"$ref":"#/$defs/group"},"satellites":{"$ref":"#/$defs/satellites"},"heights":{"$ref":"#/$defs/heights"},"marker":{"type":"string","enum":["dot","triangle","diamond","square","reticle","ship","starbase","moon_phase","none"],"default":"dot","description":"The marker drawn at each satellite (as a point's marker). Default dot."},"color":{"$ref":"#/$defs/color_17"},"label":{"type":"boolean","default":false,"description":"true labels each satellite with its name (tiny style)."},"orbits":{"$ref":"#/$defs/orbits"}}},"shared_3":{"type":"object","title":"volume","required":["type"],"allOf":[{"$ref":"#/$defs/shared_2"}],"description":"A see-through box of grid cells (a territory): a sector of a disc, a box, or a prism of any outline.","properties":{"type":{"type":"string","const":"volume","description":"volume: a see-through cell box."},"shape":{"$ref":"#/$defs/shape_2"},"outline":{"type":"array","minItems":3,"items":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2},"description":"prism: the border as [x, z] points in order, scene units from the object's position (z is south: -z north, as bearings 0). At least 3."},"radius":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2,"description":"sector: inner and outer radius [r0, r1], scene units. Default [50, 100]."},"angle":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2,"description":"sector: from and to bearing [a0, a1], degrees clockwise from north. Default [0, 90]."},"height":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2,"description":"sector and prism: bottom and top [y0, y1], scene units. Default [0, 10]."},"size":{"$ref":"#/$defs/size_3"},"cells":{"$ref":"#/$defs/cells_2"},"color":{"$ref":"#/$defs/color_4"},"line_width":{"$ref":"#/$defs/line_width_2"},"faces":{"$ref":"#/$defs/faces"},"edges":{"$ref":"#/$defs/edges_3"},"back_opacity":{"$ref":"#/$defs/back_opacity_2"},"blend":{"type":"string","enum":["add","normal"],"default":"normal","description":"add: light adds up where lines cross (a glow). Default normal."},"scan":{"$ref":"#/$defs/scan_2"}}},"shared_4":{"type":"object","title":"sphere","required":["type"],"allOf":[{"$ref":"#/$defs/shared_2"}],"description":"A planet or globe: latitude and longitude lines over a solid body that hides what is behind it (labels too), with an optional map image. For a see-through wireframe ball use a grid with shape: sphere.","properties":{"type":{"type":"string","const":"sphere","description":"sphere: a planet or globe."},"radius":{"$ref":"#/$defs/radius_2"},"line_spacing_deg":{"$ref":"#/$defs/line_spacing_deg_2"},"lat_step":{"$ref":"#/$defs/lat_step"},"lon_step":{"$ref":"#/$defs/lon_step"},"pattern":{"type":"string","enum":["both","horizontal","vertical","diagonal","hexagonal","dots","polar"],"description":"Line pattern (the background grid effect's names): both (rows and columns, default), horizontal, vertical, diagonal, hexagonal, dots, polar (rings and spokes; default on a disc)."},"line_spacing":{"$ref":"#/$defs/line_spacing"},"line_width":{"$ref":"#/$defs/line_width"},"color":{"$ref":"#/$defs/color"},"major":{"$ref":"#/$defs/major"},"back_opacity":{"$ref":"#/$defs/back_opacity"},"blend":{"type":"string","enum":["add","normal"],"default":"normal","description":"add: light adds up where lines cross (a glow). Default normal."},"scan":{"$ref":"#/$defs/scan"},"fill":{"$ref":"#/$defs/fill_2"},"image":{"$ref":"#/$defs/image"},"occlude":{"type":"boolean","default":true,"description":"Hide labels and cards behind the sphere."},"deform":{"$ref":"#/$defs/deform_2"},"body":{"$ref":"#/$defs/body"}}},"shared_5":{"type":"object","title":"image","required":["type"],"allOf":[{"$ref":"#/$defs/shared_2"}],"description":"Your own picture (a galaxy photo, a chart) lying on the scene plane.","properties":{"type":{"type":"string","const":"image","description":"image: a picture on the scene plane."},"src":{"type":"string","assetSource":"image","description":"The image: a built-in one (builtin:<name>), a path or URL (/local/galaxy.jpg), or a Home Assistant media item (media-source://...)."},"size":{"$ref":"#/$defs/size_4"},"shape":{"type":"string","enum":["plane","disc"],"default":"plane","description":"plane (a rectangle) or disc."},"alt":{"$ref":"#/$defs/alt"},"blend":{"type":"string","enum":["add","normal"],"default":"normal","description":"add: black in the image becomes see-through (a photo of space on black). Default normal."}}},"shared_6":{"type":"object","title":"glow","required":["type"],"allOf":[{"$ref":"#/$defs/shared_2"}],"description":"A soft light that always faces the camera: a galactic core, a star, a beacon.","properties":{"type":{"type":"string","const":"glow","description":"glow: a soft camera-facing light."},"size":{"$ref":"#/$defs/size_5"},"color":{"$ref":"#/$defs/color_5"},"opacity":{"$ref":"#/$defs/opacity_2"},"falloff":{"$ref":"#/$defs/falloff"},"blend":{"type":"string","enum":["add","normal"],"default":"add","description":"add (default): light adds up. normal: drawn over what is behind."}}},"shared_7":{"type":"object","title":"nebula","required":["type"],"allOf":[{"$ref":"#/$defs/shared_2"}],"description":"Clouds of gas in the scene (the nebula background preset in 3D): they shift against each other and the grids as the camera turns, and fade as you fly into them.","properties":{"type":{"type":"string","const":"nebula","description":"nebula: clouds of gas."},"preset":{"$ref":"#/$defs/preset"},"render":{"$ref":"#/$defs/render"},"density":{"$ref":"#/$defs/density"},"shape":{"$ref":"#/$defs/shape_3"},"arms":{"$ref":"#/$defs/arms"},"thickness":{"$ref":"#/$defs/thickness"},"gap":{"$ref":"#/$defs/gap"},"veins":{"$ref":"#/$defs/veins"},"band":{"$ref":"#/$defs/band"},"columns":{"$ref":"#/$defs/columns"},"ribbon":{"$ref":"#/$defs/ribbon"},"wake":{"$ref":"#/$defs/wake"},"lightning":{"$ref":"#/$defs/lightning"},"stretch":{"$ref":"#/$defs/stretch"},"core":{"$ref":"#/$defs/core"},"dust":{"$ref":"#/$defs/dust"},"radius":{"$ref":"#/$defs/radius_3"},"size":{"$ref":"#/$defs/size_6"},"count":{"$ref":"#/$defs/count"},"clouds":{"$ref":"#/$defs/clouds"},"min_radius":{"$ref":"#/$defs/min_radius"},"max_radius":{"$ref":"#/$defs/max_radius"},"brightness":{"$ref":"#/$defs/brightness"},"color":{"$ref":"#/$defs/color_6"},"colors":{"$ref":"#/$defs/colors"},"turbulence":{"$ref":"#/$defs/turbulence"},"noise_scale":{"$ref":"#/$defs/noise_scale"},"drift":{"$ref":"#/$defs/drift"},"seed":{"type":"number","description":"Random seed: the same seed places the same clouds.","default":1},"blend":{"type":"string","enum":["add","normal"],"default":"add","description":"add (default): light adds up, no sorting needed. normal: drawn over what is behind."}}},"shared_8":{"type":"object","title":"model","required":["type","src"],"allOf":[{"$ref":"#/$defs/shared_2"}],"description":"A glTF / GLB model. Points stand on it with object: (and xyz or part).","properties":{"type":{"type":"string","const":"model","description":"model: a glTF / GLB model."},"src":{"$ref":"#/$defs/src"},"size":{"$ref":"#/$defs/size_7"},"length":{"type":"number","exclusiveMinimum":0,"description":"The real length in metres (the model's largest extent), for a file not made at its true scale (many downloads): drawn that long, whatever the file measures, in the scene's units. size, when set, wins; a scene without units draws it at 50."},"file_units":{"type":"string","enum":["m","cm","mm","km","ft","in"],"default":"m","description":"The units the file was made in, for its real size (no size or length set): m (default; glTF files and the built-in models are in metres), cm, mm, km, ft or in."},"material":{"type":"string","enum":["hologram","original"],"default":"hologram","description":"hologram (default): a glow with a bright rim and scanlines. original: the file's materials, lit."},"color":{"$ref":"#/$defs/color_7"},"rim":{"$ref":"#/$defs/rim"},"opacity":{"$ref":"#/$defs/opacity_3"},"scanlines":{"$ref":"#/$defs/scanlines"},"scan":{"$ref":"#/$defs/scan_3"},"solid":{"type":"boolean","default":true,"description":"false: see-through."},"blend":{"type":"string","enum":["add","normal"],"default":"add","description":"Hologram blending: add (default) or normal."},"edges":{"$ref":"#/$defs/edges_5"},"animation":{"description":"Clips to loop: all, a name or a list. None when left out.","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"},"minItems":1}]},"occlude":{"type":"boolean","default":true,"description":"Hide labels and cards behind it."}}},"shared_9":{"type":"object","title":"ring","required":["type"],"allOf":[{"$ref":"#/$defs/shared_2"}],"description":"A circle or ellipse: an orbit, a rim, a range ring. at is its centre (a point id: the ring follows it).","properties":{"type":{"type":"string","const":"ring","description":"ring: a circle or ellipse."},"radius":{"$ref":"#/$defs/radius_4"},"inclination":{"$ref":"#/$defs/inclination"},"node":{"$ref":"#/$defs/node"},"arc":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2,"description":"Only part of the ring: [from, to] in degrees round it."},"band":{"$ref":"#/$defs/band_3"},"body":{"$ref":"#/$defs/body_2"},"satellite":{"$ref":"#/$defs/satellite"},"orbit":{"$ref":"#/$defs/orbit"},"width":{"$ref":"#/$defs/width"},"dash":{"$ref":"#/$defs/dash"},"color":{"$ref":"#/$defs/color_8"},"colors":{"$ref":"#/$defs/colors_2"},"glow":{"description":"A soft glow under the line: true (4 x the width) or a width factor.","oneOf":[{"type":"boolean"},{"type":"number","minimum":1}]},"line_look":{"$ref":"#/$defs/line_look"},"blend":{"type":"string","enum":["add","normal"],"default":"normal","description":"add: light adds up where lines cross (a glow). Default normal."},"pulse":{"$ref":"#/$defs/pulse"}}},"simpleColorSchema":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Colour value (hex, rgb, named colour, theme token, or CSS variable)","examples":["#FF9900"]},"size":{"description":"plane: width and depth [w, d], scene units (one number for a square). Default 200.","anyOf":[{"type":"number"},{"$ref":"#/$defs/size_2"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"size_10":{"description":"Its size, scene units: one number for a cube, or [x, y, z] for a box. Default 20.","anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"array","items":{"type":"number","exclusiveMinimum":0},"minItems":3,"maxItems":3},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"size_11":{"description":"Or a box [width, height, depth] (one number for a cube), scene units. Replaces radius.","anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"array","items":{"type":"number","exclusiveMinimum":0},"minItems":3,"maxItems":3},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"size_12":{"description":"Height along the spine, scene units. Default 3 km: 3 when the units are km, converted when they are named otherwise (m, au, ly, pc), 3000 in plain scene units.","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"size_2":{"type":"array","items":{"$ref":"#/$defs/size_item"},"minItems":2,"maxItems":2},"size_3":{"description":"box: [width, height, depth], scene units, or one number for a cube. Default 20.","anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"size_4":{"description":"Width and depth [w, d], scene units (one number for a square); a disc takes the width as its diameter. Default 200.","anyOf":[{"type":"number"},{"$ref":"#/$defs/size_2"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"size_5":{"description":"Diameter, scene units.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":60},"size_6":{"description":"Or inside a box [width, height, depth] (one number for a cube), scene units. Replaces radius.","anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"array","items":{"type":"number","exclusiveMinimum":0},"minItems":3,"maxItems":3},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"size_7":{"description":"Largest extent, scene units (the file is scaled and centred). Leave it out to draw the model at its real size (length, else what the file measures in file_units) in the scene's units (or its system's); a scene without units draws it at 50.","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"size_8":{"description":"Rock size [smallest, largest], scene units (many small ones, a few large); one number is the largest (the smallest is a quarter of it). Default [0.4, 1.6].","anyOf":[{"type":"number"},{"$ref":"#/$defs/size_2"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"size_9":{"description":"Largest extent, scene units.","anyOf":[{"type":"number","exclusiveMinimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":4},"size_item":{"anyOf":[{"type":"number"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"soundsSchema":{"type":"object","description":"Per-card sound configuration. Overrides global sound settings for this card.","properties":{"enabled":{"type":"boolean","description":"Whether this card fires sounds. Set to false to completely silence this card. Default: true (omit to keep default)."},"card_tap":{"type":["string","null"],"description":"Asset key for card tap, or null to mute. Omit to use global scheme."},"card_hold":{"type":["string","null"],"description":"Asset key for card hold, or null to mute. Omit to use global scheme."},"card_double_tap":{"type":["string","null"],"description":"Asset key for card double-tap, or null to mute. Omit to use global scheme."},"card_hover":{"type":["string","null"],"description":"Asset key for card hover (desktop), or null to mute. Omit to use global scheme."},"slider_drag_start":{"type":["string","null"],"description":"Asset key for slider grab, or null to mute. Omit to use global scheme."},"slider_change":{"type":["string","null"],"description":"Asset key for slider value change, or null to mute. Omit to use global scheme."},"slider_drag_end":{"type":["string","null"],"description":"Asset key for slider release, or null to mute. Omit to use global scheme."},"toggle_on":{"type":["string","null"],"description":"Asset key for toggle-on, or null to mute. Omit to use global scheme."},"toggle_off":{"type":["string","null"],"description":"Asset key for toggle-off, or null to mute. Omit to use global scheme."}},"additionalProperties":false},"speed":{"description":"column: how fast the held bolts crawl (take a new shape) and flicker: 1 (default) as drawn, 0.5 half as fast, 0 still. Strikes are timed by rate and flash.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":1},"spin":{"description":"Turn round the object's own vertical axis, degrees per second (positive is prograde). Off under reduced motion.","anyOf":[{"type":"number"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"spoke_count":{"description":"pattern polar: spokes round the centre (meridians on a curved shape). Default 36 on a disc (line_spacing_deg wins there), 12 on a plane; on a dome, sphere, cylinder or well one meridian every line_spacing_deg (15 degrees by default) when left out.","anyOf":[{"type":"integer","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"src":{"type":"string","assetSource":"model","description":"The file: a model shipped with LCARdS (builtin:constitution_class_refit, builtin:galaxy_class, starships; builtin:deep_space_nine, builtin:earth_spacedock, builtin:utopia_planitia_drydock, starbases) or your own .glb / .gltf: from the My models folder (/config/www/lcards/models, media-source://lcards/my_models/<file>), or a path or URL. Meshopt compression works, Draco does not."},"stars":{"type":"object","additionalProperties":false,"properties":{"count":{"$ref":"#/$defs/stars_count"},"color":{"$ref":"#/$defs/stars_color"}},"description":"The stars."},"stars_color":{"description":"Their base colour. Default var(--lcards-moonlight).","anyOf":[{"$ref":"#/$defs/color_2"},{"$ref":"#/$defs/color_3"}]},"stars_count":{"description":"How many stars (at most 100,000). Far away fewer of them draw.","anyOf":[{"type":"integer","minimum":0,"maximum":100000},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":40000},"state-color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}]},"stateClassificationSchema":{"type":"object","description":"Override how raw entity states are mapped to style buckets. Use built-in buckets (active/inactive/default) or define your own named buckets. Explicit state keys in style config always take priority over this.","properties":{"active":{"type":"array","items":{"type":"string"},"description":"Additional states to classify as \"active\" (augments the built-in active list).","examples":[["home","work","gym"]]},"inactive":{"type":"array","items":{"type":"string"},"description":"States to explicitly classify as \"inactive\".","examples":[["not_home","away"]]},"else":{"type":"string","description":"Bucket for states not matched by any list (built-in or custom). Accepts built-in bucket names (active/inactive/default) or a custom bucket name. Defaults to \"inactive\" when omitted."}},"additionalProperties":{"type":"array","items":{"type":"string"},"description":"Custom bucket: an array of raw entity states that map to this bucket name."}},"strategies_lcars_readings_frame":{"type":"boolean","default":false,"description":"Draw a frame round the items in the look's style: classic, a bracket open on the right in pieces (a top sweep running on as the title bar, a bar down the left and a closing sweep, with small breaks between them); picard, a sweep along the top, left and bottom, open on the right."},"strategies_lcars_readings_item_height":{"type":"number","minimum":16,"maximum":400,"description":"Height of each row of items in px (in a readings table, of each line); every row is then exactly this tall, so sections side by side can line up. Default: what suits the section and look (readings 34, table lines 24, gauges 44 classic and 260 Picard, controls 48 classic and 28 Picard). Kept at least 20 for readings and Picard controls, 16 for table lines, 24 for classic gauges and controls, 120 for Picard column gauges."},"strategies_lcars_readings_look":{"type":"string","enum":["classic","picard"],"default":"classic","description":"The LCARS era the section is drawn in: classic (TNG-era pills, number columns and a bracket frame) or picard (column gauges, filled buttons, a readings table and a display sweep).","enumDescriptions":{"classic":"TNG-era pills and bars","picard":"Picard-era gauges, filled buttons and table"}},"strategies_lcars_readings_target":{"type":"object","description":"What the section shows, as in Home Assistant's Entities section: the matching entities of the areas, devices, floors, labels and entities named here (hidden and configuration entities left out unless named). Without a target the section shows a hint.","additionalProperties":false,"properties":{"entity_id":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Entities: one id or a list"},"device_id":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Devices: one id or a list"},"area_id":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Areas: one id or a list"},"floor_id":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Floors: one id or a list"},"label_id":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Labels (on entities, devices or areas): one id or a list"}}},"stretch":{"description":"Seeded clouds: how drawn out each one is, 0 (round, default) to 1 (long and flat), each turned its own way. Hand-placed clouds take size and rotation instead.","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"tail":{"type":"object","additionalProperties":false,"properties":{"length":{"$ref":"#/$defs/tail_length"}},"description":"Both tails."},"tail_length":{"description":"How far the tails reach away from the star, scene units (the dust tail fades sooner).","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":60},"thickness":{"description":"shape: whirlpool only: the disc's thickness as a fraction of the radius (it swells at the middle).","anyOf":[{"type":"number","minimum":0.01,"maximum":0.5},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0.12},"thickness_2":{"description":"How far the rocks spread above and below the plane, scene units. Default 0.15 of the band's width.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}]},"thickness_3":{"description":"The disc's thickness as a fraction of the radius.","anyOf":[{"type":"number","minimum":0,"maximum":0.5},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0.02},"triggersUpdateSchema":{"type":"array","items":{"type":"string","format":"entity","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"Entity ID whose state change should trigger a re-render","examples":["sensor.temperature"]},"description":"Extra entity IDs to watch for state changes. When any listed entity changes, all templates on this card are re-evaluated. Use this for JavaScript templates ([[[...]]]) that reference entities LCARdS cannot detect automatically via static analysis.","examples":[["sensor.outdoor_temperature"]]},"tumble":{"description":"How fast the rocks turn on their own axes, degrees per second (each a little faster or slower). 0: still. Off under reduced motion.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":30},"tumble_2":{"description":"How fast it turns on its own (seeded) axis, degrees per second. 0: still. Off under reduced motion.","anyOf":[{"type":"number"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":10},"turbulence":{"description":"How ragged the cloud edges are, 0 to 1.","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0.5},"veins":{"description":"shape: layers only: bright fine veins in the sheets' surfaces with darker gas between (liquid fire), 0 (none) to 1.","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"wake":{"type":"object","additionalProperties":false,"properties":{"side":{"$ref":"#/$defs/wake_side"},"lean":{"$ref":"#/$defs/wake_lean"}},"description":"shape: wake only: the sheet of gas trailing the ribbon."},"wake_lean":{"description":"How far it leans along the ribbon as it goes out, -1 to 1 (a fan trailing to one side seen from afar). Default 0: straight out.","anyOf":[{"type":"number","minimum":-1,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"wake_side":{"type":"string","enum":["up","down"],"default":"up","enumDescriptions":{"up":"Above the ribbon","down":"Below the ribbon"},"description":"Which way it trails: up (default, the ribbon near the bottom of the region) or down (the ribbon near the top). Turn the whole object with rotation to trail it another way."},"well":{"type":"object","additionalProperties":false,"properties":{"shape":{"$ref":"#/$defs/well_shape"},"throat":{"$ref":"#/$defs/well_throat"},"profile":{"$ref":"#/$defs/well_profile"},"to":{"$ref":"#/$defs/well_to"},"morph":{"$ref":"#/$defs/well_morph"}},"description":"well: the funnel's profile from the rim down: a named shape and its throat, or any profile."},"well_morph":{"description":"How far the well has changed from its shape (0) to to (1). Follows an entity smoothly, in place (as depth does): a wormhole opening and closing.","anyOf":[{"type":"number","minimum":0,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0},"well_profile":{"type":"array","items":{"type":"number","minimum":0},"minItems":2,"maxItems":32,"description":"Any profile: diameters as fractions of the rim from the rim down, evenly spaced along the depth; a smooth curve passes through each. [1, 0.4, 0.2, 0.15] is a trumpet, [1, 0.2, 1] an hourglass. Replaces shape."},"well_shape":{"type":"string","enum":["trumpet","cone","bowl","wormhole"],"default":"trumpet","description":"trumpet (a gravity well: flat at the rim, plunging to the throat), cone, bowl or wormhole (two trumpets throat to throat, the throat halfway down). profile replaces it.","enumDescriptions":{"trumpet":"Gravity well","cone":"Straight sides","bowl":"Rounded bottom","wormhole":"Hourglass"}},"well_throat":{"description":"Throat diameter as a fraction of the rim (shape).","anyOf":[{"type":"number","minimum":0.02,"maximum":1},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":0.15},"well_to":{"type":"object","additionalProperties":false,"description":"A second shape the well morphs toward with morph: { shape, throat } or { profile }, as the well's own. [0.02, 0.02] is a needle: the funnel draws into its centre (a wormhole closing).","properties":{"shape":{"type":"string","enum":["trumpet","cone","bowl","wormhole"],"description":"The shape it morphs toward. Default the well's shape."},"throat":{"type":"number","minimum":0.02,"maximum":1,"description":"Its throat diameter as a fraction of the rim. Default the well's throat."},"profile":{"type":"array","items":{"type":"number","minimum":0},"minItems":2,"maxItems":32,"description":"Its profile: diameters as fractions of the rim from the rim down. Replaces shape."}}},"width":{"description":"Line width, px.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":1.5},"width_2":{"description":"Glow width, px (the core stays thin).","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":12}},"cards":{"lcards-button":{"title":"LCARdS Button Card Configuration","description":"Complete configuration schema for lcards-button custom card","type":"object","properties":{"rules":{"$ref":"#/$defs/rules"},"sounds":{"$ref":"#/$defs/soundsSchema"},"variables":{"type":"object","description":"Your own named values, available to templates as variables.<name> and {variables.<name>}.","additionalProperties":true},"zones":{"$ref":"#/$defs/cards_lcards_button_zones"},"debug_zones":{"type":"boolean","description":"Outline every zone on the card (development aid)."},"type":{"type":"string","const":"custom:lcards-button","description":"Home Assistant card type identifier (required)"},"data_sources":{"$ref":"#/$defs/dataSourcesSchema"},"triggers_update":{"$ref":"#/$defs/triggersUpdateSchema"},"entity":{"type":"string","format":"entity","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"Home Assistant entity ID to control or monitor (format: domain.object_id)","examples":["light.living_room"]},"id":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","description":"Unique card identifier for rule targeting, animations, and debugging (alphanumeric, underscore, hyphen)","examples":["main-button"]},"tags":{"type":"array","items":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$"},"description":"LCARdS tags for rules: a rule on tag:<name> targets every card with the tag. Labels set in Home Assistant are separate; rules target those with ha_label:<label_id>.","examples":[["navigation","primary"]]},"height":{"$ref":"#/$defs/cardHeightSchema"},"width":{"$ref":"#/$defs/cardWidthSchema"},"min_height":{"$ref":"#/$defs/cardMinHeightSchema"},"min_width":{"$ref":"#/$defs/cardMinWidthSchema"},"max_height":{"$ref":"#/$defs/cardMaxHeightSchema"},"max_width":{"$ref":"#/$defs/cardMaxWidthSchema"},"overflow":{"type":"string","enum":["visible","hidden","clip","scroll","auto"],"description":"CSS overflow shorthand on the card host element (sets both axes unless overridden per-axis)."},"overflow_x":{"type":"string","enum":["visible","hidden","clip","scroll","auto"],"description":"CSS overflow-x on the card host element. Overrides the overflow shorthand for the horizontal axis."},"overflow_y":{"type":"string","enum":["visible","hidden","clip","scroll","auto"],"description":"CSS overflow-y on the card host element. Overrides the overflow shorthand for the vertical axis."},"z_index":{"type":"integer","description":"CSS z-index stacking order on the card host element."},"interactive":{"type":"boolean","description":"When false, hover colour changes and hover animations are suppressed. The cursor defaults to the arrow unless overridden via style.cursor. Tap/hold actions still fire if configured. Left out, a button is interactive when it has a tap, hold or double tap action, a component or SVG segments, an animation the pointer starts (on_tap, on_hover, ...), or an entity its default tap (toggle) can switch (lights, switches, input booleans, covers, locks, ...), and decorative (false) otherwise: a title, a filler, or a readout of a sensor or number."},"preset":{"type":"string","description":"Style preset name (button preset when used alone; component preset name when component is set)","examples":["lozenge"]},"component":{"type":"string","enum":["dpad","dpad_voyager","alert","brackets"],"description":"Component type (mutually exclusive with preset)","enumDescriptions":["D-pad directional control (up/down/left/right/center)","D-pad directional control, Voyager LCARS ring styling (up/down/left/right/center)","Alert symbol with animated bar segments (red/blue/green/yellow/grey/black)","Bracket arcs ( ) framing a round display; content in the center zone"]},"text":{"$ref":"#/$defs/cards_lcards_button_text"},"show_icon":{"type":"boolean","description":"Whether to show the icon. Default: the preset's setting (some presets show it), else false."},"icon_area":{"type":"string","enum":["left","right","top","bottom","none"],"default":"left","description":"Icon area position relative to main area","enumDescriptions":["Vertical bar on left side","Vertical bar on right side","Horizontal bar at top","Horizontal bar at bottom","No separate icon area (icon in main area)"]},"icon":{"type":"string","examples":["mdi:lightbulb"]},"icon_area_background":{"title":"Icon Area Background Colour","description":"Background colour for the icon area (supports state-based colours)","default":"transparent","$comment":"Icon area background is independent of main card background. Useful for creating visual separation.","oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}]},"icon_area_size":{"type":"number","minimum":20,"maximum":500,"description":"Fixed size for icon area in pixels (width for left/right, height for top/bottom). Default: the preset's size, else sized to the icon (icon size plus spacing on both sides plus the divider)."},"divider":{"type":"object","description":"Divider line between icon area and main area","examples":[{"width":2,"color":"#FF9900"}],"properties":{"width":{"type":"number","minimum":0,"maximum":200,"description":"Divider width in pixels (0 = no divider). Default: the preset's width, else the theme's, else 6."},"color":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Divider colour","examples":["#FF9900"]}}},"icon_style":{"type":"object","description":"Advanced icon styling configuration","examples":[{"color":"#FF9900","size":32,"position":"center"}],"properties":{"color":{"$ref":"#/$defs/state-color"},"icon":{"title":"State-Dependent Icons","description":"Override icon per entity state. Falls back to the top-level \"icon\" field when no state matches.","oneOf":[{"type":"string","title":"Single Icon","description":"One icon for all states","examples":["mdi:lightbulb"]},{"type":"object","title":"State-Dependent Icons","description":"Different icons for different entity states","examples":[{"active":"mdi:lightbulb","inactive":"mdi:lightbulb-off"}],"properties":{"default":{"type":"string","description":"Default icon (fallback when no other state matches)","examples":["mdi:lightbulb"]},"active":{"type":"string","description":"Icon when entity is on/active","examples":["mdi:lightbulb"]},"inactive":{"type":"string","description":"Icon when entity is off/inactive","examples":["mdi:lightbulb-off"]},"unavailable":{"type":"string","description":"Icon when entity is unavailable or unknown","examples":["mdi:help-circle-outline"]},"zero":{"type":"string","description":"Icon when entity state is numeric 0","examples":["mdi:numeric-0-circle"]},"non_zero":{"type":"string","description":"Icon when entity state is a non-zero number","examples":["mdi:numeric-positive-1"]}},"additionalProperties":{"type":"string","description":"Custom state icon (e.g., \"on\", \"off\", \"heat\", \"cool\")"}}]},"size":{"type":"number","minimum":8,"maximum":200,"default":24,"description":"Icon size in pixels (8-200, default: 24)"},"rotation":{"type":"number","minimum":-360,"maximum":360,"default":0,"description":"Icon rotation in degrees (-360 to 360)"},"position":{"type":"string","enum":["top-left","top-center","top-right","center-left","center","center-right","bottom-left","bottom-center","bottom-right","top","bottom","left","right","left-center","right-center"],"default":"center","description":"Icon position within icon area"},"x":{"type":"number","description":"Absolute X coordinate in pixels"},"y":{"type":"number","description":"Absolute Y coordinate in pixels"},"x_percent":{"type":"number","minimum":0,"maximum":100,"description":"X position as percentage (0-100)"},"y_percent":{"type":"number","minimum":0,"maximum":100,"description":"Y position as percentage (0-100)"},"spacing":{"type":"number","minimum":0,"maximum":100,"default":8,"description":"Spacing between icon and text in pixels (default: 8)"},"padding":{"$ref":"#/$defs/paddingSchema"},"padding_left":{"type":"number","minimum":0,"maximum":200,"description":"Left side of the per-side icon padding in pixels, for an icon placed in its icon area: a shorthand for padding.left, and wins over it. The other sides keep their own values."},"padding_right":{"type":"number","minimum":0,"maximum":200,"description":"Right side of the per-side icon padding in pixels, for an icon placed in its icon area: a shorthand for padding.right, and wins over it. The other sides keep their own values."},"padding_top":{"type":"number","minimum":0,"maximum":200,"description":"Top side of the per-side icon padding in pixels, for an icon placed in its icon area: a shorthand for padding.top, and wins over it. The other sides keep their own values."},"padding_bottom":{"type":"number","minimum":0,"maximum":200,"description":"Bottom side of the per-side icon padding in pixels, for an icon placed in its icon area: a shorthand for padding.bottom, and wins over it. The other sides keep their own values."}}},"style":{"type":"object","properties":{"cursor":{"type":"string","description":"CSS cursor style shown when hovering over the button. Overrides the automatic cursor derived from the interactive flag.","examples":["pointer"]},"card":{"type":"object","properties":{"color":{"type":"object","properties":{"background":{"$ref":"#/$defs/state-color"}}}}},"border":{"type":"object","properties":{"width":{"oneOf":[{"type":"number"},{"type":"string","description":"Theme token reference"},{"type":"object","properties":{"top":{"oneOf":[{"type":"number"},{"type":"string"}]},"right":{"oneOf":[{"type":"number"},{"type":"string"}]},"bottom":{"oneOf":[{"type":"number"},{"type":"string"}]},"left":{"oneOf":[{"type":"number"},{"type":"string"}]}}}]},"color":{"$ref":"#/$defs/state-color"},"radius":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"description":"Corner radius in pixels. Default: the preset's radius, else 20."},{"type":"string","pattern":"^(theme:.+|var\\(--.*\\)|\\d+(\\.\\d+)?(px)?)$","description":"A theme token (theme: and its path), a CSS variable or a px value"},{"type":"object","properties":{"top_left":{"oneOf":[{"type":"number"},{"type":"string"}]},"top_right":{"oneOf":[{"type":"number"},{"type":"string"}]},"bottom_right":{"oneOf":[{"type":"number"},{"type":"string"}]},"bottom_left":{"oneOf":[{"type":"number"},{"type":"string"}]}}}]}}},"text":{"type":"object","properties":{"default":{"type":"object","properties":{"color":{"$ref":"#/$defs/state-color"},"font_size":{"oneOf":[{"type":"number"},{"type":"string","description":"CSS value or theme token (e.g., \"14px\", \"var(--lcars-text-size)\")"}]},"font_weight":{"type":["string","number"]},"font_family":{"type":"string","format":"font-family"},"letter_spacing":{"type":["number","string"],"description":"Space between letters: px (a number) or a CSS letter-spacing such as 0.1em or 2px. Default normal.","examples":[1]},"text_transform":{"type":"string","enum":["none","uppercase","lowercase","capitalize"],"description":"Case for every text field that sets none of its own: none, uppercase, lowercase or capitalize."}}}}}}},"tap_action":{"$ref":"#/$defs/action"},"hold_action":{"$ref":"#/$defs/action"},"double_tap_action":{"$ref":"#/$defs/action"},"animations":{"$ref":"#/$defs/cards_lcards_button_animations"},"background_animation":{"$ref":"#/$defs/background-animation"},"shape_texture":{"type":"object","description":"SVG-native texture/animation rendered inside the button shape boundary","properties":{"preset":{"type":"string","description":"Texture preset name","enum":["grid","diagonal","hexagonal","dots","fluid","shimmer","plasma","flow","level","pulse","scanlines","image"]},"opacity":{"description":"Texture opacity (0-1). Supports state-based object.","oneOf":[{"type":"number","minimum":0,"maximum":1},{"type":"object","description":"State-based values: keys are states (default, active, inactive, unavailable, ...), values are numbers"}]},"speed":{"description":"Animation speed multiplier. Supports state-based object.","oneOf":[{"type":"number","minimum":0},{"type":"object"}]},"mix_blend_mode":{"type":"string","description":"CSS mix-blend-mode for texture blending","enum":["normal","multiply","screen","overlay","hard-light","soft-light","color-burn","color-dodge"]},"config":{"type":"object","description":"Preset-specific configuration. Supports entity-reactive values: map_range descriptor ({ map_range: { attribute, input, output } }) or template strings ([[[...]]]), including { template, default } form for numeric params like fill_pct.","additionalProperties":true}},"additionalProperties":false},"filters":{"type":"array","description":"Visual filters applied to entire button (CSS and SVG filter primitives)","items":{"$ref":"#/$defs/filter"}},"svg":{"type":"object","properties":{"content":{"type":"string"},"src":{"type":"string"},"viewBox":{"type":"string"},"preserveAspectRatio":{"type":"string"},"enable_tokens":{"type":"boolean"},"allow_scripts":{"type":"boolean"},"segments":{"type":"object","description":"Segment configurations keyed by ID. Use \"default\" for shared config.","properties":{"default":{"type":"object","description":"Default configuration inherited by all segments","properties":{"entity":{"type":"string","format":"entity","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"Entity ID (format: domain.object_id)","examples":["light.living_room"]},"tap_action":{"$ref":"#/$defs/action"},"hold_action":{"$ref":"#/$defs/action"},"double_tap_action":{"$ref":"#/$defs/action"},"style":{"$ref":"#/$defs/cards_lcards_button_svg_segments_default_style"},"animations":{"$ref":"#/$defs/cards_lcards_button_animations"}}}},"additionalProperties":{"type":"object","description":"Per-segment configuration (overrides default)","properties":{"selector":{"type":"string","description":"CSS selector override (defaults to \"#<segment-id>\")"},"entity":{"type":"string","format":"entity","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"Entity ID (format: domain.object_id)","examples":["light.living_room"]},"tap_action":{"$ref":"#/$defs/action"},"hold_action":{"$ref":"#/$defs/action"},"double_tap_action":{"$ref":"#/$defs/action"},"style":{"$ref":"#/$defs/cards_lcards_button_svg_segments_default_style"},"animations":{"$ref":"#/$defs/cards_lcards_button_animations"}}}}}},"alert":{"type":"object","description":"Alert component configuration","properties":{"color":{"type":"object","description":"Colour shorthand: overrides the active preset's colours","properties":{"shape":{"type":"string","description":"Fill colour for the shield shape","examples":["var(--lcards-orange)"]},"bars":{"type":"string","description":"Stroke colour for the bar lines","examples":["var(--lcards-orange)"]}}},"custom_presets":{"type":"object","description":"Custom or override presets (merged over built-ins)","additionalProperties":{"type":"object","properties":{"segments":{"type":"object","properties":{"shape":{"type":"object","properties":{"style":{"type":"object","properties":{"fill":{"type":"string"}}}}},"bars":{"type":"object","properties":{"style":{"type":"object","properties":{"stroke":{"type":"string"}}}}}}},"text":{"type":"object","additionalProperties":{"type":"object","properties":{"content":{"type":"string"},"color":{"type":"string"}}}}}}},"segments":{"type":"object","description":"Per-segment fine-grained overrides (managed by Segments tab)","additionalProperties":{"type":"object","properties":{"style":{"type":"object","properties":{"fill":{"type":"string"},"stroke":{"type":"string"}}}}}}}},"dpad":{"type":"object","properties":{"segments":{"type":"object","description":"Segment configurations. Use \"default\" key for common properties applied to all segments. Other keys are segment IDs (up, down, left, right, up-left, up-right, down-left, down-right, center).","additionalProperties":{"$ref":"#/$defs/cards_lcards_button_dpad_segments_value"}}}},"ranges_attribute":{"type":"string","description":"Entity attribute to use as the numeric value for ALL state-based range conditions (above:/below:/between: keys) across the entire card: icon_style.icon, icon_style.color, text color, background, border, and config.ranges preset switching. Use \"brightness_pct\" for a computed 0-100 light brightness value. Defaults to evaluating the raw entity state string.","examples":["brightness_pct"]},"state_attribute":{"$ref":"#/$defs/cards_lcards_button_state_attribute"},"state_classification":{"$ref":"#/$defs/stateClassificationSchema"},"ranges":{"type":"array","description":"State-driven preset switching: evaluates entity value against thresholds and applies matching preset","items":{"type":"object","required":["preset"],"properties":{"preset":{"type":"string","description":"Component preset name to apply when this range matches"},"attribute":{"type":"string","description":"Override ranges_attribute for this entry only"},"above":{"type":"number","description":"Match when value is > this threshold (strictly greater)"},"at_least":{"type":"number","description":"Match when value is >= this threshold (inclusive)"},"below":{"type":"number","description":"Match when value is < this threshold (strictly less)"},"at_most":{"type":"number","description":"Match when value is <= this threshold (inclusive)"},"equals":{"description":"Match when value equals this (string comparison)","type":["string","number","boolean"]},"color":{"type":"object","description":"Transient segment colour overrides applied while this range is active","properties":{"shape":{"type":"string","description":"Override fill for the shape segment"},"bars":{"type":"string","description":"Override stroke for the bars segment"}}}},"additionalProperties":false}},"grid_options":{"$ref":"#/$defs/gridOptionsSchema"},"dpad_voyager":{"type":"object","properties":{"segments":{"type":"object","description":"Segment configurations. Use \"default\" for all segments; other keys are segment IDs (every shape of the artwork, e.g. center, up_arrow, down_arrow, left_arrow, right_arrow, up_left, up_right, down_left, down_right, up_ring, ring_up_1, top_bar_1, accent_1).","additionalProperties":{"$ref":"#/$defs/cards_lcards_button_dpad_segments_value"}}},"description":"dpad_voyager component configuration"},"brackets":{"type":"object","properties":{"segments":{"type":"object","description":"Segment configurations. Use \"default\" for all segments; other keys are segment IDs (left, right).","additionalProperties":{"$ref":"#/$defs/cards_lcards_button_dpad_segments_value"}}},"description":"brackets component configuration"},"view_layout":{"type":"object","additionalProperties":true,"description":"Placement in a custom view layout (e.g. grid-area), read by the view."},"visibility":{"type":"array","description":"Home Assistant visibility conditions: the card shows only while they hold."},"layout_options":{"type":"object","additionalProperties":true,"description":"The older name of grid_options, read by Home Assistant."},"card_mod":{"type":"object","additionalProperties":true,"description":"card-mod styling, read by card-mod."},"uix":{"type":"object","additionalProperties":true,"description":"UIX styling, read by UIX."}}},"lcards-slider":{"title":"LCARdS Slider Card Configuration","description":"Complete configuration schema for lcards-slider custom card","type":"object","properties":{"rules":{"$ref":"#/$defs/rules"},"sounds":{"$ref":"#/$defs/soundsSchema"},"variables":{"type":"object","description":"Your own named values, available to templates as variables.<name> and {variables.<name>}.","additionalProperties":true},"zones":{"$ref":"#/$defs/cards_lcards_button_zones"},"debug_zones":{"type":"boolean","description":"Outline every zone on the card (development aid)."},"shape":{"type":"string","default":"console","enum":["console","column"],"description":"The Picard gauge drawn: console (the wide console slider with notched caps, range column and solid bar) or column (the narrow Titan gauge: a number cap at each end, a bracket line, the bar, a range strip and ticks with their numbers). Used by component: picard."},"show_animation":{"type":"boolean","default":true,"description":"Show pulsing animation indicators in top-left. Used by component: picard, demo."},"animation_speed":{"type":"number","default":2,"minimum":0.1,"maximum":10,"description":"Animation pulse speed in seconds. Used by component: picard, demo."},"show_decorations":{"type":"boolean","default":true,"description":"Show decorative border elements. Used by component: demo."},"show_grid":{"type":"boolean","default":false,"description":"Show layout grid lines. Used by component: demo."},"show_zone_markers":{"type":"boolean","default":false,"description":"Show zone boundary markers. Used by component: demo."},"decoration_size":{"type":"number","default":10,"minimum":5,"maximum":30,"description":"Size of decorative elements in pixels. Used by component: demo."},"border_thickness":{"type":"number","default":5,"minimum":0,"maximum":20,"description":"Border thickness in pixels. Used by component: demo."},"decoration_color":{"type":"string","default":"#66ccff","description":"Colour of decorative elements. Used by component: demo."},"type":{"type":"string","const":"custom:lcards-slider","description":"Home Assistant card type identifier (required)"},"data_sources":{"$ref":"#/$defs/dataSourcesSchema"},"triggers_update":{"$ref":"#/$defs/triggersUpdateSchema"},"entity":{"type":"string","format":"entity","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"Home Assistant entity ID to control or monitor (format: domain.object_id)","examples":["light.living_room"]},"ranges_attribute":{"$ref":"#/$defs/cards_lcards_slider_ranges_attribute"},"state_attribute":{"$ref":"#/$defs/cards_lcards_button_state_attribute"},"state_classification":{"$ref":"#/$defs/stateClassificationSchema"},"id":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","description":"Unique card identifier for rule targeting, animations, and debugging (alphanumeric, underscore, hyphen)","examples":["main-button"]},"tags":{"type":"array","items":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$"},"description":"LCARdS tags for rules: a rule on tag:<name> targets every card with the tag. Labels set in Home Assistant are separate; rules target those with ha_label:<label_id>.","examples":[["navigation","primary"]]},"height":{"$ref":"#/$defs/cardHeightSchema"},"width":{"$ref":"#/$defs/cardWidthSchema"},"min_height":{"$ref":"#/$defs/cardMinHeightSchema"},"min_width":{"$ref":"#/$defs/cardMinWidthSchema"},"max_height":{"$ref":"#/$defs/cardMaxHeightSchema"},"max_width":{"$ref":"#/$defs/cardMaxWidthSchema"},"overflow":{"type":"string","enum":["visible","hidden","clip","scroll","auto"],"description":"CSS overflow shorthand on the card host element (sets both axes unless overridden per-axis)."},"overflow_x":{"type":"string","enum":["visible","hidden","clip","scroll","auto"],"description":"CSS overflow-x on the card host element. Overrides the overflow shorthand for the horizontal axis."},"overflow_y":{"type":"string","enum":["visible","hidden","clip","scroll","auto"],"description":"CSS overflow-y on the card host element. Overrides the overflow shorthand for the vertical axis."},"z_index":{"type":"integer","description":"CSS z-index stacking order on the card host element."},"preset":{"type":"string","enum":["pills-basic","pills-left-border","gauge-basic","gauge-left-border","pills-left-border-rounded","gauge-left-border-rounded","shaped-vertical","shaped-horizontal","ring","picard-ring","picard-gauge-vertical","picard-gauge-column"],"description":"Style preset name (mutually exclusive with advanced component)","examples":["pills-basic"]},"component":{"type":"string","enum":["default","picard","demo","shaped","ring"],"description":"Advanced SVG component name (provides the SVG shell)","examples":["default"]},"control":{"type":"object","description":"Control behavior configuration","properties":{"min":{"type":"number","description":"Minimum value","examples":[0]},"max":{"type":"number","description":"Maximum value","examples":[100]},"step":{"type":"number","minimum":0.01,"description":"Step increment","examples":[1]},"attribute":{"type":"string","description":"Entity attribute the slider shows and sets. Default per domain: light brightness, cover current_position, fan percentage, climate and water_heater temperature, media_player volume_level, humidifier humidity, valve current_valve_position; input_number and number use their state. Also settable: light color_temp_kelvin, cover current_tilt_position, climate target_temp_low, target_temp_high and humidity. Any other attribute is shown read-only.","examples":["brightness"]},"locked":{"type":"boolean","description":"true: the slider only shows the value. Default false when the slider can set its attribute (see attribute), else true; a slider that can set nothing stays read-only even with false.","examples":[true]},"live_update":{"type":"boolean","description":"The entity follows the handle while it is dragged, not only when it is let go: one call at a time, at most five a second, the last value always sent on release. Default true for a light (brightness, colour temperature and any other light attribute), false for every other domain (a thermostat, a cover motor or an automation on an input_number would get a burst of changes). A light is not switched off mid-drag at the bottom of the brightness range; letting go there does.","examples":[true]},"invert_value":{"type":"boolean","default":false,"description":"Swap the ends: the slider at its minimum position sets the maximum, so dragging right (or up) lowers the value. The drag badge and the scale still show the entity's own value.","examples":[false]}}},"text":{"$ref":"#/$defs/cards_lcards_button_text"},"style":{"type":"object","description":"Visual style configuration","properties":{"track":{"type":"object","description":"Track appearance configuration","properties":{"display":{"type":"object","description":"Visual display range configuration (what pills/gauge render). Defaults to control range if not specified.","properties":{"min":{"type":"number","description":"Minimum value shown on visual scale (default: control.min)","examples":[0]},"max":{"type":"number","description":"Maximum value shown on visual scale (default: control.max)","examples":[100]},"unit":{"type":"string","description":"Display unit for labels (overrides entity unit_of_measurement)","examples":["°C"]}}},"type":{"type":"string","enum":["pills","gauge","shaped"],"description":"Track visual style (pills = segmented, gauge = ruler, shaped = solid fill inside a clip-path shape)","enumDescriptions":["Segmented pill style (interactive sliders)","Ruler gauge style (typically for display)","Solid fill clipped to a shape boundary (use with component: shaped)"]},"height":{"oneOf":[{"type":"number","minimum":10,"maximum":200,"description":"Track height in pixels"},{"type":"string","pattern":"^(\\d+px|\\d+\\.?\\d*rem|theme:)","description":"CSS value or theme token","examples":["40px"]}]},"margin":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"description":"Track margin in pixels (applies to all sides)","examples":[10]},{"type":"object","description":"Per-side margin configuration","properties":{"top":{"type":"number","minimum":0,"maximum":100,"description":"Top margin in pixels"},"right":{"type":"number","minimum":0,"maximum":100,"description":"Right margin in pixels"},"bottom":{"type":"number","minimum":0,"maximum":100,"description":"Bottom margin in pixels"},"left":{"type":"number","minimum":0,"maximum":100,"description":"Left margin in pixels"}},"examples":[{"top":10,"right":5,"bottom":10,"left":5}]}]},"orientation":{"type":"string","enum":["horizontal","vertical"],"default":"horizontal","description":"Slider orientation - affects track rendering direction","enumDescriptions":["Horizontal slider (left to right)","Vertical slider (bottom to top)"]},"invert_fill":{"type":"boolean","default":false,"description":"Turn the track round: the fill, the drag direction and the scale start from the other end (right, or top when upright) instead of left or bottom.","examples":[false]},"segments":{"type":"object","description":"Pills/segments configuration (for type: pills)","properties":{"enabled":{"type":"boolean","default":true,"description":"Enable segmented pills"},"count":{"type":"number","minimum":2,"maximum":200,"description":"Number of pills, stretched to fill the track. Unset: as many pills of size.width (or size.height upright) as fit."},"gap":{"oneOf":[{"type":"number","minimum":0,"maximum":50,"default":4,"description":"Gap between pills in pixels"},{"type":"string","pattern":"^(\\d+px|theme:|\\{theme:)","description":"CSS value or theme token"}]},"shape":{"type":"object","properties":{"radius":{"oneOf":[{"type":"number","minimum":0,"maximum":50,"description":"Pill corner radius in pixels (the pills presets use 0)."},{"type":"string","pattern":"^(\\d+px|theme:)","description":"CSS value or theme token"}]}}},"size":{"type":"object","description":"Pill dimensions (width for horizontal, height for vertical)","properties":{"width":{"type":"number","minimum":1,"maximum":200,"default":12,"description":"Fixed width of each pill in horizontal mode (pixels)"},"height":{"type":"number","minimum":1,"maximum":200,"default":12,"description":"Fixed height of each pill in vertical mode (pixels)"}}},"gradient":{"type":"object","description":"Colour gradient configuration","properties":{"start":{"$ref":"#/$defs/state-color"},"end":{"$ref":"#/$defs/state-color"}}},"appearance":{"type":"object","properties":{"unfilled":{"type":"object","properties":{"opacity":{"type":"number","minimum":0,"maximum":1}}},"filled":{"type":"object","properties":{"opacity":{"type":"number","minimum":0,"maximum":1}}}}}}}}},"gauge":{"type":"object","description":"Gauge-specific configuration (for type: gauge)","properties":{"progress_bar":{"type":"object","description":"Progress indicator bar","properties":{"color":{"$ref":"#/$defs/state-color"},"layer":{"type":"string","enum":["background","foreground"],"default":"background"},"height":{"oneOf":[{"type":"number","minimum":1,"maximum":100},{"type":"string"}]},"align":{"type":"string","enum":["start","middle","end"],"default":"middle"},"padding":{"type":"object","description":"Padding to offset from aligned position","properties":{"top":{"type":"number","minimum":0},"right":{"type":"number","minimum":0},"bottom":{"type":"number","minimum":0},"left":{"type":"number","minimum":0}}},"background":{"type":"object","description":"Background track drawn behind the progress bar fill, clamped to control range. Leave unset for no background.","properties":{"color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Background track colour. Supports state-based maps."},"height":{"oneOf":[{"type":"number","minimum":1,"maximum":100},{"type":"string"}]},"radius":{"oneOf":[{"type":"number","minimum":0},{"type":"object","properties":{"start":{"type":"number","minimum":0},"end":{"type":"number","minimum":0}}}]},"min":{"type":"number"},"max":{"type":"number"}}},"radius":{"oneOf":[{"type":"number","minimum":0},{"type":"object","properties":{"start":{"type":"number","minimum":0,"description":"Radius on start end (left for horizontal, bottom for vertical)"},"end":{"type":"number","minimum":0,"description":"Radius on end (right for horizontal, top for vertical)"}}}]}}},"scale":{"type":"object","description":"Gauge scale configuration","properties":{"tick_marks":{"type":"object","properties":{"major":{"type":"object","properties":{"enabled":{"type":"boolean"},"interval":{"type":"number","exclusiveMinimum":0,"description":"Value units between major tick marks (default 10); fractions such as 0.5 work for small ranges, and the labels show as many decimals as the interval. Widened to fit when the range is too large for the track"},"color":{"$ref":"#/$defs/state-color"},"height":{"type":"number"},"width":{"type":"number"}}},"minor":{"type":"object","properties":{"enabled":{"type":"boolean"},"interval":{"type":"number","exclusiveMinimum":0,"description":"Value units between minor tick marks (default 2); fractions such as 0.5 work for small ranges. Widened to fit when the range is too large for the track"},"color":{"$ref":"#/$defs/state-color"},"height":{"type":"number"},"width":{"type":"number"}}}}},"labels":{"type":"object","properties":{"enabled":{"type":"boolean"},"show_unit":{"type":"boolean","description":"Show unit suffix on scale labels. Set false to hide even when entity has unit_of_measurement.","examples":[true]},"unit":{"type":"string","description":"Unit suffix for labels. Takes priority over entity unit_of_measurement.","examples":["°C"]},"color":{"$ref":"#/$defs/state-color"},"font_size":{"type":"number","minimum":1,"default":14,"description":"Label size, px."},"padding":{"type":"number","default":3,"description":"Space between a tick and its label, px."},"align":{"type":"string","enum":["start","end"],"default":"end","description":"Where the labels sit across the track: end at the far edge (right of an upright gauge, bottom of a level one), start beside the ticks, so a narrow gauge stays one column in a wide card.","enumDescriptions":{"start":"Beside the ticks","end":"At the far edge"}}}}}},"indicator":{"type":"object","description":"Current value indicator configuration","properties":{"enabled":{"type":["boolean","string"],"description":"Show/hide current value indicator. Also accepts a Jinja2/JS template string resolving to a boolean (e.g. \"{{ not is_state('sensor.x', 'unavailable') }}\") for state-driven visibility."},"type":{"type":"string","enum":["line","round","triangle"],"description":"Indicator shape type"},"size":{"type":"object","description":"Indicator dimensions","properties":{"width":{"type":"number","minimum":0,"description":"Indicator width in pixels (or rx for round type)"},"height":{"type":"number","minimum":0,"description":"Indicator height in pixels (or ry for round type)"}}},"rotation":{"type":"number","minimum":-180,"maximum":180,"default":0,"description":"Rotation angle in degrees (for triangle type)"},"offset":{"type":"object","description":"Position offset relative to progress bar end","properties":{"x":{"type":"number","description":"Horizontal offset in pixels"},"y":{"type":"number","description":"Vertical offset in pixels"}}},"color":{"$ref":"#/$defs/state-color"},"border":{"type":"object","description":"Indicator border configuration","properties":{"enabled":{"type":"boolean","description":"Enable indicator border"},"width":{"type":"number","minimum":0,"description":"Border width in pixels"},"color":{"$ref":"#/$defs/state-color"}}}}},"marker_indicator":{"type":"object","description":"Default shape for value-marker indicators (ranges with a \"value\" key). Overrides global defaults for this preset/component. Can still be overridden per-range via the range's own \"indicator\" block. Defaults: type=triangle, size=20×20, rotation=180.","properties":{"type":{"type":"string","enum":["line","round","triangle"],"description":"Marker indicator shape type (default: triangle)"},"align":{"type":"string","enum":["start","center","end"],"default":"start","description":"Cross-axis alignment within the track zone. start (default)=left edge (vertical)/top (horizontal), center=middle, end=right/bottom. On a ring each marker type has its own default (line start, triangle end, round center)."},"size":{"type":"object","properties":{"width":{"type":"number","minimum":0,"description":"Width in pixels"},"height":{"type":"number","minimum":0,"description":"Height in pixels"}}},"rotation":{"type":"number","minimum":-180,"maximum":180,"default":180,"description":"Rotation in degrees (default: 180, triangle points toward ticks)"},"offset":{"type":"object","description":"Fine-tune position within the track zone after align is applied. offset.x=minorHeight+trimWidth (default 20) places the triangle tip at the outer edge of minor ticks when align=start.","properties":{"x":{"type":"number","description":"Horizontal offset in pixels"},"y":{"type":"number","description":"Vertical offset in pixels"}}},"color":{"$ref":"#/$defs/state-color"},"border":{"type":"object","properties":{"enabled":{"type":"boolean"},"width":{"type":"number","minimum":0},"color":{"$ref":"#/$defs/state-color"}}}}}}},"border":{"type":"object","description":"Per-side border configuration with optional corner radius","properties":{"radius":{"oneOf":[{"type":"number","minimum":0,"description":"Uniform corner radius in pixels applied to all four card corners","examples":[12]},{"type":"string","description":"CSS variable or px/rem value for uniform corner radius, resolved at render time","examples":["var(--ha-card-border-radius, var(--ha-border-radius-lg))"]},{"type":"object","description":"Per-corner radius: use to round only specific corners (e.g. only the free end on a bordered LCARS slider). Each corner also accepts a CSS variable string.","properties":{"top_left":{"oneOf":[{"type":"number","minimum":0},{"type":"string"}]},"top_right":{"oneOf":[{"type":"number","minimum":0},{"type":"string"}]},"bottom_right":{"oneOf":[{"type":"number","minimum":0},{"type":"string"}]},"bottom_left":{"oneOf":[{"type":"number","minimum":0},{"type":"string"}]}}}],"description":"Corner radius: number or CSS variable string for uniform rounding, or per-corner object. Supports var(--ha-card-border-radius), px values, and rem values.","examples":[12]},"left":{"type":"object","description":"Left border cap configuration","properties":{"enabled":{"type":"boolean","description":"Enable left border"},"size":{"type":"number","minimum":0,"description":"Border width in pixels"},"color":{"$ref":"#/$defs/state-color"}}},"top":{"type":"object","description":"Top border cap configuration","properties":{"enabled":{"type":"boolean","description":"Enable top border"},"size":{"type":"number","minimum":0,"description":"Border height in pixels"},"color":{"$ref":"#/$defs/state-color"}}},"right":{"type":"object","description":"Right border cap configuration","properties":{"enabled":{"type":"boolean","description":"Enable right border"},"size":{"type":"number","minimum":0,"description":"Border width in pixels"},"color":{"$ref":"#/$defs/state-color"}}},"bottom":{"type":"object","description":"Bottom border cap configuration","properties":{"enabled":{"type":"boolean","description":"Enable bottom border"},"size":{"type":"number","minimum":0,"description":"Border height in pixels"},"color":{"$ref":"#/$defs/state-color"}}}}},"range":{"type":"object","description":"Visual styling for range-band frame/border elements (used by components like Picard that render a decorative frame around the ranges track).","properties":{"border":{"type":"object","description":"Picard: the lines between the range bands in its range column.","properties":{"color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Colour of the lines between the bands (default: theme:components.slider.range.border.color)."},"gap":{"type":"number","minimum":0,"default":2,"description":"Width of those lines, px."}}},"frame":{"type":"object","description":"Range track frame styling (decorative outline, e.g. Picard component)","properties":{"color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Range frame colour. Falls back to the top border colour if unset."}}}}},"solid_bar":{"type":"object","description":"Solid value-bar styling (used by components with a dedicated solid-bar zone, e.g. Picard).","properties":{"color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Solid bar colour. Falls back to the top border colour if unset."}}},"animation":{"type":"object","description":"Styling for the built-in scanning/activity animation indicator (used by components like Picard/Demo).","properties":{"indicator":{"type":"object","properties":{"color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Animation indicator colour (default: theme:components.slider.animation.indicator.color)"}}}}},"ranges":{"type":"array","description":"Colour-coded value ranges and point markers.\n\nTwo item types:\n• Band range (min+max): coloured background zone, rect in gauge mode, segment overrides in pills mode.\n• Value marker (value): live point indicator, triangle on gauge ticks, highlighted pill in pills mode.\n\nmin/max/value resolve static numbers, {entity.state}/{entity.attributes.x}/{states.domain.object_id.state} tokens, {datasource:name}, {config.x}/{variables.x} tokens, theme token references, and [[[JS]]], evaluated synchronously (no Jinja2; see range.label.text for full Jinja2/DataSource async support on the label caption).","items":{"type":"object","properties":{"min":{"type":["number","string"],"description":"Range start value (in display space). Supports static numbers or templates: {entity.state}, {entity.attributes.xxx}, {states.domain.object_id.state}, {datasource:name}, {config.x}, {variables.x}, [[[JS return expr]]]. (Synchronous only; no Jinja2.)","examples":[0]},"max":{"type":["number","string"],"description":"Range end value (in display space). Supports static numbers or templates: {entity.state}, {entity.attributes.xxx}, {states.domain.object_id.state}, {datasource:name}, {config.x}, {variables.x}, [[[JS return expr]]]. (Synchronous only; no Jinja2.)","examples":[20]},"color":{"$ref":"#/$defs/state-color"},"opacity":{"type":"number","minimum":0,"maximum":1,"default":0.3,"description":"Band opacity (0=transparent, 1=solid). Default 0.3 in gauge mode, 1 for the shaped and ring components."},"value":{"type":["string","number"],"description":"Numeric value or template resolving to a position on the track. When present (instead of min/max), renders a point marker rather than a coloured band. Supports {entity.state}, {entity.attributes.xxx}, {states.domain.object_id.state}, {datasource:name}, {config.x}, {variables.x}, and [[[JS]]] templates. (Synchronous only; no Jinja2.)"},"indicator":{"type":"object","description":"Per-marker indicator shape. Gauge mode: fallback chain this block → style.gauge.marker_indicator (preset default) → hardcoded defaults (triangle 20×20, rotation 180, no border). Ring (component: ring): type line (default, a radial line from the inner edge past the ring), triangle (outside the ring, pointing at it) or round (a dot on the band); align start/center/end anchors it at the inner edge, the band middle or the outer edge; size, color, border and offset.y (radial shift, positive outward) apply; rotation follows the ring.","properties":{"type":{"type":"string","enum":["line","round","triangle"],"description":"Indicator shape type (default: triangle on a gauge, line on a ring)"},"align":{"type":"string","enum":["start","center","end"],"description":"Cross-axis alignment: start=left/top edge, center=middle, end=right/bottom. Overrides the preset marker_indicator.align for this range only. Default: marker_indicator.align (start) on a gauge; on a ring per type (line start, triangle end, round center)."},"color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Indicator fill color (defaults to range color). Supports state-object syntax ({ active, inactive, above:N, … }) and theme:/var()/computed colour tokens."},"size":{"type":"object","properties":{"width":{"type":"number","description":"Width in pixels"},"height":{"type":"number","description":"Height in pixels"}}},"offset":{"type":"object","properties":{"x":{"type":"number","description":"Horizontal offset in pixels"},"y":{"type":"number","description":"Vertical offset in pixels"}}},"rotation":{"type":"number","description":"Rotation angle in degrees"},"border":{"type":"object","properties":{"enabled":{"type":"boolean","default":false,"description":"Draw an outline on the marker (default false)"},"color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Outline colour. Default theme:components.slider.indicator.border.color."},"width":{"type":"number","description":"Outline width in pixels (default 1)"}}}}},"pill_style":{"type":"object","description":"Pills mode: visual appearance of the marker pill.","properties":{"stroke":{"type":"boolean","default":true,"description":"Show an outline border on the marker pill to distinguish it from neighbours"},"stroke_width":{"type":"number","default":2,"description":"Border thickness in pixels"},"stroke_color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Outline border colour. Falls back to the pill fill colour (range.color) if unset."}}},"label":{"type":"object","description":"Optional text caption shown next to the marker (gauge mode), the highlighted pill (pills mode) or outside the ring beyond the marker (ring).","properties":{"text":{"type":"string","description":"Label text. Supports the full template system: {entity.attributes.xxx} / {states.entity_id.state} tokens, {{ Jinja2 }}, [[[ JS ]]], and {datasource:name} references, or a plain static string."},"color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"State-based colour of the label text. Falls back to theme:components.slider.indicator.label.color."},"font_size":{"type":"number","description":"Label font size in pixels. Defaults to the gauge tick-label size."},"offset":{"type":"object","description":"Pixel offset from the marker’s default label position (above the marker in horizontal orientation, beside it in vertical).","properties":{"x":{"type":"number","description":"Horizontal offset in pixels"},"y":{"type":"number","description":"Vertical offset in pixels"}}}}}}},"examples":[[{"min":0,"max":20,"color":"var(--error-color)","opacity":0.3},{"min":20,"max":80,"color":"var(--success-color)","opacity":0.3},{"min":80,"max":100,"color":"var(--warning-color)","opacity":0.3}]]},"ring":{"type":"object","description":"Ring gauge configuration (used with component: ring). Angles are in degrees, 0 = top, clockwise; the value arc fills from start_angle to end_angle.","properties":{"start_angle":{"type":"number","default":-135,"description":"Angle where the ring starts (the minimum), in degrees: 0 = top, 90 = right, -90 = left. Default -135."},"end_angle":{"type":"number","default":135,"description":"Angle where the ring ends (the maximum), in degrees, clockwise from start_angle. An end at or before the start wraps round; equal angles draw a full ring. Default 135 (a 270 degree sweep with the gap at the bottom)."},"thickness":{"oneOf":[{"type":"number","minimum":1,"description":"Thickness in pixels"},{"type":"string","pattern":"^\\d+(\\.\\d+)?(%|px)$","description":"Percentage of the ring diameter (e.g. 12%) or pixels (e.g. 14px)"}],"default":"12%","description":"Ring band thickness: a percentage of the ring diameter (e.g. 12%) or pixels (a number or e.g. 14px). Default 12%.","examples":["12%"]},"cap":{"type":"string","enum":["round","flat"],"default":"round","description":"Ends of the track and value arcs: round or flat. Default round.","enumDescriptions":["Rounded ends","Square-cut ends"]},"track":{"type":"object","description":"The unfilled ring (the whole sweep, under the value arc)","properties":{"color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Track colour. Supports state-object syntax and theme:/var()/computed colour tokens. Default theme:components.slider.ring.track.color."}}},"fill":{"type":"object","description":"The value arc","properties":{"color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Value arc colour. Supports state-object syntax ({ active, inactive, above:N, ... }) and theme:/var()/computed colour tokens. Default theme:components.slider.ring.fill.color."}}},"scale":{"type":"object","description":"Ticks and value labels outside the ring: the same keys as style.gauge.scale. A tick level, or the labels, shows when its block is set.","properties":{"tick_marks":{"type":"object","description":"Major and minor tick marks at value intervals","properties":{"major":{"type":"object","description":"Major ticks. Shown when this block is set (enabled defaults to true).","properties":{"enabled":{"type":"boolean","default":true,"description":"Show the major ticks (default true once the block is set)"},"interval":{"type":"number","exclusiveMinimum":0,"default":10,"description":"Value units between major ticks, counted from the display minimum (default 10). Widened to fit when the range is too large (at most 60 major ticks)"},"height":{"type":"number","minimum":1,"default":8,"description":"Tick length in pixels, outward from the ring (default 8)"},"width":{"type":"number","minimum":0.5,"default":2,"description":"Tick line width in pixels (default 2)"},"color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Major tick colour. Default theme:components.slider.gauge.tick.major.color.default."}}},"minor":{"type":"object","description":"Minor ticks. Shown when this block is set (enabled defaults to true).","properties":{"enabled":{"type":"boolean","default":true,"description":"Show the minor ticks (default true once the block is set)"},"interval":{"type":"number","exclusiveMinimum":0,"default":2,"description":"Value units between minor ticks, counted from the display minimum (default 2). Widened to fit when the range is too large (at most 240 minor ticks)"},"height":{"type":"number","minimum":1,"default":4,"description":"Tick length in pixels, outward from the ring (default 4)"},"width":{"type":"number","minimum":0.5,"default":1,"description":"Tick line width in pixels (default 1)"},"color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Minor tick colour. Default theme:components.slider.gauge.tick.minor.color.default."}}}}},"labels":{"type":"object","description":"Value labels at the major tick interval (tick_marks.major.interval, default 10). Shown when this block is set.","properties":{"enabled":{"type":"boolean","default":true,"description":"Show the labels (default true once the block is set)"},"show_unit":{"type":"boolean","default":true,"description":"Add the unit to each label. Set false to hide it even when the entity has a unit."},"unit":{"type":"string","description":"Unit suffix for the labels. Takes priority over the display unit and the entity unit_of_measurement.","examples":["%"]},"color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Label colour. Default theme:components.slider.gauge.label.color.default."},"font_size":{"type":"number","minimum":1,"default":12,"description":"Label font size in pixels (default 12)"},"padding":{"type":"number","minimum":0,"default":3,"description":"Gap between the ticks and the labels in pixels (default 3)"}}}}},"focus_ring":{"type":"boolean","default":false,"description":"Outline the ring while it has keyboard focus (default false: most rings are used by touch). Keyboard control works either way."},"padding":{"type":"number","minimum":0,"description":"Room left outside the ring for the scale, value markers and their labels, in pixels. Worked out from them when unset; set it to line up several rings or to give long labels more room."}}},"shaped":{"type":"object","description":"Shaped component configuration (used with component: shaped)","properties":{"type":{"type":"string","enum":["lozenge","rect","rounded","diamond","hexagon","polygon","path"],"default":"lozenge","description":"Shape boundary for the clip path"},"radius":{"type":"number","description":"Corner radius in pixels: lozenge auto = min(w,h)/2, rounded default = 8","examples":[8]},"fill":{"type":"object","description":"Value fill appearance (the “filled” portion of the shape)","properties":{"color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Fill colour. Supports state-object syntax ({ active, inactive, above:N, … }) and theme:/var()/computed colour tokens."}}},"text_bands":{"type":"object","description":"Band sizes (pixels reserved outside the shape body for text fields)","properties":{"top":{"type":"object","description":"Top band (vertical mode only)","properties":{"size":{"type":"number","default":36}}},"bottom":{"type":"object","description":"Bottom band (vertical mode only)","properties":{"size":{"type":"number","default":36}}},"left":{"type":"object","description":"Left band (horizontal mode only)","properties":{"size":{"type":"number","default":60}}},"right":{"type":"object","description":"Right band (horizontal mode only)","properties":{"size":{"type":"number","default":60}}}}},"track":{"type":"object","description":"Shape track appearance","properties":{"background":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Shape interior background colour (the “empty” portion). Supports state-object syntax and theme:/var()/computed colour tokens."}}},"polygon":{"type":"object","description":"Polygon shape options (shape type: polygon)","properties":{"points":{"type":"array","description":"Array of [xPct, yPct] pairs (0–1) defining polygon vertices relative to shape bounds","items":{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"minItems":2,"maxItems":2}}}},"path":{"type":"object","description":"Raw SVG path options (shape type: path)","properties":{"d":{"type":"string","description":"SVG path d-attribute (absolute coordinates)"},"translate":{"type":"boolean","default":false,"description":"Wrap path in translate(bodyX, bodyY) so coordinates are relative to the shape body origin"}}}}}}},"tap_action":{"$ref":"#/$defs/action"},"hold_action":{"$ref":"#/$defs/action"},"double_tap_action":{"$ref":"#/$defs/action"},"animations":{"$ref":"#/$defs/cards_lcards_slider_animations"},"background_animation":{"$ref":"#/$defs/background-animation"},"value_tween":{"type":"object","description":"Eases the gauge/pills track and markers between old and new positions on entity-driven state changes (does not affect direct drag interaction). Distinct from the animations array, which is trigger/preset based.","examples":[{"enabled":true,"duration":500,"ease":"outQuad"}],"properties":{"enabled":{"type":"boolean","default":true,"description":"Enable value tweening. Automatically forced off when the OS-level prefers-reduced-motion setting is active, regardless of this value."},"duration":{"type":"number","minimum":0,"maximum":5000,"default":500,"description":"Tween duration in milliseconds (0-5000)"},"ease":{"type":"string","enum":["linear","in","out","inOut","outIn","inQuad","outQuad","inOutQuad","outInQuad","inCubic","outCubic","inOutCubic","outInCubic","inQuart","outQuart","inOutQuart","outInQuart","inQuint","outQuint","inOutQuint","outInQuint","inSine","outSine","inOutSine","outInSine","inExpo","outExpo","inOutExpo","outInExpo","inCirc","outCirc","inOutCirc","outInCirc","inBack","outBack","inOutBack","outInBack","inElastic","outElastic","inOutElastic","outInElastic","inBounce","outBounce","inOutBounce","outInBounce","spring"],"default":"outQuad","description":"anime.js v4 easing function used for the tween"},"targets":{"type":"object","description":"Which elements the tween applies to. All default to true.","properties":{"track":{"type":"boolean","default":true,"description":"Tween the gauge/shaped fill, the ring's value arc or the pills opacity sweep, whichever the card's track type uses."},"markers":{"type":"boolean","default":true,"description":"Tween threshold/range marker position (and, in pills mode, which pill is highlighted). Applies to `gauge`, `pills` and the ring: `shaped` never renders markers at all."}}}}},"drag_badge":{"type":"object","description":"Live value badge that follows the drag position while the slider is being actively dragged by the user (never shown for entity-driven/external state changes). Mirrors Home Assistant's native slider drag badge.","examples":[{"enabled":true}],"properties":{"enabled":{"type":"boolean","default":false,"description":"Show a live value badge that tracks the drag position while dragging"},"format":{"type":"object","description":"Number formatting for the badge text","properties":{"decimals":{"type":"number","minimum":0,"maximum":4,"description":"Fixed number of decimal places. Leave blank to use locale-default formatting."},"show_unit":{"type":"boolean","default":true,"description":"Show the unit suffix on the badge"},"unit":{"type":"string","description":"Unit suffix override. Leave blank to use the track's display unit (style.track.display.unit / entity unit_of_measurement).","examples":["°C"]}}},"font_size":{"type":"number","minimum":8,"maximum":48,"default":14,"description":"Badge text size in pixels"},"offset":{"type":"object","description":"Pixel offset from the default anchor point (below the track in horizontal orientation, beside it in vertical).","properties":{"x":{"type":"number","description":"Horizontal offset in pixels"},"y":{"type":"number","description":"Vertical offset in pixels"}}},"color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Badge text colour. Falls back to theme:components.slider.drag_badge.text.color."},"background":{"type":"object","description":"Badge background chip","properties":{"enabled":{"type":"boolean","default":true,"description":"Show a background chip behind the badge text"},"color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Badge background colour. Falls back to a theme-aware translucent surface colour."}}},"border":{"type":"object","description":"Badge border","properties":{"enabled":{"type":"boolean","default":true,"description":"Show a border around the badge"},"width":{"type":"number","minimum":0,"maximum":10,"default":1,"description":"Border width in pixels"},"color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Badge border colour. Falls back to theme:components.slider.border.color.default."}}},"release":{"type":"object","description":"What happens to the badge when the drag is released (pointer-up), before the entity commit.","properties":{"behavior":{"type":"string","enum":["fade","instant"],"default":"fade","description":"fade = fade out over release.duration; instant = hide immediately on release. Automatically forced to instant when prefers-reduced-motion is active."},"duration":{"type":"number","minimum":0,"maximum":2000,"default":500,"description":"Fade-out duration in milliseconds (only used when behavior = fade)"}}}}},"grid_options":{"$ref":"#/$defs/gridOptionsSchema"},"view_layout":{"type":"object","additionalProperties":true,"description":"Placement in a custom view layout (e.g. grid-area), read by the view."},"visibility":{"type":"array","description":"Home Assistant visibility conditions: the card shows only while they hold."},"layout_options":{"type":"object","additionalProperties":true,"description":"The older name of grid_options, read by Home Assistant."},"card_mod":{"type":"object","additionalProperties":true,"description":"card-mod styling, read by card-mod."},"uix":{"type":"object","additionalProperties":true,"description":"UIX styling, read by UIX."}}},"lcards-elbow":{"title":"LCARdS Elbow Card Configuration","description":"Complete configuration schema for lcards-elbow custom card with LCARS corner treatments. Supports dynamic theme integration via HA-LCARS input_number helpers (input_number.lcars_horizontal, input_number.lcars_vertical).","type":"object","required":["type"],"examples":[{"type":"custom:lcards-elbow","elbow":{"type":"header-left","style":"simple","segment":{"bar_width":"theme","bar_height":"theme","outer_curve":"auto","color":{"default":"#FF9900"}}},"text":{"name":{"show":true,"value":"Navigation"}}}],"properties":{"rules":{"$ref":"#/$defs/rules"},"sounds":{"$ref":"#/$defs/soundsSchema"},"variables":{"type":"object","description":"Your own named values, available to templates as variables.<name> and {variables.<name>}.","additionalProperties":true},"zones":{"$ref":"#/$defs/cards_lcards_button_zones"},"debug_zones":{"type":"boolean","description":"Outline every zone on the card (development aid)."},"type":{"type":"string","const":"custom:lcards-elbow","description":"Home Assistant card type identifier (required)"},"entity":{"type":"string","format":"entity","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"Home Assistant entity ID to control or monitor (format: domain.object_id)","examples":["light.living_room"]},"ranges_attribute":{"$ref":"#/$defs/cards_lcards_slider_ranges_attribute"},"state_attribute":{"$ref":"#/$defs/cards_lcards_button_state_attribute"},"interactive":{"type":"boolean","description":"When false, hover colour changes and hover animations are suppressed. The cursor defaults to the arrow unless overridden via style.cursor. Tap/hold actions still fire if configured. Left out, an elbow is interactive when it has a tap, hold or double tap action, an animation the pointer starts (on_tap, on_hover, ...) or an entity its default tap (toggle) can switch, and decorative (false) otherwise."},"state_classification":{"$ref":"#/$defs/stateClassificationSchema"},"id":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","description":"Unique card identifier for rule targeting, animations, and debugging (alphanumeric, underscore, hyphen)","examples":["main-button"]},"tags":{"type":"array","items":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$"},"description":"LCARdS tags for rules: a rule on tag:<name> targets every card with the tag. Labels set in Home Assistant are separate; rules target those with ha_label:<label_id>.","examples":[["navigation","primary"]]},"height":{"$ref":"#/$defs/cardHeightSchema"},"width":{"$ref":"#/$defs/cardWidthSchema"},"min_height":{"$ref":"#/$defs/cardMinHeightSchema"},"min_width":{"$ref":"#/$defs/cardMinWidthSchema"},"max_height":{"$ref":"#/$defs/cardMaxHeightSchema"},"max_width":{"$ref":"#/$defs/cardMaxWidthSchema"},"overflow":{"type":"string","enum":["visible","hidden","clip","scroll","auto"],"description":"CSS overflow shorthand on the card host element (sets both axes unless overridden per-axis)."},"overflow_x":{"type":"string","enum":["visible","hidden","clip","scroll","auto"],"description":"CSS overflow-x on the card host element. Overrides the overflow shorthand for the horizontal axis."},"overflow_y":{"type":"string","enum":["visible","hidden","clip","scroll","auto"],"description":"CSS overflow-y on the card host element. Overrides the overflow shorthand for the vertical axis."},"z_index":{"type":"integer","description":"CSS z-index stacking order on the card host element."},"elbow":{"type":"object","required":["type"],"description":"Elbow geometry and styling configuration","properties":{"type":{"type":"string","enum":["header-left","header-right","footer-left","footer-right","header-contained","footer-contained","header-open","footer-open","diagonal-cap-left","diagonal-cap-right","diagonal-cap-footer-left","diagonal-cap-footer-right","bar-slant-right","bar-slant-left","bar-parallelogram","frame"],"description":"Elbow or bar shape: header-left/right and footer-left/right put the corner at that side; the other types are bars and shaped ends","examples":["header-left"]},"style":{"type":"string","enum":["simple","segmented"],"default":"simple","description":"Elbow rendering style","enumDescriptions":["Simple: Single elbow with one curved corner","Segmented: Double concentric elbows with gap (TNG Picard aesthetic)"],"examples":["simple"]},"segment":{"type":"object","description":"Configuration for simple style (single elbow)","default":{"bar_width":90,"outer_curve":"auto"},"examples":[{"bar_width":90,"bar_height":20,"outer_curve":"auto","color":{"default":"#888888","active":"#FF9900","inactive":"#444444"}}],"properties":{"bar_width":{"oneOf":[{"type":"number","minimum":10,"maximum":500,"default":90,"description":"Width of vertical sidebar (pixels)","examples":[90]},{"type":"string","description":"Use 'theme' to bind to input_number.lcars_vertical, or a CSS length expression (e.g. 'clamp(60px, 8vw, 120px)')","examples":["theme"]}],"default":90,"description":"Width of vertical sidebar. Use number for static value or \"theme\" for dynamic binding to HA-LCARS input_number.lcars_vertical","examples":[90]},"bar_height":{"oneOf":[{"type":"number","minimum":10,"maximum":500,"description":"Height of horizontal bar (pixels)","examples":[20]},{"type":"string","description":"Use 'theme' to bind to input_number.lcars_horizontal, or a CSS length expression (e.g. 'clamp(20px, 4vh, 60px)')","examples":["theme"]}],"description":"Height of horizontal bar. Use number for static value or \"theme\" for dynamic binding to HA-LCARS input_number.lcars_horizontal. Defaults to bar_width if not specified.","examples":[20]},"diagonal_angle":{"oneOf":[{"type":"number","minimum":0,"maximum":90},{"type":"string","enum":["theme","input_number.lcars_elbow_angle"]}],"description":"Cut angle in degrees for the diagonal-cap and bar-slant types (default 45; 90 = square). 'theme' binds to input_number.lcars_elbow_angle."},"outer_curve":{"oneOf":[{"type":"number","minimum":0,"maximum":500,"description":"Outer corner radius in pixels","examples":[45]},{"type":"string","description":"Keyword or CSS expression. Keywords: 'auto'/'arm_width' = bar_width/2, 'arm_height' = bar_height/2, 'arm_max' = max(bar_width,bar_height)/2 (recommended), 'arm_min' = min(bar_width,bar_height)/2, 'arm_fill' = max(bar_width,bar_height). CSS: e.g. 'clamp(30px, 4vw, 60px)'","examples":["auto"]}],"default":"auto","description":"Outer corner radius. Keywords: 'auto'/'arm_width' = bar_width/2 (LCARS classic), 'arm_height' = bar_height/2, 'arm_max' = max(bar_width,bar_height)/2 (recommended for paired elbows, same as auto for typical configs), 'arm_min' = min(bar_width,bar_height)/2, 'arm_fill' = max(bar_width,bar_height) (fills dominant arm). Or set explicit pixels.","$comment":"Arc tangent points always arrive at 0° to their edges. Render-time clamp: outerRadius ≤ min(card_w, card_h) keeps tangent points within card viewport. Use arm_max for consistent paired elbows; equals auto (bar_width/2) when bar_width >= bar_height."},"inner_curve":{"oneOf":[{"type":"number","minimum":0,"maximum":500,"description":"Inner corner radius in pixels","examples":[22.5]},{"type":"string","description":"Keyword or CSS expression. Keywords: 'auto' = outer_curve/2 (LCARS formula), 'arm_width' = bar_width/2, 'arm_height' = bar_height/2, 'arm_max' = max(w,h)/2, 'arm_min' = min(w,h)/2, 'arm_fill' = max(w,h). CSS: e.g. 'clamp(10px, 2vw, 30px)'","examples":["auto"]}],"$comment":"Unset: outer_curve less the bar when the curve is bigger than the bar (an even bend), else outer_curve / 2; auto: outer_curve / 2. Keywords use the same bar dimension formulas as outer_curve, independently of the outer value."},"outer_curve_clamp":{"oneOf":[{"type":"string","enum":["card","none"],"description":"'card' (default) clamps outer_curve to min(card_w, card_h), keeps arc within viewport. 'none' disables clamping: arc is exactly the computed value; SVG overflow:hidden clips any overflow. Use 'none' for consistent paired elbows regardless of card height."},{"type":"number","minimum":0,"maximum":500,"description":"Explicit px ceiling for outer radius: hard cap independent of card or arm dimensions"}],"default":"card","$comment":"Issue #361: two same-config elbows in differently-sized cards get different radii because 'card' clamp uses the card height. Set 'none' to decouple radius from card height."},"color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Segment colour (string or state-based object)","examples":["#FF9900"]}}},"segments":{"type":"object","description":"Configuration for segmented style (double concentric elbows with gap)","default":{"gap":4,"outer_segment":{"bar_width":88,"bar_height":10},"inner_segment":{"bar_width":28,"bar_height":10}},"examples":[{"gap":4,"outer_segment":{"bar_width":90,"bar_height":90,"outer_curve":45,"inner_curve":22.5,"color":"#FF9900"},"inner_segment":{"bar_width":60,"bar_height":60,"color":"#FFCC99"}}],"properties":{"gap":{"type":"number","minimum":0,"maximum":50,"default":4,"description":"Gap between outer and inner segments (pixels)","examples":[2]},"outer_segment":{"type":"object","required":["bar_width"],"description":"Outer segment (frame) configuration","examples":[{"bar_width":90,"bar_height":90,"outer_curve":45,"inner_curve":22.5,"color":"#FF9900","entity_id":"light.outer"}],"properties":{"entity_id":{"type":"string","format":"entity","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"Entity this segment follows: its colour state map matches this entity's state, and its taps act on it (default: the card's entity).","examples":["light.outer_frame"]},"bar_width":{"oneOf":[{"type":"number","minimum":1,"maximum":500},{"type":"string","description":"'theme' (binds to input_number.lcars_vertical) or a CSS length expression (e.g. 'clamp(60px, 8vw, 120px)')"}],"description":"Vertical bar thickness (pixels, CSS length, or 'theme' for input_number.lcars_vertical, 90 until it exists). Required.","examples":[90]},"bar_height":{"$ref":"#/$defs/cards_lcards_elbow_elbow_segments_outer_segment_bar_height"},"outer_curve":{"oneOf":[{"type":"number","minimum":0,"maximum":500},{"type":"string","description":"Keyword: 'auto'/'arm_width', 'arm_height', 'arm_max' (recommended), 'arm_min', 'arm_fill', or CSS expression"}],"description":"Outer corner radius. Keywords: 'auto'/'arm_width'=bar_width/2, 'arm_height'=bar_height/2, 'arm_max'=max(w,h)/2 (recommended), 'arm_min'=min(w,h)/2, 'arm_fill'=max(w,h). Or explicit pixels.","examples":[45]},"inner_curve":{"oneOf":[{"type":"number","minimum":0,"maximum":500},{"type":"string","description":"CSS length expression (e.g. 'clamp(15px, 2vw, 30px)')"}],"description":"Inner corner radius (pixels or CSS length; unset: outer_curve less the bar when the curve is bigger than the bar, so the bend keeps one width, else outer_curve / 2)","examples":[22.5]},"outer_curve_clamp":{"oneOf":[{"type":"string","enum":["card","none"]},{"type":"number","minimum":0,"maximum":500}],"default":"card","description":"Cap on this segment's outer_curve: 'card' (default) = min(card width, card height), 'none' = no cap, a number = that many px."},"diagonal_angle":{"oneOf":[{"type":"number","minimum":0,"maximum":90},{"type":"string","enum":["theme","input_number.lcars_elbow_angle"]}],"description":"Cut angle in degrees for the diagonal-cap types (default 45; 90 = square). 'theme' binds to input_number.lcars_elbow_angle."},"color":{"$ref":"#/$defs/cards_lcards_elbow_elbow_segments_outer_segment_color"},"tap_action":{"$ref":"#/$defs/action"},"hold_action":{"$ref":"#/$defs/action"},"double_tap_action":{"$ref":"#/$defs/action"}}},"inner_segment":{"type":"object","required":["bar_width"],"description":"Inner segment (content area) configuration","examples":[{"bar_width":60,"bar_height":60,"outer_curve":18,"inner_curve":9,"color":"#FFCC99","entity_id":"light.inner"}],"properties":{"entity_id":{"type":"string","format":"entity","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"Entity this segment follows: its colour state map matches this entity's state, and its taps act on it (default: the card's entity).","examples":["light.inner_zone"]},"bar_width":{"oneOf":[{"type":"number","minimum":1,"maximum":500},{"type":"string","description":"'theme' (binds to input_number.lcars_vertical) or a CSS length expression (e.g. 'clamp(40px, 6vw, 80px)')"}],"description":"Vertical bar thickness (pixels, CSS length, or 'theme' for input_number.lcars_vertical, 90 until it exists). Required.","examples":[60]},"bar_height":{"$ref":"#/$defs/cards_lcards_elbow_elbow_segments_outer_segment_bar_height"},"outer_curve":{"oneOf":[{"type":"number","minimum":0,"maximum":500},{"type":"string","description":"Keyword: 'auto'/'arm_width', 'arm_height', 'arm_max' (recommended), 'arm_min', 'arm_fill', or CSS expression"}],"description":"Outer corner radius. Omit for auto concentric (outer_segment.inner_curve - gap). Keywords: 'auto'/'arm_width'=bar_width/2, 'arm_height'=bar_height/2, 'arm_max'=max(w,h)/2 (recommended), 'arm_min'=min(w,h)/2, 'arm_fill'=max(w,h).","examples":[18],"$comment":"Auto-calculation (when omitted): outer_segment.inner_curve - gap. Keyword modes use bar dimensions of inner_segment."},"inner_curve":{"oneOf":[{"type":"number","minimum":0,"maximum":500},{"type":"string","description":"CSS length expression for inner corner radius"}],"description":"Inner corner radius (pixels or CSS length; unset: outer_curve less the bar when the curve is bigger than the bar, so the bend keeps one width, else outer_curve / 2)","examples":[9]},"outer_curve_clamp":{"oneOf":[{"type":"string","enum":["card","none"]},{"type":"number","minimum":0,"maximum":500}],"default":"card","description":"Cap on this segment's outer_curve when it sets one (a concentric inner segment follows the outer segment's clamp): 'card' (default) = min(card width, card height), 'none' = no cap, a number = that many px."},"diagonal_angle":{"oneOf":[{"type":"number","minimum":0,"maximum":90},{"type":"string","enum":["theme","input_number.lcars_elbow_angle"]}],"description":"Cut angle in degrees for the diagonal-cap types (default: the outer segment's angle; 90 = square). 'theme' binds to input_number.lcars_elbow_angle."},"color":{"$ref":"#/$defs/cards_lcards_elbow_elbow_segments_outer_segment_color"},"tap_action":{"$ref":"#/$defs/action"},"hold_action":{"$ref":"#/$defs/action"},"double_tap_action":{"$ref":"#/$defs/action"}}}}},"frame":{"type":"object","description":"Frame elbow (elbow.type: frame): a 2 to 4 sided rectangular border with per-side thickness and per-corner curves. Every length is px (a number) or a CSS length (a string such as clamp(20px, 3vw, 40px)). Its colour is elbow.segment.color.","properties":{"bar_width":{"type":["number","string"],"description":"Thickness of the left and right sides (default: 90)."},"bar_height":{"type":["number","string"],"description":"Thickness of the top and bottom sides (default: bar_width)."},"outer_curve":{"type":["number","string"],"description":"Outer radius of every corner (default: half of bar_width)."},"inner_curve":{"type":["number","string"],"description":"Inner radius of every corner (default: outer_curve less the side thickness, so each bend keeps one width, when the curve is bigger than the side; else half of outer_curve)."},"top":{"$ref":"#/$defs/cards_lcards_elbow_elbow_frame_top"},"bottom":{"$ref":"#/$defs/cards_lcards_elbow_elbow_frame_bottom"},"left":{"$ref":"#/$defs/cards_lcards_elbow_elbow_frame_left"},"right":{"$ref":"#/$defs/cards_lcards_elbow_elbow_frame_right"},"corners":{"$ref":"#/$defs/cards_lcards_elbow_elbow_frame_corners"},"segments":{"type":"object","description":"style: segmented only: a second, inner ring inside the frame.","properties":{"gap":{"type":["number","string"],"description":"Space between the outer and inner ring (default: 4)."},"inner_frame":{"type":"object","description":"The inner ring: the same keys as the frame itself, plus its own colour.","properties":{"bar_width":{"type":["number","string"],"description":"Thickness of the left and right sides (default: 28)."},"bar_height":{"type":["number","string"],"description":"Thickness of the top and bottom sides (default: bar_width)."},"outer_curve":{"type":["number","string"],"description":"Outer radius of every corner (default: half of bar_width)."},"inner_curve":{"type":["number","string"],"description":"Inner radius of every corner (default: outer_curve less the side thickness, so each bend keeps one width, when the curve is bigger than the side; else half of outer_curve)."},"top":{"$ref":"#/$defs/cards_lcards_elbow_elbow_frame_top"},"bottom":{"$ref":"#/$defs/cards_lcards_elbow_elbow_frame_bottom"},"left":{"$ref":"#/$defs/cards_lcards_elbow_elbow_frame_left"},"right":{"$ref":"#/$defs/cards_lcards_elbow_elbow_frame_right"},"corners":{"$ref":"#/$defs/cards_lcards_elbow_elbow_frame_corners"},"color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Colour of the inner ring (default: the outer ring colour, elbow.segment.color). State maps supported."}}}}}}}}},"style":{"type":"object","properties":{"cursor":{"type":"string","description":"CSS cursor style shown when hovering over the elbow. Overrides the automatic cursor derived from the interactive flag.","examples":["pointer"]}}},"text":{"$ref":"#/$defs/cards_lcards_button_text"},"tap_action":{"$ref":"#/$defs/action"},"hold_action":{"$ref":"#/$defs/action"},"double_tap_action":{"$ref":"#/$defs/action"},"data_sources":{"$ref":"#/$defs/dataSourcesSchema"},"triggers_update":{"$ref":"#/$defs/triggersUpdateSchema"},"animations":{"$ref":"#/$defs/cards_lcards_slider_animations"},"background_animation":{"$ref":"#/$defs/background-animation"},"shape_texture":{"type":"object","description":"Canvas texture/animation rendered inside the elbow shape boundary","properties":{"preset":{"type":"string","description":"Texture preset name","enum":["grid","diagonal","hexagonal","dots","fluid","shimmer","plasma","flow","level","pulse","scanlines","image"]},"opacity":{"description":"Texture opacity (0-1). Supports state-based object.","oneOf":[{"type":"number","minimum":0,"maximum":1},{"type":"object","description":"State-based values: keys are states (default, active, inactive, unavailable, ...), values are numbers"}]},"speed":{"description":"Animation speed multiplier. Supports state-based object.","oneOf":[{"type":"number","minimum":0},{"type":"object"}]},"mix_blend_mode":{"type":"string","description":"CSS mix-blend-mode for texture blending","enum":["normal","multiply","screen","overlay","hard-light","soft-light","color-burn","color-dodge"]},"config":{"type":"object","description":"Preset-specific configuration. Supports entity-reactive values: map_range descriptor or template strings.","additionalProperties":true}},"additionalProperties":false},"filters":{"type":"array","description":"Visual filters applied to entire elbow (CSS and SVG filter primitives)","items":{"$ref":"#/$defs/filter"}},"grid_options":{"$ref":"#/$defs/gridOptionsSchema"},"symbiont":{"type":"object","description":"Embed another Home Assistant card inside the elbow content area with optional style imprinting","properties":{"enabled":{"type":"boolean","default":false,"description":"Enable symbiont card embedding"},"overflow":{"type":"string","enum":["visible","hidden","clip","scroll","auto"],"description":"CSS overflow for both axes of the symbiont container. Overridden per-axis by overflow_x / overflow_y. Default: hidden."},"overflow_x":{"type":"string","enum":["visible","hidden","clip","scroll","auto"],"description":"CSS overflow-x for the symbiont container (horizontal axis). Overrides overflow shorthand."},"overflow_y":{"type":"string","enum":["visible","hidden","clip","scroll","auto"],"description":"CSS overflow-y for the symbiont container (vertical axis). Overrides overflow shorthand."},"position":{"type":"object","description":"Padding within the elbow content area (px)","properties":{"top":{"type":"number","default":0},"left":{"type":"number","default":0},"right":{"type":"number","default":0},"bottom":{"type":"number","default":0}}},"size":{"type":"object","description":"Constrain the embedded card to an explicit size within the content area (placed by `anchor`). Omit for the full content area.","properties":{"width":{"type":["number","string"],"description":"Width: a number is px; a string is any CSS length (e.g. 50%, 12rem)."},"height":{"type":["number","string"],"description":"Height: a number is px; a string is any CSS length."}}},"anchor":{"type":"string","enum":["top-left","top-center","top-right","middle-left","center","middle-right","bottom-left","bottom-center","bottom-right"],"default":"top-left","description":"Where a sized embedded card (`size`) sits within the content area."},"imprint":{"type":"object","description":"Style imprinting: injects resolved styles into the embedded card shadow root","properties":{"enabled":{"type":"boolean","default":true},"background":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Background colour to inject into embedded card. Null = do not imprint."},"text":{"type":"object","properties":{"color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Text colour to inject into embedded card. Null = do not imprint."},"font_size":{"type":"string","description":"Font size to inject (e.g. \"14px\"). Null = do not imprint."},"font_family":{"type":"string","description":"Font family string to inject. Null = do not imprint."}}},"border_radius":{"type":"object","properties":{"match_host":{"type":"boolean","default":true,"description":"Derive border radius from elbow inner arc geometry"},"top_left":{"oneOf":[{"type":"number","description":"Top-left border radius (px)"},{"type":"string","enum":["match"],"description":"Use 'match' to mirror the elbow's inner arc radius"}],"description":"Top-left border radius: number (px) or 'match' to mirror elbow inner arc"},"top_right":{"oneOf":[{"type":"number","description":"Top-right border radius (px)"},{"type":"string","enum":["match"],"description":"Use 'match' to mirror the elbow's inner arc radius"}],"description":"Top-right border radius: number (px) or 'match' to mirror elbow inner arc"},"bottom_left":{"oneOf":[{"type":"number","description":"Bottom-left border radius (px)"},{"type":"string","enum":["match"],"description":"Use 'match' to mirror the elbow's inner arc radius"}],"description":"Bottom-left border radius: number (px) or 'match' to mirror elbow inner arc"},"bottom_right":{"oneOf":[{"type":"number","description":"Bottom-right border radius (px)"},{"type":"string","enum":["match"],"description":"Use 'match' to mirror the elbow's inner arc radius"}],"description":"Bottom-right border radius: number (px) or 'match' to mirror elbow inner arc"}}}}},"custom_style":{"type":"string","description":"Raw CSS injected into child card shadowRoot after imprint styles. Does not require UIX. Applied only while imprint is enabled."},"card":{"type":"object","description":"Any valid Home Assistant card configuration (type + properties). uix (and legacy card_mod) blocks are passed through as-is; imprint styles apply after them."}}},"view_layout":{"type":"object","additionalProperties":true,"description":"Placement in a custom view layout (e.g. grid-area), read by the view."},"visibility":{"type":"array","description":"Home Assistant visibility conditions: the card shows only while they hold."},"layout_options":{"type":"object","additionalProperties":true,"description":"The older name of grid_options, read by Home Assistant."},"card_mod":{"type":"object","additionalProperties":true,"description":"card-mod styling, read by card-mod."},"uix":{"type":"object","additionalProperties":true,"description":"UIX styling, read by UIX."}}},"lcards-chart":{"title":"LCARdS Chart Card Configuration","description":"Complete configuration schema for lcards-chart custom card (v1.18.0+ nested structure)","type":"object","properties":{"type":{"type":"string","const":"custom:lcards-chart","description":"Home Assistant card type identifier (required)"},"rules":{"$ref":"#/$defs/rules"},"sounds":{"$ref":"#/$defs/soundsSchema"},"variables":{"type":"object","description":"Your own named values, available to templates as variables.<name> and {variables.<name>}.","additionalProperties":true},"zones":{"$ref":"#/$defs/cards_lcards_button_zones"},"debug_zones":{"type":"boolean","description":"Outline every zone on the card (development aid)."},"triggers_update":{"$ref":"#/$defs/triggersUpdateSchema"},"id":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","description":"Custom card ID for rule targeting (optional - auto-generated if omitted)","examples":["main-button"]},"tags":{"type":"array","items":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$"},"description":"LCARdS tags for rules: a rule on tag:<name> targets every card with the tag. Labels set in Home Assistant are separate; rules target those with ha_label:<label_id>.","examples":[["navigation","primary"]]},"sources":{"type":"array","description":"Chart series. Each item plots an entity (history or long-term statistics), every entity of a Home Assistant label, area or device ({ target }), or a named DataSource buffer.","items":{"anyOf":[{"type":"object","title":"Entity series","properties":{"entity":{"type":"string","format":"entity","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"Entity to plot (history is fetched from Home Assistant)"},"attribute":{"type":"string","description":"Plot this attribute instead of the state"},"statistics":{"$ref":"#/$defs/cards_lcards_chart_sources_item_statistics"},"name":{"type":"string","description":"Legend name (default: entity friendly name or source id)"},"unit":{"type":"string","description":"Unit shown in tooltips and axis labels (default: entity unit_of_measurement)"},"float_precision":{"type":"number","minimum":0,"maximum":6,"description":"Decimal places in tooltips"},"type":{"type":"string","enum":["line","area","bar","column","scatter"],"description":"Per-series chart type for mixed charts"},"curve":{"type":"string","enum":["smooth","straight","stepline","monotoneCubic"],"description":"Line interpolation for this series"},"stroke_width":{"type":"number","minimum":0,"maximum":20,"description":"Line width for this series"},"stroke_dash":{"type":"number","minimum":0,"maximum":20,"description":"Dash length for this series (0 = solid)"},"color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Series colour (overrides style.colors.series). On a rangeBar timeline it colours the bars: one colour, or a colour per state (an exact state such as heat, then active, inactive, unavailable, then default). States it leaves out take the theme's state colours, as Home Assistant's history does."},"opacity":{"type":"number","minimum":0,"maximum":1,"description":"Fill opacity for area/bar series"},"yaxis_id":{"type":"string","description":"Id of the yaxis[] entry this series uses"},"group_by":{"$ref":"#/$defs/cards_lcards_chart_sources_item_group_by"},"states":{"$ref":"#/$defs/cards_lcards_chart_sources_item_states"},"min_duration":{"type":"string","pattern":"^\\d+(\\.\\d+)?\\s*(s|sec|m|min|h|hour|d|day|w|week|mo|month|y|year)s?$","description":"rangeBar: a state that lasts less than this joins the run before it (hides a thermostat flickering for seconds), e.g. 30s, 5min.","examples":["30s"]}},"required":["entity"],"additionalProperties":false},{"type":"object","title":"Series from Home Assistant","properties":{"target":{"type":"object","description":"Home Assistant's target: one series per entity it includes (a label on the entity, its device or its area; areas, devices, floors, entities). Each series is named by its entity and takes the next palette colour.","properties":{"label_id":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Home Assistant label ids: one id or a list"},"area_id":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Area ids: one id or a list"},"device_id":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Device ids: one id or a list"},"floor_id":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Floor ids: one id or a list"},"entity_id":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Entity ids (hidden and configuration entities count only when named here): one id or a list"}},"additionalProperties":false},"attribute":{"type":"string","description":"Plot this attribute instead of the state"},"statistics":{"$ref":"#/$defs/cards_lcards_chart_sources_item_statistics"},"sort":{"type":"string","enum":["name","state","none"],"default":"name","description":"Order of the series: name (friendly name), state (current value, low to high) or none (as Home Assistant lists them)"},"max_items":{"type":"integer","minimum":1,"description":"At most this many series (the first ones after sorting)"},"unit":{"type":"string","description":"Unit shown in tooltips and axis labels (default: entity unit_of_measurement)"},"float_precision":{"type":"number","minimum":0,"maximum":6,"description":"Decimal places in tooltips"},"type":{"type":"string","enum":["line","area","bar","column","scatter"],"description":"Per-series chart type for mixed charts"},"curve":{"type":"string","enum":["smooth","straight","stepline","monotoneCubic"],"description":"Line interpolation for this series"},"stroke_width":{"type":"number","minimum":0,"maximum":20,"description":"Line width for this series"},"stroke_dash":{"type":"number","minimum":0,"maximum":20,"description":"Dash length for this series (0 = solid)"},"color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"rangeBar timeline: a colour per state (an exact state such as heat, then active, inactive, unavailable, then default) for every series. A single colour is not used: each series takes the next palette colour."},"opacity":{"type":"number","minimum":0,"maximum":1,"description":"Fill opacity for area/bar series"},"yaxis_id":{"type":"string","description":"Id of the yaxis[] entry this series uses"},"group_by":{"$ref":"#/$defs/cards_lcards_chart_sources_item_group_by"},"states":{"$ref":"#/$defs/cards_lcards_chart_sources_item_states"},"min_duration":{"type":"string","pattern":"^\\d+(\\.\\d+)?\\s*(s|sec|m|min|h|hour|d|day|w|week|mo|month|y|year)s?$","description":"rangeBar: a state that lasts less than this joins the run before it (hides a thermostat flickering for seconds), e.g. 30s, 5min.","examples":["30s"]}},"required":["target"],"additionalProperties":false},{"type":"object","title":"DataSource series","properties":{"datasource":{"type":"string","description":"Name of a DataSource (in data_sources or defined by another card)"},"buffer":{"type":"string","description":"Processor key to plot instead of the raw values"},"name":{"type":"string","description":"Legend name (default: entity friendly name or source id)"},"unit":{"type":"string","description":"Unit shown in tooltips and axis labels (default: entity unit_of_measurement)"},"float_precision":{"type":"number","minimum":0,"maximum":6,"description":"Decimal places in tooltips"},"type":{"type":"string","enum":["line","area","bar","column","scatter"],"description":"Per-series chart type for mixed charts"},"curve":{"type":"string","enum":["smooth","straight","stepline","monotoneCubic"],"description":"Line interpolation for this series"},"stroke_width":{"type":"number","minimum":0,"maximum":20,"description":"Line width for this series"},"stroke_dash":{"type":"number","minimum":0,"maximum":20,"description":"Dash length for this series (0 = solid)"},"color":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Series colour (overrides style.colors.series)","examples":["#FF9900"]},"opacity":{"type":"number","minimum":0,"maximum":1,"description":"Fill opacity for area/bar series"},"yaxis_id":{"type":"string","description":"Id of the yaxis[] entry this series uses"},"group_by":{"$ref":"#/$defs/cards_lcards_chart_sources_item_group_by"}},"required":["datasource"],"additionalProperties":false}]}},"sync_group":{"type":"string","description":"A name shared by chart cards that move together: hovering one shows the same time on all of them (a cursor line, and the tooltips of charts with the same time window), and their plots line up (y-axis labels at least 60 px wide). Dragging across one to zoom zooms the others, each with a reset that resets them all. Timelines (rangeBar) show the cursor line only. A rolling window ends on the next whole minute so the members match.","examples":["climate"]},"state_bands":{"type":"array","description":"An entity's states shaded behind the series, a band for each stretch of time it held one (a thermostat heating behind its temperature). Time charts only (line, area, column, scatter, rangeArea, rangeBar, candlestick, boxPlot).","items":{"type":"object","properties":{"entity":{"type":"string","format":"entity","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"The entity whose states are shaded (its history is fetched from Home Assistant)"},"attribute":{"type":"string","description":"Shade this attribute's values instead of the state (hvac_action: heating, cooling)"},"states":{"type":"array","items":{"type":"string"},"default":["active"],"description":"The states to shade: exact states (heat, playing) and the words active, inactive and unavailable (unknown too), as Home Assistant splits an entity's states. Default: active, so an off thermostat leaves no band.","examples":[["heat","cool"]]},"min_duration":{"type":"string","pattern":"^\\d+(\\.\\d+)?\\s*(s|sec|m|min|h|hour|d|day|w|week|mo|month|y|year)s?$","description":"A state that lasts less than this joins the run before it (hides a few seconds of flicker), e.g. 30s, 5min.","examples":["30s"]},"color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Band colour: one colour, or a colour per state (an exact state such as heat, then active, inactive, unavailable, then default). States it leaves out take the theme's state colours, as Home Assistant's history does."},"opacity":{"type":"number","minimum":0,"maximum":1,"default":0.2,"description":"How strongly the bands are shaded (0 to 1)"},"label":{"type":"boolean","default":false,"description":"true writes the state at the top of each band"}},"required":["entity"],"additionalProperties":false},"examples":[[{"entity":"climate.hall","states":["heat","cool"],"label":true}]]},"graph_span":{"type":"string","pattern":"^\\d+(\\.\\d+)?\\s*(s|sec|m|min|h|hour|d|day|w|week|mo|month|y|year)s?$","default":"24h","description":"How much time the chart shows, e.g. 6h, 2d, 1w, 1mo (default 24h)","examples":["24h"]},"span":{"type":"object","description":"Align the time window to calendar boundaries and/or shift it","properties":{"start":{"type":"string","enum":["minute","hour","day","week","month","year"],"description":"Start the window at the beginning of the current minute/hour/day/week/month/year (it then lasts graph_span)"},"end":{"type":"string","enum":["minute","hour","day","week","month","year"],"description":"End the window at the end of the current minute/hour/day/week/month/year (it then starts graph_span earlier)"},"offset":{"type":"string","pattern":"^[+-]\\d+(\\.\\d+)?\\s*(s|sec|m|min|h|hour|d|day|w|week|mo|month|y|year)s?$","description":"Shift the window, e.g. -1d for the same window yesterday","examples":["-1d"]}},"additionalProperties":false},"yaxis":{"type":"array","description":"Y axes for multi-axis charts. Series pick one with yaxis_id; series without one use the first axis.","items":{"type":"object","properties":{"id":{"type":"string","description":"Axis id referenced by series yaxis_id"},"show":{"type":"boolean","default":true,"description":"Show this axis"},"opposite":{"type":"boolean","default":false,"description":"Draw the axis on the right"},"min":{"type":"number","description":"Fixed minimum (omit for automatic)"},"max":{"type":"number","description":"Fixed maximum (omit for automatic)"},"decimals":{"type":"number","minimum":0,"maximum":6,"description":"Decimal places for axis labels"}},"required":["id"],"additionalProperties":false},"examples":[[{"id":"temp"},{"id":"humidity","opposite":true,"min":0,"max":100}]]},"data_sources":{"$ref":"#/$defs/dataSourcesSchema"},"chart_type":{"type":"string","enum":["line","area","bar","column","scatter","pie","donut","heatmap","radialBar","radar","polarArea","treemap","rangeBar","rangeArea","candlestick","boxPlot"],"default":"line","description":"ApexCharts chart type"},"height":{"$ref":"#/$defs/cardHeightSchema"},"width":{"$ref":"#/$defs/cardWidthSchema"},"min_height":{"$ref":"#/$defs/cardMinHeightSchema"},"min_width":{"$ref":"#/$defs/cardMinWidthSchema"},"max_height":{"$ref":"#/$defs/cardMaxHeightSchema"},"max_width":{"$ref":"#/$defs/cardMaxWidthSchema"},"overflow":{"type":"string","enum":["visible","hidden","clip","scroll","auto"],"description":"CSS overflow shorthand on the card host element (sets both axes unless overridden per-axis)."},"overflow_x":{"type":"string","enum":["visible","hidden","clip","scroll","auto"],"description":"CSS overflow-x on the card host element. Overrides the overflow shorthand for the horizontal axis."},"overflow_y":{"type":"string","enum":["visible","hidden","clip","scroll","auto"],"description":"CSS overflow-y on the card host element. Overrides the overflow shorthand for the vertical axis."},"z_index":{"type":"integer","description":"CSS z-index stacking order on the card host element."},"xaxis_type":{"type":"string","enum":["datetime","category","numeric"],"description":"X-axis type. Default: category for horizontal bar charts (one time label per bar), datetime for the other time charts"},"style":{"type":"object","description":"Nested style configuration for chart appearance","properties":{"colors":{"type":"object","description":"Complete colour configuration for all chart elements","properties":{"series":{"$ref":"#/$defs/cards_lcards_chart_style_colors_series"},"stroke":{"$ref":"#/$defs/cards_lcards_chart_style_colors_series"},"fill":{"$ref":"#/$defs/cards_lcards_chart_style_colors_series"},"background":{"$ref":"#/$defs/simpleColorSchema"},"foreground":{"$ref":"#/$defs/simpleColorSchema"},"grid":{"$ref":"#/$defs/simpleColorSchema"},"marker":{"type":"object","description":"Marker colours","properties":{"fill":{"$ref":"#/$defs/cards_lcards_chart_style_colors_series"},"stroke":{"$ref":"#/$defs/cards_lcards_chart_style_colors_series"}}},"axis":{"type":"object","description":"Axis colours","properties":{"x":{"$ref":"#/$defs/simpleColorSchema"},"y":{"$ref":"#/$defs/simpleColorSchema"},"border":{"$ref":"#/$defs/simpleColorSchema"},"ticks":{"$ref":"#/$defs/simpleColorSchema"}}},"legend":{"type":"object","description":"Legend colours","properties":{"default":{"$ref":"#/$defs/simpleColorSchema"},"items":{"$ref":"#/$defs/cards_lcards_chart_style_colors_series"}}},"data_labels":{"$ref":"#/$defs/cards_lcards_chart_style_colors_series"}}},"stroke":{"type":"object","description":"Line stroke configuration","properties":{"width":{"type":"number","minimum":0,"maximum":10,"default":2,"description":"Stroke width in pixels"},"curve":{"type":"string","enum":["smooth","straight","stepline","monotoneCubic"],"default":"smooth","description":"Line curve type"},"dash_array":{"type":"number","minimum":0,"maximum":20,"default":0,"description":"Dashed line pattern (0 = solid)"}}},"fill":{"type":"object","description":"Fill configuration for area and bar charts","properties":{"type":{"type":"string","enum":["solid","gradient","pattern","image"],"default":"solid","description":"Fill type"},"opacity":{"type":"number","minimum":0,"maximum":1,"default":0.7,"description":"Fill opacity (0-1)"},"gradient":{"type":"object","description":"Gradient fill configuration","properties":{"shade":{"type":"string","enum":["light","dark"],"description":"Gradient shade direction"},"type":{"type":"string","enum":["horizontal","vertical","diagonal1","diagonal2"],"description":"Gradient direction"},"shadeIntensity":{"type":"number","minimum":0,"maximum":1,"description":"Intensity of shading"},"opacityFrom":{"type":"number","minimum":0,"maximum":1,"description":"Starting opacity"},"opacityTo":{"type":"number","minimum":0,"maximum":1,"description":"Ending opacity"}}}}},"markers":{"type":"object","description":"Data point marker configuration","properties":{"size":{"type":"number","minimum":0,"maximum":20,"default":0,"description":"Marker size in pixels (0 hides the markers). Default: 0, or 6 for scatter charts"},"shape":{"type":"string","enum":["circle","square","rect","diamond","triangle","star","cross","plus","line","rhombus"],"default":"circle","description":"Marker shape"},"stroke":{"type":"object","description":"Marker stroke configuration","properties":{"width":{"type":"number","minimum":0,"maximum":10,"default":2,"description":"Marker stroke width"}}}}},"grid":{"type":"object","description":"Grid line configuration","properties":{"show":{"type":"boolean","default":true,"description":"Show/hide grid lines"},"stroke_dash_array":{"type":"number","minimum":0,"maximum":20,"default":4,"description":"Grid line dash pattern"},"row_colors":{"$ref":"#/$defs/cards_lcards_chart_style_colors_series"},"column_colors":{"$ref":"#/$defs/cards_lcards_chart_style_colors_series"}}},"legend":{"type":"object","description":"Legend configuration","properties":{"show":{"type":"boolean","description":"Show/hide legend. Default: on for pie, donut, polarArea and radialBar (it names the slices and gauges), off for other chart types"},"position":{"type":"string","enum":["top","right","bottom","left"],"default":"bottom","description":"Legend position"},"horizontalAlign":{"type":"string","enum":["left","center","right"],"default":"center","description":"Legend horizontal alignment"},"font_size":{"type":"number","minimum":8,"maximum":24,"description":"Legend font size in pixels. Default: the base font size (style.typography.font_size) plus 2; 12 for scatter and polarArea"}}},"data_labels":{"type":"object","description":"Data label configuration","properties":{"show":{"type":"boolean","default":false,"description":"Show/hide data labels"},"offsetY":{"type":"number","minimum":-50,"maximum":50,"default":0,"description":"Vertical offset for data labels"},"font_size":{"type":"number","minimum":8,"maximum":24,"default":12,"description":"Data label font size"}}},"xaxis":{"type":"object","description":"X-axis configuration","properties":{"labels":{"type":"object","description":"X-axis label configuration","properties":{"show":{"type":"boolean","default":true,"description":"Show/hide x-axis labels"},"rotate":{"type":"number","minimum":-90,"maximum":90,"default":0,"description":"Label rotation in degrees"}}},"border":{"type":"object","description":"X-axis border configuration","properties":{"show":{"type":"boolean","default":false,"description":"Show/hide x-axis border"}}},"ticks":{"type":"object","description":"X-axis tick marks configuration","properties":{"show":{"type":"boolean","default":false,"description":"Show/hide x-axis tick marks"}}}}},"yaxis":{"type":"object","description":"Y-axis configuration","properties":{"labels":{"type":"object","description":"Y-axis label configuration","properties":{"show":{"type":"boolean","default":true,"description":"Show/hide y-axis labels"}}},"border":{"type":"object","description":"Y-axis border configuration","properties":{"show":{"type":"boolean","default":false,"description":"Show/hide y-axis border"}}},"ticks":{"type":"object","description":"Y-axis tick marks configuration","properties":{"show":{"type":"boolean","default":false,"description":"Show/hide y-axis tick marks"}}},"decimals":{"type":"number","minimum":0,"maximum":10,"description":"Round displayed values to N decimal places (axis labels, tooltips, and data labels)"}}},"typography":{"type":"object","description":"Typography configuration","properties":{"font_family":{"type":"string","description":"Font family. Default: the theme's chart font (the components.chart.fontFamily token, the LCARS font)"},"font_size":{"type":"number","minimum":8,"maximum":24,"default":12,"description":"Base font size"}}},"display":{"type":"object","description":"Display options","properties":{"toolbar":{"type":"boolean","default":false,"description":"Show/hide toolbar"},"tooltip":{"type":"object","description":"Tooltip configuration","properties":{"show":{"type":"boolean","default":true,"description":"Show/hide tooltip"},"theme":{"type":"string","enum":["light","dark"],"default":"dark","description":"Tooltip theme"}}}}},"animation":{"type":"object","description":"Animation configuration","properties":{"preset":{"type":"string","enum":["lcars_standard","lcars_dramatic","lcars_minimal","lcars_realtime","lcars_alert","none"],"description":"Animation preset name"}}},"theme":{"type":"object","description":"Theme configuration","properties":{"mode":{"type":"string","enum":["light","dark"],"default":"dark","description":"Theme mode"},"monochrome":{"type":"object","description":"Monochrome theme configuration","properties":{"enabled":{"type":"boolean","default":false,"description":"Enable monochrome theme"},"color":{"$ref":"#/$defs/simpleColorSchema"},"shade_to":{"type":"string","enum":["light","dark"],"default":"dark","description":"Shade direction"},"shade_intensity":{"type":"number","minimum":0,"maximum":1,"default":0.65,"description":"Shade intensity"}}}}},"formatters":{"type":"object","description":"Label and tooltip formatters","properties":{"xaxis_label":{"type":"string","description":"X-axis label format template"},"yaxis_label":{"type":"string","description":"Y-axis label format template"},"tooltip":{"type":"string","description":"Tooltip format template"}}},"zero_line":{"type":"boolean","default":false,"description":"Draw a horizontal reference line at 0"},"zero_line_color":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Colour of the zero line","examples":["#FF9900"]},"thresholds":{"type":"array","description":"Horizontal reference lines at fixed values","items":{"type":"object","properties":{"value":{"type":"number","description":"Y value of the line"},"label":{"type":"string","description":"Text shown on the line"},"color":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Line and label colour","examples":["#FF9900"]},"width":{"type":"number","minimum":0,"description":"Line width (default 2)"},"dash":{"type":"boolean","description":"Dashed line"},"opacity":{"type":"number","minimum":0,"maximum":1,"description":"Line opacity (default 0.7)"}},"required":["value"],"additionalProperties":false},"examples":[[{"value":25,"label":"High","color":"var(--lcars-red)"}]]},"color":{"type":"string","pattern":"^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"boxPlot: colour of the boxes (upper and lower quartile). Default: the theme accent colour","examples":["#FF9900"]},"value_format":{"type":"string","enum":["percent"],"description":"radialBar: show values as percentages"},"gauge_start_angle":{"type":"number","minimum":-360,"maximum":360,"description":"radialBar: arc start angle in degrees (default -90)"},"gauge_total":{"type":"boolean","default":false,"description":"radialBar: show the sum of all gauges in the centre"},"gauge_end_angle":{"type":"number","minimum":-360,"maximum":360,"description":"radialBar: arc end angle in degrees (default 90)"},"group_rows":{"type":"boolean","default":true,"description":"rangeBar: put bars with the same label on one row"},"show_labels":{"type":"boolean","default":true,"description":"rangeBar: show labels on the bars"},"chart_options":{"type":"object","description":"Raw ApexCharts options (highest precedence - overrides all other settings)"}}},"grid_options":{"type":"object","additionalProperties":true,"description":"Placement in a sections view (columns, rows), read by Home Assistant."},"view_layout":{"type":"object","additionalProperties":true,"description":"Placement in a custom view layout (e.g. grid-area), read by the view."},"visibility":{"type":"array","description":"Home Assistant visibility conditions: the card shows only while they hold."},"layout_options":{"type":"object","additionalProperties":true,"description":"The older name of grid_options, read by Home Assistant."},"card_mod":{"type":"object","additionalProperties":true,"description":"card-mod styling, read by card-mod."},"uix":{"type":"object","additionalProperties":true,"description":"UIX styling, read by UIX."}},"required":["type"]},"lcards-data-grid":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"custom:lcards-data-grid"},"rules":{"$ref":"#/$defs/rules"},"sounds":{"$ref":"#/$defs/soundsSchema"},"variables":{"type":"object","description":"Your own named values, available to templates as variables.<name> and {variables.<name>}.","additionalProperties":true},"zones":{"$ref":"#/$defs/cards_lcards_button_zones"},"debug_zones":{"type":"boolean","description":"Outline every zone on the card (development aid)."},"data_mode":{"oneOf":[{"type":"string","enum":["decorative","data"],"description":"decorative: generated values; data: your rows. Defaults to data when rows with values are set, otherwise decorative (rows with only a style stay decorative)."}]},"format":{"type":"string","enum":["digit","float","alpha","hex","mixed"],"default":"mixed","description":"Generated value format: digit (0042), float (42.17), alpha (AB), hex (A3F1) or mixed"},"refresh_interval":{"type":"number","minimum":0,"default":0,"description":"Regenerate values every N ms (0 = never)"},"refresh_cells":{"type":"number","minimum":0,"maximum":1,"default":1,"description":"Fraction of cells that change on each refresh (1 = all)"},"rows":{"type":"array","description":"Data mode: the rows, each a list of cells, { values, style, header }, or { target, values } repeated once per entity of a Home Assistant label, area, device or floor. Decorative mode: row styles only ({ style }, such as a colour per row); the list repeats from the top when the grid has more rows.","items":{"oneOf":[{"type":"array","title":"Row","items":{"$ref":"#/$defs/cards_lcards_data_grid_rows_item_item"}},{"type":"object","title":"Styled row","properties":{"values":{"type":"array","items":{"$ref":"#/$defs/cards_lcards_data_grid_rows_item_item"}},"style":{"$ref":"#/$defs/cards_lcards_data_grid_rows_item_item_style"},"header":{"type":"boolean","description":"Header row: header defaults plus header_style"}},"required":["values"],"not":{"required":["target"]}},{"type":"object","title":"Rows from Home Assistant","properties":{"target":{"type":"object","description":"Home Assistant's target: the row repeats once per entity it includes (a label on the entity, its device or its area; areas, devices, floors, entities)","properties":{"label_id":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Home Assistant label ids: one id or a list"},"area_id":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Area ids: one id or a list"},"device_id":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Device ids: one id or a list"},"floor_id":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Floor ids: one id or a list"},"entity_id":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Entity ids (hidden and configuration entities count only when named here): one id or a list"}},"additionalProperties":false},"values":{"type":"array","items":{"$ref":"#/$defs/cards_lcards_data_grid_rows_item_item"},"description":"Each copy's cells: {entity} alone is the entity's state; {entity.state}, {entity.name} and {entity.attributes.NAME} in a template read the copy's entity"},"sort":{"type":"string","enum":["name","state","none"],"default":"name","description":"Order of the copies: name (friendly name), state (numbers low to high, then text) or none (as Home Assistant lists them)"},"max_items":{"type":"integer","minimum":1,"description":"At most this many copies (the first ones after sorting)"},"style":{"$ref":"#/$defs/cards_lcards_data_grid_rows_item_item_style"}},"required":["target","values"],"additionalProperties":false},{"type":"object","title":"Row style (decorative mode)","properties":{"style":{"$ref":"#/$defs/cards_lcards_data_grid_rows_item_item_style"}},"required":["style"],"not":{"anyOf":[{"required":["values"]},{"required":["sources"]}]}}]}},"state_classification":{"$ref":"#/$defs/stateClassificationSchema"},"cell_tap_action":{"type":"object","description":"Tap action for every entity cell that has no tap_action of its own (e.g. { action: more-info })","openWhen":{"action":"fire-dom-event"},"examples":[{"action":"toggle","entity":"light.living_room"}],"properties":{"action":{"$ref":"#/$defs/cards_lcards_data_grid_cell_tap_action_action"},"pipeline_id":{"type":"string","default":"preferred","description":"assist: the Assist pipeline to open (its id, or preferred)"},"start_listening":{"type":"boolean","default":true,"description":"assist: start listening for speech when the dialog opens"},"perform_action":{"type":"string","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"Action to perform (format: domain.action); the current Home Assistant name for service","examples":["light.turn_on"]},"data":{"type":"object","description":"Data for the action (perform-action), such as brightness for light.turn_on","examples":[{"brightness":255}]},"navigation_path":{"type":"string","pattern":"^/","description":"Path to navigate to (must start with /)","examples":["/lovelace/dashboard"]},"navigation_replace":{"type":"boolean","default":false,"description":"navigate only: replace the current page in the browser history instead of adding one, so Back skips it"},"confirmation":{"$ref":"#/$defs/cards_lcards_data_grid_cell_tap_action_confirmation"},"url_path":{"type":"string","description":"url only: the address to open, in a new tab","examples":["https://www.home-assistant.io"]},"entity":{"type":"string","format":"entity","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"Entity ID (format: domain.object_id)","examples":["light.living_room"]},"target":{"type":"object","description":"What the action acts on: entity_id, device_id, area_id, floor_id or label_id (and exclude), passed to Home Assistant as the action's target","examples":[{"entity_id":"light.living_room"}]},"browser_mod":{"type":"object","description":"fire-dom-event: what browser_mod runs, in its own grammar (service and data, e.g. service: browser_mod.popup), read from the ll-custom event"},"card":{"type":"string","description":"fly-to, set-clock, set-model-scale and point-card: the id of the astrometrics card to act on (any card on the same dashboard or open in the same browser). On the astrometrics card's own points and objects, leave it out for that card."},"view":{"type":"string","description":"fly-to only: a named view of that card (camera.views)."},"point":{"type":"string","description":"fly-to: a point id of that card to fly to (wins over view). point-card: the point whose card opens or closes (on the astrometrics card's own point, leave it out for that point)."},"duration":{"type":"number","minimum":0,"description":"fly-to only: how long the flight takes, ms. Default the card's camera.fly_duration."},"warp":{"type":"boolean","description":"fly-to only: stars and dust streak on the way (warp), or false for none. Default the view's own warp, else the card's camera.warp."},"date":{"type":"string","description":"set-clock only: the scene date, now or an ISO date and time (2026-10-30, 2026-10-30T12:00:00Z). Leave out to keep the date running on.","examples":["now"]},"rate":{"type":["number","string"],"description":"set-clock only: how fast the scene date runs, days per second (1 is a day a second, 0 holds it, negative runs back), or live for real time. Leave out to keep the rate.","examples":["live"]},"model_scale":{"type":"string","enum":["real","visible","toggle"],"default":"toggle","description":"set-model-scale only: real draws the card's models at their real size, visible draws small ones at least 40 px across, toggle (the default) switches between them. Not saved."},"point_card":{"type":"string","enum":["open","close","toggle"],"description":"point-card: open, close or toggle (the default) the point's card (a card with show: tap; one is open at a time). fly-to with a point: open (or close, toggle) its card as the camera flies there."}}},"data_sources":{"$ref":"#/$defs/dataSourcesSchema"},"triggers_update":{"$ref":"#/$defs/triggersUpdateSchema"},"grid":{"type":"object","description":"CSS Grid layout of the cells","properties":{"grid-template-columns":{"type":"string","description":"Column tracks, e.g. 'repeat(12, 1fr)' or '100px 1fr 2fr'. Decorative mode takes the column count from here."},"grid-template-rows":{"type":"string","description":"Row tracks, e.g. 'repeat(8, auto)'. Decorative mode takes the row count from here."},"gap":{"type":["number","string"],"description":"Gap between cells (default 8px)","examples":["8px"]},"row-gap":{"type":["number","string"],"description":"Gap between rows"},"column-gap":{"type":["number","string"],"description":"Gap between columns"},"grid-auto-flow":{"type":"string","enum":["row","column","dense","row dense","column dense"]},"justify-items":{"type":"string","enum":["stretch","start","end","center"]},"align-items":{"type":"string","enum":["stretch","start","end","center"]},"justify-content":{"type":"string","enum":["start","end","center","stretch","space-between","space-around","space-evenly"]},"align-content":{"type":"string","enum":["start","end","center","stretch","space-between","space-around","space-evenly"]},"grid-auto-columns":{"type":"string"},"grid-auto-rows":{"type":"string"},"grid-template-areas":{"type":"string"},"grid-template":{"type":"string","description":"CSS grid-template shorthand (rows / columns)"},"place-items":{"type":"string","description":"CSS place-items: align-items and justify-items in one"},"place-content":{"type":"string","description":"CSS place-content: align-content and justify-content in one"},"grid-gap":{"type":["number","string"],"description":"Gap between cells (the older name of gap)"},"grid-row-gap":{"type":["number","string"],"description":"Gap between rows (the older name of row-gap)"},"grid-column-gap":{"type":["number","string"],"description":"Gap between columns (the older name of column-gap)"}}},"style":{"type":"object","description":"Grid-wide style for every cell","additionalProperties":{"type":["string","number"],"description":"Any other CSS property in snake_case (letter_spacing, text_shadow, ...); numbers become px"},"properties":{"color":{"$ref":"#/$defs/cards_lcards_data_grid_rows_item_item_style_color"},"background":{"$ref":"#/$defs/cards_lcards_data_grid_rows_item_item_style_background"},"font_size":{"type":["number","string"],"description":"Font size: number (px) or CSS length","examples":[18]},"font_family":{"type":"string","description":"CSS font-family","examples":["Antonio, sans-serif"]},"font_weight":{"type":["number","string"],"description":"CSS font-weight","examples":[400]},"align":{"type":"string","enum":["left","center","right"],"description":"Horizontal text alignment (default right)"},"padding":{"oneOf":[{"type":["number","string"],"description":"Number (px) or CSS padding"},{"type":"object","description":"Per-side padding in px","properties":{"top":{"type":"number"},"right":{"type":"number"},"bottom":{"type":"number"},"left":{"type":"number"}}}]},"text_transform":{"type":"string","enum":["none","uppercase","lowercase","capitalize"]},"letter_spacing":{"type":["number","string"],"description":"CSS letter-spacing"},"line_height":{"type":["number","string"],"description":"CSS line-height (numbers are unitless)"},"white_space":{"type":"string","enum":["nowrap","normal","pre","pre-wrap","pre-line"],"description":"nowrap (default) truncates with an ellipsis"},"border_width":{"type":["number","string"],"description":"Border width"},"border_color":{"type":"string","description":"Border colour"},"border_style":{"type":"string","enum":["solid","dashed","dotted","double","groove","ridge","inset","outset","none"]},"border_radius":{"type":["number","string"],"description":"Border radius"}}},"header_style":{"type":"object","description":"Style for rows marked header: true (on top of the header defaults)","additionalProperties":{"type":["string","number"],"description":"Any other CSS property in snake_case (letter_spacing, text_shadow, ...); numbers become px"},"properties":{"color":{"$ref":"#/$defs/cards_lcards_data_grid_rows_item_item_style_color"},"background":{"$ref":"#/$defs/cards_lcards_data_grid_rows_item_item_style_background"},"font_size":{"type":["number","string"],"description":"Font size: number (px) or CSS length","examples":[18]},"font_family":{"type":"string","description":"CSS font-family","examples":["Antonio, sans-serif"]},"font_weight":{"type":["number","string"],"description":"CSS font-weight","examples":[400]},"align":{"type":"string","enum":["left","center","right"],"description":"Horizontal text alignment (default right)"},"padding":{"oneOf":[{"type":["number","string"],"description":"Number (px) or CSS padding"},{"type":"object","description":"Per-side padding in px","properties":{"top":{"type":"number"},"right":{"type":"number"},"bottom":{"type":"number"},"left":{"type":"number"}}}]},"text_transform":{"type":"string","enum":["none","uppercase","lowercase","capitalize"]},"letter_spacing":{"type":["number","string"],"description":"CSS letter-spacing"},"line_height":{"type":["number","string"],"description":"CSS line-height (numbers are unitless)"},"white_space":{"type":"string","enum":["nowrap","normal","pre","pre-wrap","pre-line"],"description":"nowrap (default) truncates with an ellipsis"},"border_width":{"type":["number","string"],"description":"Border width"},"border_color":{"type":"string","description":"Border colour"},"border_style":{"type":"string","enum":["solid","dashed","dotted","double","groove","ridge","inset","outset","none"]},"border_radius":{"type":["number","string"],"description":"Border radius"}}},"columns":{"type":"array","description":"Per-column settings, by position","items":{"type":"object","properties":{"style":{"$ref":"#/$defs/cards_lcards_data_grid_rows_item_item_style"},"format":{"type":"string","enum":["digit","float","alpha","hex","mixed"],"description":"Decorative mode: format for this column"}}}},"animations":{"type":"array","description":"Card animations. preset: cascade-color runs row by row (params: pattern, speed_multiplier, duration, timing, colors).","items":{"$ref":"#/$defs/animation"}},"highlight_changes":{"oneOf":[{"type":"boolean","description":"Pulse cells when their value changes"},{"type":"object","description":"Animate cells when their value changes","properties":{"preset":{"type":"string","default":"pulse","description":"Animation preset, e.g. pulse or glow"},"duration":{"type":"number","minimum":0,"default":500},"ease":{"type":"string","default":"outQuad"},"params":{"type":"object","description":"Preset params, e.g. { max_scale: 1.08 } or { color, blur_max }"},"max_cells":{"type":"number","minimum":0,"description":"Most cells to animate at once (default: all, capped at 100)"}}}]},"filters":{"type":"array","description":"CSS filters applied to the whole grid","items":{"$ref":"#/$defs/filter"}},"id":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","description":"Unique card identifier for rule targeting, animations, and debugging (alphanumeric, underscore, hyphen)","examples":["main-button"]},"tags":{"type":"array","items":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$"},"description":"LCARdS tags for rules: a rule on tag:<name> targets every card with the tag. Labels set in Home Assistant are separate; rules target those with ha_label:<label_id>.","examples":[["navigation","primary"]]},"grid_options":{"$ref":"#/$defs/gridOptionsSchema"},"height":{"$ref":"#/$defs/cardHeightSchema"},"width":{"$ref":"#/$defs/cardWidthSchema"},"min_height":{"$ref":"#/$defs/cardMinHeightSchema"},"min_width":{"$ref":"#/$defs/cardMinWidthSchema"},"max_height":{"$ref":"#/$defs/cardMaxHeightSchema"},"max_width":{"$ref":"#/$defs/cardMaxWidthSchema"},"overflow":{"type":"string","enum":["visible","hidden","clip","scroll","auto"],"description":"CSS overflow shorthand on the card host element (sets both axes unless overridden per-axis)."},"overflow_x":{"type":"string","enum":["visible","hidden","clip","scroll","auto"],"description":"CSS overflow-x on the card host element. Overrides the overflow shorthand for the horizontal axis."},"overflow_y":{"type":"string","enum":["visible","hidden","clip","scroll","auto"],"description":"CSS overflow-y on the card host element. Overrides the overflow shorthand for the vertical axis."},"z_index":{"type":"integer","description":"CSS z-index stacking order on the card host element."},"view_layout":{"type":"object","additionalProperties":true,"description":"Placement in a custom view layout (e.g. grid-area), read by the view."},"visibility":{"type":"array","description":"Home Assistant visibility conditions: the card shows only while they hold."},"layout_options":{"type":"object","additionalProperties":true,"description":"The older name of grid_options, read by Home Assistant."},"card_mod":{"type":"object","additionalProperties":true,"description":"card-mod styling, read by card-mod."},"uix":{"type":"object","additionalProperties":true,"description":"UIX styling, read by UIX."}}},"lcards-alert-overlay":{"title":"LCARdS Alert Overlay","description":"Full-screen alert overlay card that reacts to the lcards_alert_mode input_select","type":"object","properties":{"type":{"type":"string","const":"custom:lcards-alert-overlay"},"dismiss_mode":{"type":"string","enum":["dismiss","reset","auto-dismiss","auto-reset","none"],"description":"dismiss = hide overlay only; reset = hide + set alert_mode back to green_alert; auto-dismiss = automatically hide after auto_dismiss_seconds; auto-reset = automatically hide and reset alert_mode after auto_dismiss_seconds; none = no click or tap closes it (the backdrop lets clicks through to the dashboard, as with lcards.show_portal_card dismiss: false); it stays until the alert clears","default":"dismiss"},"auto_dismiss_seconds":{"type":"number","minimum":1,"description":"Seconds before the overlay auto-dismisses. Required when dismiss_mode is auto-dismiss or auto-reset. Can be overridden per condition under conditions.<key>.auto_dismiss_seconds.","examples":[10]},"backdrop":{"type":"object","description":"[DEPRECATED] Migrated at runtime to layers.backdrop + layers.color. Still accepted for backward compatibility.","properties":{"blur":{"type":"string","description":"CSS backdrop-filter blur value","default":"8px"},"opacity":{"type":"number","minimum":0,"maximum":1,"description":"Backdrop opacity (0–1)","default":0.6},"color":{"type":"string","description":"Backdrop background colour (CSS colour value)","default":"rgba(0,0,0,0.5)"}},"additionalProperties":false},"layers":{"oneOf":[{"type":"null","description":"null: explicitly disables all screen effect layers (useful as a per-condition override)."},{"type":"object","description":"Screen effect layers applied independently behind the overlay. Absent slot = disabled; null slot = explicitly cleared.","properties":{"backdrop":{"oneOf":[{"type":"null","description":"Explicitly disable this layer for a condition override"},{"type":"object","description":"CSS backdrop-filter layer. Preset: blur | grayscale | saturate | contrast | hue-rotate","properties":{"preset":{"type":"string","examples":["blur"]}},"required":["preset"],"additionalProperties":true}]},"color":{"oneOf":[{"type":"null","description":"Explicitly disable this layer for a condition override"},{"type":"object","description":"Colour overlay layer. Preset: color-tint | vignette","properties":{"preset":{"type":"string","examples":["color-tint"]}},"required":["preset"],"additionalProperties":true}]},"canvas":{"oneOf":[{"type":"null","description":"Explicitly disable this layer for a condition override"},{"type":"object","description":"Canvas animation layer. Preset: static | pixelate | glitch | scanlines","properties":{"preset":{"type":"string","examples":["static"]}},"required":["preset"],"additionalProperties":true}]}},"additionalProperties":false}]},"display":{"type":"string","enum":["overlay","band"],"default":"overlay","description":"overlay = backdrop and the alert symbol (or content card) in the middle, the dashboard blocked until dismissed; band = a row of dashes across the screen with the symbol in the middle, the dashboard stays usable (click the symbol to dismiss)"},"band":{"type":"object","description":"Alert band settings (display: band). A row of dashes in the condition colour across the screen, with the alert symbol in the middle.","properties":{"position":{"type":"string","pattern":"^(top|center|bottom|-?\\d+(\\.\\d+)?%)$","default":"center","description":"Where the band sits: top, center, bottom, or a percentage of the screen height for the band centre (e.g. 75%)","examples":["center"]},"height":{"type":"string","default":"clamp(24px, 4vh, 64px)","description":"Dash height (CSS length)","examples":["48px"]},"dash_width":{"type":"number","minimum":1,"default":8,"description":"Dash width in px"},"dash_gap":{"type":"number","minimum":0,"default":12,"description":"Space between dashes in px"},"dash_radius":{"oneOf":[{"type":"number","minimum":0},{"type":"string","const":"pill"}],"default":0,"description":"Dash corner radius in px, or pill for fully rounded ends","examples":[2]},"grow":{"type":"number","minimum":1,"maximum":4,"default":1,"description":"Peak dash height as a multiple of the band height, following the animation: the dashes swell as the sweep passes (or all together with flash). 1 = no growth","examples":[1.5]},"emblem":{"type":"boolean","default":true,"description":"Show the alert symbol (or the content card) in the middle of the band. Without it, only auto-dismiss or the alert mode changing hides the band"},"emblem_scale":{"type":"number","minimum":1,"maximum":10,"default":4,"description":"Height of the symbol as a multiple of the band height"},"animation":{"type":"string","enum":["sweep","flash","none"],"default":"sweep","description":"sweep = a flash runs outward from the symbol; flash = all dashes pulse together; none = still. Reduced-motion settings turn it off"},"direction":{"type":"string","enum":["outward","inward"],"default":"outward","description":"Sweep direction: outward from the symbol, or inward from the screen edges"},"speed":{"type":"number","minimum":0.25,"maximum":4,"default":1,"description":"Animation speed multiplier (2 = twice as fast). The alert symbol bars follow it unless alert_button.speed is set","examples":[0.5]},"phase":{"$ref":"#/$defs/cards_lcards_alert_overlay_band_phase"},"color":{"type":"string","description":"Dash colour (default: the condition alert colour from the theme)","examples":["theme:colors.alert.red"]}},"additionalProperties":false},"position":{"type":"string","enum":["top-left","top","top-center","top-right","left","center-left","left-center","center","right","center-right","right-center","bottom-left","bottom","bottom-center","bottom-right"],"default":"center"},"width":{"type":"string","description":"Content card width (CSS value). Percentages are of the screen. Default 60%.","default":"60%","examples":["60%"]},"height":{"type":"string","description":"Content card height (CSS value). Percentages are of the screen. Default: 50% for the built-in alert symbol when no width is set either; otherwise the content sizes itself (auto).","examples":["50%"]},"alert_button":{"type":"object","description":"Changes to the built-in alert symbol for every condition (conditions.<key>.alert_button merges over it). Any lcards-button key except type, component and preset, which stay fixed so each condition keeps its own colours.","properties":{"text":{"type":"object","description":"Text field changes, as lcards-button text: e.g. text.sub_text.content, text.alert_text.color, text.sub_text.font_size","additionalProperties":true},"alert":{"type":"object","description":"Alert component settings: e.g. alert.color.shape, alert.color.bars","additionalProperties":true},"speed":{"type":"number","minimum":0.25,"maximum":4,"description":"Speed multiplier for the alert symbol bar sweep (2 = twice as fast). In band mode it follows band.speed unless set","examples":[0.5]}},"additionalProperties":true},"conditions":{"type":"object","description":"Per-condition overrides. Keys match alert mode values (red_alert, yellow_alert, etc.)","additionalProperties":{"type":"object","properties":{"content":{"type":"object","description":"Home Assistant card config to render inside the overlay for this condition","properties":{"type":{"type":"string","description":"Card type (e.g. custom:lcards-button)"}},"required":["type"],"additionalProperties":true},"alert_button":{"type":"object","description":"Changes to the alert symbol for this condition, over the card alert_button. Ignored when content is set (content replaces the symbol).","properties":{"text":{"type":"object","description":"Text field changes, as lcards-button text: e.g. text.sub_text.content, text.alert_text.color, text.sub_text.font_size","additionalProperties":true},"alert":{"type":"object","description":"Alert component settings: e.g. alert.color.shape, alert.color.bars","additionalProperties":true},"speed":{"type":"number","minimum":0.25,"maximum":4,"description":"Speed multiplier for the alert symbol bar sweep (2 = twice as fast). In band mode it follows band.speed unless set","examples":[0.5]}},"additionalProperties":true},"backdrop":{"type":"object","description":"[DEPRECATED] Migrated at runtime to layers. Still accepted for backward compatibility.","properties":{"blur":{"type":"string"},"opacity":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string"}},"additionalProperties":false},"layers":{"type":"object","description":"Per-condition screen effect layer overrides. Unset slots inherit from the global layers config. null = explicitly disable that slot.","properties":{"backdrop":{"oneOf":[{"type":"null"},{"type":"object","properties":{"preset":{"type":"string"}},"required":["preset"],"additionalProperties":true}]},"color":{"oneOf":[{"type":"null"},{"type":"object","properties":{"preset":{"type":"string"}},"required":["preset"],"additionalProperties":true}]},"canvas":{"oneOf":[{"type":"null"},{"type":"object","properties":{"preset":{"type":"string"}},"required":["preset"],"additionalProperties":true}]}},"additionalProperties":false},"position":{"type":"string","enum":["top-left","top","top-center","top-right","left","center-left","left-center","center","right","center-right","right-center","bottom-left","bottom","bottom-center","bottom-right"]},"display":{"type":"string","enum":["overlay","band"],"description":"Presentation for this condition (overlay or band); falls back to the card display"},"band":{"type":"object","description":"Band settings for this condition, merged over the card band","properties":{"position":{"type":"string","pattern":"^(top|center|bottom|-?\\d+(\\.\\d+)?%)$","default":"center","description":"Where the band sits: top, center, bottom, or a percentage of the screen height for the band centre (e.g. 75%)","examples":["center"]},"height":{"type":"string","default":"clamp(24px, 4vh, 64px)","description":"Dash height (CSS length)","examples":["48px"]},"dash_width":{"type":"number","minimum":1,"default":8,"description":"Dash width in px"},"dash_gap":{"type":"number","minimum":0,"default":12,"description":"Space between dashes in px"},"dash_radius":{"oneOf":[{"type":"number","minimum":0},{"type":"string","const":"pill"}],"default":0,"description":"Dash corner radius in px, or pill for fully rounded ends","examples":[2]},"grow":{"type":"number","minimum":1,"maximum":4,"default":1,"description":"Peak dash height as a multiple of the band height, following the animation: the dashes swell as the sweep passes (or all together with flash). 1 = no growth","examples":[1.5]},"emblem":{"type":"boolean","default":true,"description":"Show the alert symbol (or the content card) in the middle of the band. Without it, only auto-dismiss or the alert mode changing hides the band"},"emblem_scale":{"type":"number","minimum":1,"maximum":10,"default":4,"description":"Height of the symbol as a multiple of the band height"},"animation":{"type":"string","enum":["sweep","flash","none"],"default":"sweep","description":"sweep = a flash runs outward from the symbol; flash = all dashes pulse together; none = still. Reduced-motion settings turn it off"},"direction":{"type":"string","enum":["outward","inward"],"default":"outward","description":"Sweep direction: outward from the symbol, or inward from the screen edges"},"speed":{"type":"number","minimum":0.25,"maximum":4,"default":1,"description":"Animation speed multiplier (2 = twice as fast). The alert symbol bars follow it unless alert_button.speed is set","examples":[0.5]},"phase":{"$ref":"#/$defs/cards_lcards_alert_overlay_band_phase"},"color":{"type":"string","description":"Dash colour (default: the condition alert colour from the theme)","examples":["theme:colors.alert.red"]}},"additionalProperties":false},"width":{"type":"string","description":"Content card width for this condition (CSS value); falls back to the card width"},"height":{"type":"string","description":"Content card height for this condition (CSS value); falls back to the card height"},"auto_dismiss_seconds":{"type":"number","minimum":1,"description":"Override auto-dismiss duration for this specific condition. Only relevant when the global dismiss_mode is auto-dismiss or auto-reset.","examples":[10]}},"additionalProperties":false}},"grid_options":{"type":"object","additionalProperties":true,"description":"Placement in a sections view (columns, rows), read by Home Assistant."},"view_layout":{"type":"object","additionalProperties":true,"description":"Placement in a custom view layout (e.g. grid-area), read by the view."},"visibility":{"type":"array","description":"Home Assistant visibility conditions: the card shows only while they hold."},"layout_options":{"type":"object","additionalProperties":true,"description":"The older name of grid_options, read by Home Assistant."},"card_mod":{"type":"object","additionalProperties":true,"description":"card-mod styling, read by card-mod."},"uix":{"type":"object","additionalProperties":true,"description":"UIX styling, read by UIX."}},"required":["type"],"additionalProperties":false},"lcards-select-menu":{"title":"LCARdS Select Menu Card Configuration","description":"Renders an input_select entity as a grid of LCARS-styled option buttons. Each button calls input_select.select_option when tapped. The selected option is styled as \"active\", all others as \"inactive\".","type":"object","required":["type"],"examples":[{"type":"custom:lcards-select-menu","entity":"input_select.view_selector","preset":"lozenge","grid":{"columns":1,"gap":"4px"}}],"properties":{"type":{"type":"string","const":"custom:lcards-select-menu","description":"Home Assistant card type identifier (required)"},"data_sources":{"$ref":"#/$defs/dataSourcesSchema"},"entity":{"type":"string","format":"entity","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"input_select (or select) entity whose options become buttons","examples":["light.living_room"]},"id":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","description":"Unique card identifier for rule targeting, animations, and debugging (alphanumeric, underscore, hyphen)","examples":["main-button"]},"tags":{"type":"array","items":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$"},"description":"LCARdS tags for rules: a rule on tag:<name> targets every card with the tag. Labels set in Home Assistant are separate; rules target those with ha_label:<label_id>.","examples":[["navigation","primary"]]},"height":{"$ref":"#/$defs/cardHeightSchema"},"width":{"$ref":"#/$defs/cardWidthSchema"},"min_height":{"$ref":"#/$defs/cardMinHeightSchema"},"min_width":{"$ref":"#/$defs/cardMinWidthSchema"},"max_height":{"$ref":"#/$defs/cardMaxHeightSchema"},"max_width":{"$ref":"#/$defs/cardMaxWidthSchema"},"overflow":{"type":"string","enum":["visible","hidden","clip","scroll","auto"],"description":"CSS overflow shorthand on the card host element (sets both axes unless overridden per-axis)."},"overflow_x":{"type":"string","enum":["visible","hidden","clip","scroll","auto"],"description":"CSS overflow-x on the card host element. Overrides the overflow shorthand for the horizontal axis."},"overflow_y":{"type":"string","enum":["visible","hidden","clip","scroll","auto"],"description":"CSS overflow-y on the card host element. Overrides the overflow shorthand for the vertical axis."},"z_index":{"type":"integer","description":"CSS z-index stacking order on the card host element."},"preset":{"type":"string","description":"Button style preset applied to all option buttons (e.g. lozenge, filled, outline)","examples":["lozenge"]},"grid":{"type":"object","description":"Grid layout config for option buttons. Supports CSS Grid shorthand or full properties.","properties":{"columns":{"oneOf":[{"type":"number","minimum":1,"maximum":24},{"type":"string","description":"CSS grid-template-columns value, e.g. \"repeat(4, 1fr)\""}],"description":"Number of columns (shorthand → repeat(N, 1fr)) or full CSS grid-template-columns value"},"rows":{"type":["number","string"],"description":"Explicit rows: a number gives that many rows of the grid-auto-rows height, a string is a CSS grid-template-rows value. More options than rows add rows of the grid-auto-rows height (row flow)."},"gap":{"type":"string","description":"CSS gap shorthand (applies to both row and column gap)","examples":["4px"]},"row-gap":{"type":"string","description":"Override row gap","examples":["4px"]},"column-gap":{"type":"string","description":"Override column gap","examples":["4px"]},"row_gap":{"type":"string","description":"Alias of row-gap (row-gap wins when both are set)","examples":["4px"]},"column_gap":{"type":"string","description":"Alias of column-gap (column-gap wins when both are set)","examples":["4px"]},"grid-auto-flow":{"type":"string","enum":["row","column","dense","row dense","column dense"],"description":"CSS grid-auto-flow direction"},"grid-template-columns":{"type":"string","description":"Full CSS grid-template-columns (overrides columns shorthand)","examples":["repeat(4, 1fr)"]},"grid-auto-rows":{"type":"string","description":"CSS grid-auto-rows for implicit row height","examples":["auto"]},"justify-items":{"type":"string","enum":["stretch","start","end","center"],"description":"CSS justify-items for cell alignment"},"align-items":{"type":"string","enum":["stretch","start","end","center"],"description":"CSS align-items for cell alignment"},"height":{"type":"string","enum":["fit","100%"],"description":"\"fit\": sizes the card host to the exact height of all buttons (useful for outer grid track sizing). \"100%\": proportionally fills a bounded parent row, resizing buttons to fit without overflow. For a fixed card height with scrolling, use the top-level height + overflow_y config instead."}},"additionalProperties":true},"options":{"oneOf":[{"type":"object","description":"Object form: per-option overrides keyed by option value. Entity order is preserved.","additionalProperties":{"type":"object","description":"Per-option visual overrides","properties":{"rules":{"$ref":"#/$defs/rules"},"sounds":{"$ref":"#/$defs/soundsSchema"},"variables":{"type":"object","description":"Your own named values, available to templates as variables.<name> and {variables.<name>}.","additionalProperties":true},"zones":{"$ref":"#/$defs/cards_lcards_button_zones"},"debug_zones":{"type":"boolean","description":"Outline every zone on the card (development aid)."},"value":{"type":"string","description":"Option value (required in array form, must match entity option)"},"label":{"type":"string","description":"Display label override (default: option value)"},"icon":{"type":"string","description":"MDI icon (e.g. mdi:home) or Simple Icons (si:github)","examples":["mdi:home"]},"style":{"type":"object","description":"Style overrides for this option (same shape as card-level style)","properties":{"card":{"type":"object","properties":{"color":{"type":"object"}}},"text":{"type":"object","properties":{"default":{"type":"object"}}}},"additionalProperties":true},"tap_action":{"$ref":"#/$defs/action"},"hold_action":{"$ref":"#/$defs/action"},"double_tap_action":{"$ref":"#/$defs/action"}},"additionalProperties":false}},{"type":"array","description":"Array form: explicit ordered list (also filters which options are shown). Each item must have a \"value\" key.","items":{"type":"object","description":"Per-option visual overrides","properties":{"rules":{"$ref":"#/$defs/rules"},"sounds":{"$ref":"#/$defs/soundsSchema"},"variables":{"type":"object","description":"Your own named values, available to templates as variables.<name> and {variables.<name>}.","additionalProperties":true},"zones":{"$ref":"#/$defs/cards_lcards_button_zones"},"debug_zones":{"type":"boolean","description":"Outline every zone on the card (development aid)."},"value":{"type":"string","description":"Option value (required in array form, must match entity option)"},"label":{"type":"string","description":"Display label override (default: option value)"},"icon":{"type":"string","description":"MDI icon (e.g. mdi:home) or Simple Icons (si:github)","examples":["mdi:home"]},"style":{"type":"object","description":"Style overrides for this option (same shape as card-level style)","properties":{"card":{"type":"object","properties":{"color":{"type":"object"}}},"text":{"type":"object","properties":{"default":{"type":"object"}}}},"additionalProperties":true},"tap_action":{"$ref":"#/$defs/action"},"hold_action":{"$ref":"#/$defs/action"},"double_tap_action":{"$ref":"#/$defs/action"}},"additionalProperties":false,"required":["value"]}}],"description":"Per-option configuration. Object: override by name (entity order preserved). Array: explicit order + filter."},"style":{"type":"object","description":"Style applied to all option buttons. Uses the same stateColor schema as lcards-button. active = selected, inactive = unselected.","properties":{"card":{"type":"object","properties":{"color":{"type":"object","properties":{"background":{"oneOf":[{"type":"string"},{"type":"object","properties":{"active":{"type":"string","description":"Selected option background"},"inactive":{"type":"string","description":"Unselected option background"},"hover":{"type":"string","description":"Hovered option background"},"pressed":{"type":"string","description":"Pressed option background"},"unavailable":{"type":"string","description":"Background when entity unavailable"},"default":{"type":"string","description":"Fallback background color"}},"additionalProperties":true}],"description":"Option button background color (state-based or static)"}},"additionalProperties":true}},"additionalProperties":true},"text":{"type":"object","properties":{"default":{"type":"object","properties":{"color":{"$ref":"#/$defs/state-color"},"font_size":{"type":["number","string"]},"font_weight":{"type":["number","string"]},"text_transform":{"type":"string","enum":["uppercase","lowercase","capitalize","none"]},"letter_spacing":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true},"border":{"type":"object","properties":{"radius":{"oneOf":[{"type":"number"},{"type":"string"},{"type":"object","properties":{"top_left":{"type":"number"},"top_right":{"type":"number"},"bottom_right":{"type":"number"},"bottom_left":{"type":"number"}}}],"description":"Border radius (px or CSS string). Object form for per-corner control."},"width":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"Border width (px)"},"color":{"oneOf":[{"type":"string"},{"type":"object"}],"description":"Border color (static or state-based)"}},"additionalProperties":true},"opacity":{"type":"number","minimum":0,"maximum":1,"description":"Opacity of every option but the selected one (0-1). Default 1 (no dimming). Needs an entity: without one no option is selected."}},"additionalProperties":true},"button_template":{"type":"object","description":"Any button card keys (text, style, icon, min_height ...) applied to every option button as their base; the card's own keys and each option's settings win over it. id and tags are ignored, and the label text is always the option's label.","additionalProperties":true},"tap_action":{"type":"object","description":"Override the default select_option tap action for ALL option buttons (per-option tap_action takes priority).","openWhen":{"action":"fire-dom-event"},"examples":[{"action":"toggle","entity":"light.living_room"}],"properties":{"action":{"$ref":"#/$defs/cards_lcards_data_grid_cell_tap_action_action"},"pipeline_id":{"type":"string","default":"preferred","description":"assist: the Assist pipeline to open (its id, or preferred)"},"start_listening":{"type":"boolean","default":true,"description":"assist: start listening for speech when the dialog opens"},"perform_action":{"type":"string","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"Action to perform (format: domain.action); the current Home Assistant name for service","examples":["light.turn_on"]},"data":{"type":"object","description":"Data for the action (perform-action), such as brightness for light.turn_on","examples":[{"brightness":255}]},"navigation_path":{"type":"string","pattern":"^/","description":"Path to navigate to (must start with /)","examples":["/lovelace/dashboard"]},"navigation_replace":{"type":"boolean","default":false,"description":"navigate only: replace the current page in the browser history instead of adding one, so Back skips it"},"confirmation":{"$ref":"#/$defs/cards_lcards_data_grid_cell_tap_action_confirmation"},"url_path":{"type":"string","description":"url only: the address to open, in a new tab","examples":["https://www.home-assistant.io"]},"entity":{"type":"string","format":"entity","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"Entity ID (format: domain.object_id)","examples":["light.living_room"]},"target":{"type":"object","description":"What the action acts on: entity_id, device_id, area_id, floor_id or label_id (and exclude), passed to Home Assistant as the action's target","examples":[{"entity_id":"light.living_room"}]},"browser_mod":{"type":"object","description":"fire-dom-event: what browser_mod runs, in its own grammar (service and data, e.g. service: browser_mod.popup), read from the ll-custom event"},"card":{"type":"string","description":"fly-to, set-clock, set-model-scale and point-card: the id of the astrometrics card to act on (any card on the same dashboard or open in the same browser). On the astrometrics card's own points and objects, leave it out for that card."},"view":{"type":"string","description":"fly-to only: a named view of that card (camera.views)."},"point":{"type":"string","description":"fly-to: a point id of that card to fly to (wins over view). point-card: the point whose card opens or closes (on the astrometrics card's own point, leave it out for that point)."},"duration":{"type":"number","minimum":0,"description":"fly-to only: how long the flight takes, ms. Default the card's camera.fly_duration."},"warp":{"type":"boolean","description":"fly-to only: stars and dust streak on the way (warp), or false for none. Default the view's own warp, else the card's camera.warp."},"date":{"type":"string","description":"set-clock only: the scene date, now or an ISO date and time (2026-10-30, 2026-10-30T12:00:00Z). Leave out to keep the date running on.","examples":["now"]},"rate":{"type":["number","string"],"description":"set-clock only: how fast the scene date runs, days per second (1 is a day a second, 0 holds it, negative runs back), or live for real time. Leave out to keep the rate.","examples":["live"]},"model_scale":{"type":"string","enum":["real","visible","toggle"],"default":"toggle","description":"set-model-scale only: real draws the card's models at their real size, visible draws small ones at least 40 px across, toggle (the default) switches between them. Not saved."},"point_card":{"type":"string","enum":["open","close","toggle"],"description":"point-card: open, close or toggle (the default) the point's card (a card with show: tap; one is open at a time). fly-to with a point: open (or close, toggle) its card as the camera flies there."}}},"hold_action":{"$ref":"#/$defs/action"},"double_tap_action":{"$ref":"#/$defs/action"},"grid_options":{"$ref":"#/$defs/gridOptionsSchema"},"view_layout":{"type":"object","additionalProperties":true,"description":"Placement in a custom view layout (e.g. grid-area), read by the view."},"visibility":{"type":"array","description":"Home Assistant visibility conditions: the card shows only while they hold."},"layout_options":{"type":"object","additionalProperties":true,"description":"The older name of grid_options, read by Home Assistant."},"card_mod":{"type":"object","additionalProperties":true,"description":"card-mod styling, read by card-mod."},"uix":{"type":"object","additionalProperties":true,"description":"UIX styling, read by UIX."}},"additionalProperties":true},"lcards-layout-card":{"type":"object","required":["type"],"additionalProperties":true,"properties":{"type":{"type":"string","const":"custom:lcards-layout-card"},"layout":{"$ref":"#/$defs/cards_lcards_layout_card_layout"},"view_layout":{"$ref":"#/$defs/cards_lcards_layout_card_view_layout"},"cards":{"$ref":"#/$defs/cards_lcards_layout_card_cards"},"grid_options":{"type":"object","additionalProperties":true,"description":"Placement in a sections view (columns, rows), read by Home Assistant."},"visibility":{"type":"array","description":"Home Assistant visibility conditions: the card shows only while they hold."},"layout_options":{"type":"object","additionalProperties":true,"description":"The older name of grid_options, read by Home Assistant."},"card_mod":{"type":"object","additionalProperties":true,"description":"card-mod styling, read by card-mod."},"uix":{"type":"object","additionalProperties":true,"description":"UIX styling, read by UIX."}}},"lcards-msd-card":{"type":"object","title":"MSD Card","description":"Master Systems Display card with overlays and routing","required":["type","msd"],"properties":{"type":{"type":"string","enum":["custom:lcards-msd-card"],"description":"Card type identifier"},"id":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","description":"Custom card ID for rule targeting (optional - auto-generated if omitted)","examples":["main-button"]},"tags":{"type":"array","items":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$"},"description":"LCARdS tags for rules: a rule on tag:<name> targets every card with the tag. Labels set in Home Assistant are separate; rules target those with ha_label:<label_id>.","examples":[["navigation","primary"]]},"height":{"$ref":"#/$defs/cardHeightSchema"},"width":{"$ref":"#/$defs/cardWidthSchema"},"min_height":{"$ref":"#/$defs/cardMinHeightSchema"},"min_width":{"$ref":"#/$defs/cardMinWidthSchema"},"max_height":{"$ref":"#/$defs/cardMaxHeightSchema"},"max_width":{"$ref":"#/$defs/cardMaxWidthSchema"},"overflow":{"type":"string","enum":["visible","hidden","clip","scroll","auto"],"description":"CSS overflow shorthand on the card host element (sets both axes unless overridden per-axis)."},"overflow_x":{"type":"string","enum":["visible","hidden","clip","scroll","auto"],"description":"CSS overflow-x on the card host element. Overrides the overflow shorthand for the horizontal axis."},"overflow_y":{"type":"string","enum":["visible","hidden","clip","scroll","auto"],"description":"CSS overflow-y on the card host element. Overrides the overflow shorthand for the vertical axis."},"z_index":{"type":"integer","description":"CSS z-index stacking order on the card host element."},"msd":{"type":"object","properties":{"base_svg":{"type":"object","title":"Base SVG Configuration","description":"Background SVG the overlays draw on. Optional when view_box is set (a blank canvas).","required":["source"],"properties":{"source":{"type":"string","minLength":1,"description":"SVG source: builtin:key, /local/path.svg, a media-source://… content ID (picked via the Home Assistant media library), or \"none\"","examples":["builtin:ncc-1701-a-blue"],"errorMessage":"base_svg.source is required"},"filters":{"type":"array","optional":true,"description":"Stackable CSS/SVG filters applied in sequence","items":{"$ref":"#/$defs/filter"}},"render_visual":{"type":"boolean","optional":true,"default":true,"description":"Whether the base SVG is painted as the visible background. Set false to use background_animation (e.g. a static image or animated layers) as the visual background instead, while the SVG is still parsed for anchors as normal."},"harvest_landmarks":{"type":"boolean","optional":true,"default":true,"description":"Compute geometric landmark anchors (hull_center, extremity_bow/stern/top/bottom, lateral_a/b) from the base SVG silhouette."},"harvest_svg_elements":{"type":"boolean","optional":true,"default":true,"description":"Harvest anchors from named <circle>/<ellipse>/<text>/<rect>/<g> elements embedded in the base SVG."},"animations":{"type":"array","optional":true,"description":"Animations targeting elements inside the base SVG (by id/class, same target syntax as overlay animations)","items":{"$ref":"#/$defs/animation"}}}},"background_animation":{"$ref":"#/$defs/background-animation"},"view_box":{"oneOf":[{"type":"string","enum":["auto"],"description":"Auto-extract from base_svg"},{"type":"array","minItems":4,"maxItems":4,"items":{"type":"number"},"description":"[minX, minY, width, height]"}],"optional":true,"default":"auto"},"anchors":{"type":"object","optional":true,"description":"Named anchor points for overlay positioning","additionalProperties":{"type":"array","minItems":2,"maxItems":2,"items":{"oneOf":[{"type":"number"},{"type":"string","pattern":"^\\d+(\\.\\d+)?%$"}]}}},"overlays":{"type":"array","optional":true,"description":"Array of overlay configurations (validated by overlay schemas)","items":{"type":"object","required":["id","type"],"properties":{"id":{"type":"string","description":"Unique identifier for this overlay"},"tags":{"type":"array","items":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$"},"description":"Tags for rule targeting: a rule selector `tag:<name>` matches every overlay carrying that tag.","examples":[["navigation","primary"]],"optional":true},"type":{"type":"string","enum":["line","control","shape"],"errorMessage":"Only \"line\", \"control\", and \"shape\" overlay types supported. Use LCARdS cards for buttons/charts."},"kind":{"type":"string","enum":["polyline","rect","circle"],"optional":true,"description":"Shape overlays only: geometry primitive. polyline uses `points` (+ optional `closed`); rect/circle use `position` + `size` like control overlays."},"points":{"type":"array","optional":true,"description":"Shape overlays (kind: polyline) only: ordered vertex list. Each entry is either [x, y] in viewBox units or a static anchor-name string. Minimum 2 points.","items":{"oneOf":[{"type":"array","minItems":2,"maxItems":2,"items":{"type":"number"}},{"type":"string"}]}},"closed":{"type":"boolean","optional":true,"default":false,"description":"Shape overlays (kind: polyline) only: close the path back to its first point and allow `style.fill`."},"entity":{"type":"string","format":"entity","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"Line overlays: entity to bind style.color to (state-color object); see style.color. Not used by control overlays, which already have their own entity via the embedded card.","examples":["light.living_room"],"optional":true},"state_attribute":{"type":"string","optional":true,"description":"Line overlays: attribute whose string value is matched against style.color state keys instead of the raw entity state (e.g. \"fade\", \"true\"); mirrors the button card's state_attribute, scoped per-line"},"ranges_attribute":{"type":"string","optional":true,"description":"Line overlays: attribute value compared against above:/below:/between: keys in style.color; mirrors the button card's ranges_attribute, scoped per-line"},"animations":{"type":"array","optional":true,"description":"Line and shape overlays: animations on this overlay (same syntax as card animations; e.g. trigger: on_show with preset: draw to draw the line in each time the card appears)","items":{"$ref":"#/$defs/animation"}},"style":{"type":"object","optional":true,"description":"Line/shape overlay styling (color, width, opacity, dash pattern, markers, gradient/pattern fill, etc.)","properties":{"color":{"oneOf":[{"$ref":"#/$defs/cards_lcards_button_icon_area_background"},{"$ref":"#/$defs/cards_lcards_button_icon_area_background_2"}],"description":"Stroke color: a literal/token/CSS value, or a state-color object resolved against `entity` (same state-color pipeline as buttons/sliders; requires `entity` to be set)"},"width":{"type":"number","optional":true,"default":2,"description":"Stroke width in viewBox units (alias: stroke_width)"},"opacity":{"type":"number","min":0,"max":1,"optional":true,"default":1,"description":"Stroke opacity"},"line_cap":{"type":"string","enum":["butt","round","square"],"optional":true,"default":"butt","description":"Stroke line cap style, applied to every dash segment (use with dash_array \"0,N\" and line_cap: round for true circular dots). Has no visible effect on a solid (non-dashed) closed shape."},"line_join":{"type":"string","enum":["miter","round","bevel"],"optional":true,"description":"Stroke line join style at path vertices. Meaningful for polyline and rect; no effect on circle/ellipse."},"miter_limit":{"type":"number","optional":true,"default":4,"description":"Miter limit, used when line_join is \"miter\""},"dash_array":{"type":["string","array"],"optional":true,"description":"Dash pattern, e.g. \"5,5\" or [5, 5]"},"dash_offset":{"type":"number","optional":true,"default":0,"description":"Dash pattern offset"},"fill":{"oneOf":[{"type":"string","pattern":"^none$|^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Single colour value applied to all entity states","examples":["#FF9900"],"title":"Simple Colour"},{"type":"object","title":"State-Dependent Colours","description":"Map of entity state names to colour values. Well-known keys: default, active, inactive, unavailable, zero, non_zero, hover, pressed. Any custom state name (e.g. \"heating\", \"above:90\") is also accepted.","examples":[{"default":"#888888","active":"alpha(var(--lcards-orange), 0.08)","inactive":"#444444"}],"properties":{"default":{"type":"string","pattern":"^none$|^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Fallback colour when no other state key matches","examples":["#FF9900"]},"active":{"type":"string","pattern":"^none$|^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Colour when entity is on/active","examples":["#FF9900"]},"inactive":{"type":"string","pattern":"^none$|^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Colour when entity is off/inactive","examples":["#FF9900"]},"unavailable":{"type":"string","pattern":"^none$|^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Colour when entity is unavailable","examples":["#FF9900"]},"zero":{"type":"string","pattern":"^none$|^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Colour when entity state is numeric 0","examples":["#FF9900"]},"non_zero":{"type":"string","pattern":"^none$|^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Colour when entity state is a non-zero number","examples":["#FF9900"]},"hover":{"type":"string","pattern":"^none$|^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Colour on hover interaction","examples":["#FF9900"]},"pressed":{"type":"string","pattern":"^none$|^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Colour on press/tap interaction","examples":["#FF9900"]}},"additionalProperties":{"type":"string","pattern":"^none$|^(#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$|(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|currentcolor|currentColor|match-light)$|theme:|var\\(--|(rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix)\\(|(alpha|darken|lighten|saturate|desaturate|mix|base)\\()","description":"Colour for a custom state key (e.g. \"heating\", \"cooling\", \"above:90\", \"below:20\")","examples":["#FF9900"]}}],"description":"Fill color: a literal/token/CSS value, or a state-color object resolved against `entity` (same state-color pipeline as `color`). `none` (the default) paints nothing and lets taps through, unlike `transparent`. Only visible on closed shapes (rect, circle, closed polyline)."},"fill_opacity":{"type":"number","min":0,"max":1,"optional":true,"default":1,"description":"Fill opacity"},"gradient":{"type":"object","optional":true,"description":"Gradient fill/stroke configuration (linear or radial)"},"pattern":{"type":"object","optional":true,"description":"Pattern fill configuration (dots, lines, diagonal, grid, or custom SVG content)"},"marker_start":{"type":["string","object"],"optional":true,"description":"Marker (arrowhead/dot/etc.) at the path start. Polyline shapes only; meaningless for rect/circle."},"marker_mid":{"type":["string","object"],"optional":true,"description":"Marker at each interior path vertex. Polyline shapes only; meaningless for rect/circle."},"marker_end":{"type":["string","object"],"optional":true,"description":"Marker at the path end. Polyline shapes only; meaningless for rect/circle."},"animatable":{"type":"boolean","optional":true,"default":true,"description":"Whether this overlay is eligible as an anime.js animation target"}}},"position":{"type":["string","array"],"optional":true,"description":"Control overlay, or shape overlay (kind: rect/circle): named anchor (e.g. \"hub\") or coordinates [x, y] (each a number, or a percentage of the view box such as \"50%\"). The anchor is the center of the card/shape by default."},"size":{"type":"array","optional":true,"description":"Control overlay, or shape overlay (kind: rect/circle) size [width, height] in SVG coordinates. For kind: circle, an ellipse is drawn with rx=width/2, ry=height/2 (use equal width/height for a perfect circle)."},"attachment":{"type":"string","enum":["center","top-left","top-right","bottom-left","bottom-right","top","bottom","left","right"],"optional":true,"default":"center","description":"Which point of the control card aligns with the anchor position. Default: center"},"position_side":{"type":"string","enum":["center","top-left","top-right","bottom-left","bottom-right","top","bottom","left","right"],"optional":true,"default":"center","description":"Control overlays only: when position references another control's id, which point of that target control to align to (instead of its center). Ignored for named-anchor or coordinate positions."},"card":{"type":"object","optional":true,"description":"Home Assistant card config embedded in this control overlay"},"obstacle":{"type":"boolean","optional":true,"default":false,"description":"Control overlay, or shape overlay (kind: rect/circle): when true, lines routed auto, smart or grid go around its box (position + size), keeping the routing clearance. Default false: lines may cross it."},"triggers_update":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"Extra entity IDs this control overlay depends on, beyond what static analysis of `card` can detect; they are added to the control's change detection. Entries that are not entity IDs are ignored (data-source names here never refreshed anything and were dropped)."},{"type":"string","enum":["all"],"description":"Control overlays only: this control receives every HASS update unconditionally, bypassing the per-control entity-diff optimization. Use when the embedded card's entity dependencies genuinely can't be enumerated (e.g. wildcard/device-class auto-discovery alert cards). Prefer the array form when possible."}],"optional":true},"z_index":{"type":"number","optional":true,"description":"Stacking order for overlapping overlays"},"locked":{"type":"boolean","optional":true,"default":false,"description":"Control/shape overlays only: when true, MSD Studio's editor canvas disables drag/resize/vertex-editing for this overlay (Edit/Duplicate/Delete in the list panel remain available). Editor-only; has no effect on runtime rendering or line overlays."},"anchor":{"type":["string","array"],"optional":true,"description":"Line overlays: start-point anchor name or [x,y]. Control overlays: deprecated alias for position; use position instead."},"anchor_side":{"type":"string","optional":true,"description":"Line overlays: which side of the anchor overlay the line departs from (top, bottom, left, right, center). Left out: the side nearest the other end"},"anchor_gap":{"type":"number","optional":true,"default":0,"description":"Line overlays: gap in SVG units between line endpoint and anchor edge"},"attach_to":{"type":["string","array"],"optional":true,"description":"Line overlays: destination anchor name, overlay ID, or [x, y]"},"attach_side":{"type":"string","optional":true,"description":"Line overlays: which side of the attach_to overlay the line arrives at (top, bottom, left, right, center). Left out: the side nearest the other end"},"attach_gap":{"type":"number","optional":true,"default":0,"description":"Line overlays: gap in SVG units between line endpoint and attach_to edge"},"route":{"type":"string","enum":["auto","direct","angled","manhattan","smart","grid","manual"],"optional":true,"default":"auto","description":"Routing algorithm. auto (recommended): always full pathfinding (obstacle avoidance, trunk bundling, crossing avoidance) regardless of whether obstacles/channels are present. direct: straight line, no pathfinding. angled: a short straight stub out of anchor_side (and into attach_side when set), then one straight run at any angle between them; no pathfinding (stub length: stub_length). manual: explicit waypoints. Escape hatches for the cheap/non-participating alternative: manhattan (fixed 2-elbow shape, no pathfinding, no bundling, no crossing avoidance) or grid (pathfinding + bundling/crossing avoidance, without the extra local-search refinement pass smart adds). smart is what auto resolves to."},"waypoints":{"type":"array","optional":true,"description":"Array of waypoints for manual routing. Each waypoint is a coordinate pair [x, y], optionally [x, y, radius] to override this corner's rounding radius (round) or chamfer size (bevel); omit the 3rd slot to inherit corner_radius. A waypoint can also be an anchor name string. Line will pass through waypoints in order.","items":{"oneOf":[{"type":"array","minItems":2,"maxItems":3,"items":{"type":"number"}},{"type":"string"}]}},"route_hint":{"type":"string","enum":["","xy","yx"],"optional":true,"description":"Initial segment direction hint: empty/auto (geometry-based), xy = horizontal first, yx = vertical first"},"route_hint_last":{"type":"string","enum":["","xy","yx"],"optional":true,"description":"Final segment direction hint: empty/auto (same as route_hint), xy = vertical last, yx = horizontal last"},"route_channels":{"type":"array","items":{"type":"string"},"optional":true,"description":"Array of channel IDs this line should route through"},"clearance":{"type":"number","min":0,"optional":true,"description":"Minimum clearance around obstacles in viewBox units (overrides global default)"},"corner_style":{"type":"string","enum":["miter","round","bevel"],"optional":true,"default":"round","description":"Line overlays, or shape overlays (kind: polyline): how corners are rendered. For shape kind: rect, maps to rx/ry (round only); no effect on circle/ellipse."},"corner_radius":{"type":"number","min":0,"optional":true,"default":34,"description":"Line overlays, or shape overlays (kind: polyline): corner cut size in viewBox units: arc radius for round corners, or diagonal chamfer size for bevel corners. For shape kind: rect, sets rx/ry directly."},"corner_radius_mode":{"type":"string","enum":["auto","forced"],"optional":true,"default":"auto","description":"Line overlays only (routing behavior, not shape overlay rendering): whether corner_radius is a target or a hard requirement for round/bevel corners. auto (default): corner size may shrink so the router stays free to avoid forcing a detour or an unnecessary line crossing near tight geometry. forced: always reserves room for the full configured radius, matching pre-2026.07 behavior; can force routing detours or crossings."},"corner_room_weight":{"type":"number","min":0,"optional":true,"description":"Line overlays only, round/bevel corner_style: how strongly the smart-routing refinement pass tries to recover this line's full corner_radius when a tight detour would otherwise shrink it. On by default (card-wide default in routing.corner_room_weight); a route that leaves more room for the configured corner is preferred over the plain-cheapest route, when the difference is small. Set to 0 on a line to opt it out."},"corner_angle":{"type":"number","min":0,"max":90,"optional":true,"default":45,"description":"Bevel corners only (line overlays, or shape overlays of kind: polyline): angle of the diagonal cut in degrees (0=cut flush with incoming edge, 90=flush with outgoing edge, 45=symmetric diagonal), matching the elbow card's diagonal-cap angle"},"stub_length":{"type":"number","min":0,"optional":true,"description":"Line overlays only: overrides the mandatory cardinal stub length (viewBox units) departing/arriving anchor_side or attach_side, instead of the router's own auto-computed floor (which scales with grid_resolution and can force a longer straight lead-out than a specific line's own geometry needs). Leave unset for the default. Going below one grid cell risks re-triggering an internal same-cell short-circuit; use window.lcards.debug.msd.routing.inspect(id).meta.debug to see the router's own resolved value first."},"smoothing_mode":{"type":"string","enum":["none","chaikin"],"optional":true,"default":"none","description":"Line overlays, or shape overlays (kind: polyline) only: path smoothing algorithm"},"smoothing_iterations":{"type":"number","min":0,"max":5,"optional":true,"default":1,"description":"Line overlays, or shape overlays (kind: polyline) only: number of smoothing iterations to apply (1 when a smoothing mode is set and this is left out)"}}}},"animations":{"type":"array","optional":true,"description":"Animations that bulk-target overlays in the shared overlay group by CSS selector (data-overlay-id, class, etc.), e.g. animate every overlay whose id starts with \"shield_\" with one declaration, instead of repeating the animation on each overlay. Same target/targets selector syntax as base_svg.animations and per-overlay animations; matches shape, line, and control overlays uniformly.","items":{"$ref":"#/$defs/animation"}},"routing":{"type":"object","optional":true,"description":"Global line routing configuration (lines can override with per-line properties)","properties":{"default_mode":{"type":"string","enum":["manhattan","smart","grid","auto"],"optional":true,"default":"auto","description":"Card-wide override for every line whose own route is unset/auto (per-line route: still wins). auto (default): full pathfinding: obstacle avoidance, trunk bundling, crossing avoidance (this is what an unset line gets). manhattan/grid: force the whole card to the cheap/non-participating or no-refinement alternative instead. smart: same as auto, spelled out explicitly."},"clearance":{"type":"number","min":0,"optional":true,"default":0,"description":"Minimum clearance around obstacles (viewBox units)"},"grid_resolution":{"type":"number","min":5,"optional":true,"default":64,"description":"Grid cell size for grid-based routing (viewBox units; values below 5 are coerced to 32). Unset by default; auto-scales from view_box size instead of a fixed number (~1/12th of the shorter dimension, clamped to [16, 64]; 64 shown here is that ceiling, not a fixed default)"},"min_stub_length_factor":{"type":"number","min":0,"optional":true,"default":1,"description":"Multiplier on the resolved grid_resolution for the minimum mandatory lead-out/lead-in stub every line reserves before routing runs. 1 (default) reproduces the router's own \"at least one grid cell\" floor; raise it to reserve more room for large corner_radius values, lower it (e.g. on a small view_box, where a flat floor would otherwise be disproportionately long) to let lines turn sooner"},"turn_penalty":{"type":"number","min":0,"optional":true,"default":2,"description":"A* cost for changing direction: higher values produce straighter paths with fewer turns"},"route_hint_penalty":{"type":"number","min":0,"optional":true,"default":6,"description":"A* cost for a first/last move that disagrees with route_hint/route_hint_last (soft, so obstacles still win)"},"smoothing_mode":{"type":"string","enum":["none","chaikin"],"optional":true,"default":"none","description":"Path smoothing algorithm"},"smoothing_iterations":{"type":"number","min":1,"max":5,"optional":true,"default":1,"description":"Number of smoothing iterations (1 when a smoothing mode is set and this is left out)"},"smoothing_max_points":{"type":"number","min":1,"optional":true,"default":160,"description":"Maximum points after smoothing"},"smoothing":{"type":"object","optional":true,"description":"Nested smoothing configuration (alternate format)","properties":{"mode":{"type":"string","enum":["none","chaikin"],"optional":true,"default":"none","description":"Smoothing algorithm (same as smoothing_mode)"},"iterations":{"type":"number","min":1,"max":5,"optional":true,"default":1,"description":"Number of iterations (same as smoothing_iterations)"},"max_points":{"type":"number","min":1,"optional":true,"default":160,"description":"Max points (same as smoothing_max_points)"}}},"smart_proximity":{"type":"number","min":0,"optional":true,"default":0,"description":"Proximity band for smart routing (viewBox units)"},"smart_detour_span":{"type":"number","min":1,"optional":true,"default":48,"description":"Maximum detour distance for smart routing (viewBox units)"},"smart_max_extra_bends":{"type":"number","min":0,"optional":true,"default":3,"description":"Maximum additional bends allowed by smart routing"},"smart_min_improvement":{"type":"number","min":0,"optional":true,"default":4,"description":"Minimum cost improvement to accept detour (viewBox units)"},"smart_max_detours_per_elbow":{"type":"number","min":1,"optional":true,"default":4,"description":"Maximum detour attempts per elbow"},"corner_room_weight":{"type":"number","min":0,"optional":true,"default":4,"description":"Card-wide default strength for recovering a line's full corner_radius near tight detours (see the per-line field of the same name for the full explanation). On by default; the LCARS rounded-corner look is the intended out-of-the-box result. Set to 0 to disable card-wide; individual lines can still opt back in via their own corner_room_weight."},"channel_force_penalty":{"type":"number","min":0,"optional":true,"default":800,"description":"Penalty for lines outside forced channels"},"channel_avoid_multiplier":{"type":"number","min":0,"optional":true,"default":1,"description":"Multiplier for avoid channel penalties"},"channel_prefer_bias":{"type":"number","min":0,"optional":true,"default":0.9,"description":"Per-cell A* discount for traveling along a prefer channel's own direction (scaled by channel weight)"},"channel_avoid_bias":{"type":"number","min":0,"optional":true,"default":3,"description":"Per-cell A* penalty for entering an avoid channel (scaled by channel weight and channel_avoid_multiplier)"},"trunk_bundling_enabled":{"type":"boolean","optional":true,"default":true,"description":"Lines whose paths run close and parallel spontaneously bundle together and branch apart where needed"},"trunk_proximity":{"type":"number","min":0,"optional":true,"default":32,"description":"Maximum distance to a trunk lane to be considered \"nearby\" (viewBox units)"},"trunk_min_overlap":{"type":"number","min":0,"optional":true,"default":60,"description":"Minimum shared travel distance for joining a trunk to be worthwhile (viewBox units)"},"trunk_min_length":{"type":"number","min":0,"optional":true,"default":60,"description":"Minimum straight-run length to register as a new joinable trunk (viewBox units)"},"trunk_max_join_candidates":{"type":"number","min":1,"optional":true,"default":2,"description":"Maximum number of discovered trunks a single line will try to chain through"},"trunk_bundle_discount_cap":{"type":"number","min":0,"optional":true,"default":150,"description":"Longest stretch (viewBox units) of a trunk or discoverable channel a line joined on its own that earns the bundling reward: a long detour along one never pays for itself. Channels a line lists in route_channels are not capped"},"trunk_bundle_weight":{"type":"number","min":0,"optional":true,"default":0.5,"description":"Reward strength for joining a discovered trunk (same role as a channel's weight)"},"trunk_line_spacing":{"type":"number","min":0,"optional":true,"default":8,"description":"Default lane spacing for lines bundled on a discovered trunk (viewBox units)"},"trunk_discovery_max_passes":{"type":"number","min":1,"optional":true,"default":4,"description":"Cap on discovery passes before rendering, so every line's trunk/crossing data is known regardless of YAML order (safety limit against rare oscillation)"},"crossing_avoid_enabled":{"type":"boolean","optional":true,"default":true,"description":"Penalize a line's path for cutting orthogonally across another already-routed line's segment"},"crossing_avoid_bias":{"type":"number","min":0,"optional":true,"default":4,"description":"Per-cell penalty for crossing another line's segment: a deterrent, not a hard block"},"crossing_min_length":{"type":"number","min":0,"optional":true,"default":12,"description":"Minimum straight-run length to register as avoidable (viewBox units), smaller than trunk_min_length so short stub legs are still avoidable"},"cost_defaults":{"type":"object","optional":true,"description":"Cost function weights for routing algorithms","properties":{"bend":{"type":"number","optional":true,"default":10,"description":"Cost weight for each bend/elbow in path"},"proximity":{"type":"number","optional":true,"default":4,"description":"Cost weight for proximity to obstacles"}}}}},"channels":{"type":"object","optional":true,"description":"Named routing channels for bundling/separating lines with optional forced routing","patternProperties":{"^[a-zA-Z0-9_-]+$":{"type":"object","required":["bounds"],"properties":{"bounds":{"type":"array","minItems":4,"maxItems":4,"items":{"type":"number"},"description":"Channel rectangle [x, y, width, height]"},"mode":{"type":"string","enum":["prefer","avoid","force"],"optional":true,"default":"prefer","description":"Channel behavior: prefer=encourage bundling, avoid=stay away, force=must route through"},"direction":{"type":"string","enum":["horizontal","vertical","auto"],"optional":true,"default":"auto","description":"Flow direction through channel (auto = infer from shape: wide=horizontal, tall=vertical)"},"weight":{"type":"number","min":0,"max":1,"optional":true,"default":0.5,"description":"Channel influence strength (0-1, higher = stronger pull/push)"},"line_spacing":{"type":"number","min":0,"max":100,"optional":true,"default":8,"description":"Gap between bundled lines in viewBox units (for prefer/force modes)"},"discoverable":{"type":"boolean","optional":true,"default":true,"description":"Whether nearby lines that do NOT list this channel in their own route_channels may still spontaneously bundle into it. Default true matches automatic zero-config bundling; set false to scope this channel to only the lines that explicitly reference it via route_channels."}}}}},"triggers_update":{"type":"string","enum":["all"],"optional":true,"description":"Card-wide escape hatch: every control overlay receives every HASS update unconditionally, bypassing the per-control entity-diff optimization for the whole card. Discouraged; prefer the per-overlay control `triggers_update: all` scoped to just the problem control."}}},"data_sources":{"$ref":"#/$defs/dataSourcesSchema"},"rules":{"$ref":"#/$defs/rules"},"grid_options":{"type":"object","additionalProperties":true,"description":"Placement in a sections view (columns, rows), read by Home Assistant."},"view_layout":{"type":"object","additionalProperties":true,"description":"Placement in a custom view layout (e.g. grid-area), read by the view."},"visibility":{"type":"array","description":"Home Assistant visibility conditions: the card shows only while they hold."},"layout_options":{"type":"object","additionalProperties":true,"description":"The older name of grid_options, read by Home Assistant."},"card_mod":{"type":"object","additionalProperties":true,"description":"card-mod styling, read by card-mod."},"uix":{"type":"object","additionalProperties":true,"description":"UIX styling, read by UIX."}}},"lcards-astrometrics-card":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"custom:lcards-astrometrics-card","description":"custom:lcards-astrometrics-card: a 3D astrometrics scene."},"camera":{"type":"object","description":"The camera: the view shown first, named views to fly between, drag and zoom controls and their limits.","properties":{"view":{"description":"The named view shown first. Default: the first of views; with no views the camera frames the whole scene. Or a guided tour: { entity, views } flies to views[n] when the entity's value is n (from 0), or to the view its text state names.","anyOf":[{"type":"string"},{"type":"object","required":["entity"],"additionalProperties":false,"description":"A guided tour: the camera follows an entity (an input_number stage, an input_select of view names).","properties":{"entity":{"type":"string","pattern":"^[a-z_]+\\.[a-z0-9_]+$","description":"The entity whose value picks the view."},"attribute":{"type":"string","description":"Read this attribute instead of the state."},"views":{"type":"array","description":"The stops in order: a number n flies to the nth (from 0, rounded, clamped). A stop is a view name, or { view, date, rate } to set the scene clock there too. Leave out when the state names the view.","items":{"anyOf":[{"type":"string"},{"type":"object","required":["view"],"additionalProperties":false,"properties":{"view":{"type":"string","description":"The named view to fly to."},"date":{"type":"string","description":"Set the scene date there: now or an ISO date."},"rate":{"description":"Set the date's rate there: live, days per second, or with a unit as the time slider shows it (1 h/s, 30 d/s, 1 y/s).","anyOf":[{"type":"number"},{"type":"string","enum":["live"]},{"type":"string","pattern":"^\\s*-?\\d+(\\.\\d+)?\\s*(s|min|h|d|w|mo|y)\\s*(/\\s*s)?\\s*$"}]}}}]}}}}]},"views":{"type":"object","description":"Named views (keys are your names). Fly between them with a tap_action (action: fly-to, view: <name>).","additionalProperties":{"type":"object","description":"A named camera view. The camera orbits a target: yaw turns round it, tilt raises it, distance moves away.","properties":{"target":{"description":"What the camera looks at: a point id or [x, y, z]. Default: where the camera looked before.","oneOf":[{"type":"string","description":"A point id"},{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3,"description":"Scene coordinates [x, y, z], scene units"}]},"yaw":{"type":"number","description":"The way the camera faces, degrees: 0 faces north (the default camera), 90 faces east. Default 0 when the card opens on the view; flown to, a view without yaw keeps the current one."},"tilt":{"type":"number","description":"Camera height angle, degrees: 0 level with the target, 90 straight down. Default 35.","minimum":-90,"maximum":90},"distance":{"type":"number","description":"Distance from the target, scene units.","minimum":0},"fov":{"type":"number","description":"Vertical field of view, degrees (perspective only). Default 40. On a card wider than 2:1 it narrows so the view is never wider than on a 2:1 card (no wide-angle stretching at the sides).","minimum":5,"maximum":150},"projection":{"type":"string","enum":["perspective","orthographic"],"default":"perspective","description":"perspective: far things look smaller. orthographic: no perspective (a flat map); distance then sets the zoom."},"warp":{"type":"boolean","description":"Stars and dust streak while the camera flies here (warp). Default camera.warp."}}}},"controls":{"type":"boolean","default":true,"description":"Drag to orbit, mouse wheel or pinch to zoom, shift-drag, right-drag, middle-drag, a touchpad two-finger swipe or two fingers on a touch screen to pan, double-tap blank space to zoom in, arrow keys when focused. false: the camera only moves by fly-to and auto_rotate."},"drag":{"type":"string","enum":["orbit","pan"],"default":"orbit","description":"What a one-finger or left-button drag does. orbit: turn round the target (shift or right button pans). pan: move the view (shift or right button orbits). A locked tilt always pans."},"pan":{"type":"string","enum":["screen","ground"],"default":"screen","description":"What panning moves along. screen: the screen's left, right, up and down, so a side view pans up and down. ground: across the ground plane only, the target keeps its height."},"zoom_to":{"type":"string","enum":["cursor","target"],"default":"cursor","description":"Where the wheel and pinch zoom toward. cursor: the spot under the pointer stays put. target: straight in and out from the centre."},"wheel":{"type":"string","enum":["auto","zoom","pan"],"default":"auto","description":"What wheel events do. auto: a mouse wheel zooms and a touchpad two-finger swipe pans (shift: orbits), told apart by the events. zoom: every wheel event zooms. pan: every wheel event pans. A pinch always zooms."},"follow":{"type":"boolean","default":true,"description":"After a fly-to lands on a point (a tap, a fly-to action, a view that targets it), the camera keeps the point at its centre while it moves; orbit and zoom still work round it. A pan, a double-tap zoom, a tap on blank space or another fly-to lets go. false: the camera stays where it landed."},"zoom_step":{"type":"number","description":"Distance factor of one zoom step (double-tap, zoom buttons, plus and minus keys). Default 2: each step halves the distance.","exclusiveMinimum":1,"default":2},"double_tap":{"type":"string","enum":["zoom","none"],"default":"zoom","description":"A double-tap or double-click. In blank space, zoom flies in one zoom step toward that spot, which becomes the centre (shift: zoom out); on a point, it flies in close to the largest object standing there (a few times its size). none: nothing. Taps on tappable objects are never affected."},"buttons":{"description":"On-card camera buttons: an LCARdS D-pad in the theme's D-pad colours (the arms pan, the centre resets to the start view, the corners zoom in and out (left) and fly forward and back (right)), with the time slider under it. Press and hold keeps moving. true for all of them in the bottom right; an object to choose. Default off.","anyOf":[{"type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"position":{"type":"string","enum":["top-left","top-center","top-right","center-left","center","center-right","bottom-left","bottom-center","bottom-right"],"default":"bottom-right","description":"Where the buttons sit on the card."},"size":{"type":"number","description":"How big the D-pad is, px across. Default 180.","minimum":64,"maximum":320,"default":180},"pan":{"type":"boolean","default":true,"description":"The arms pan. false: they are dimmed and do nothing."},"zoom":{"type":"boolean","default":true,"description":"The left corners zoom in (top) and out (bottom). false: they are dimmed and do nothing."},"travel":{"type":"boolean","default":true,"description":"The right corners fly forward (top) and back (bottom): camera and target move together along the view, as the W and S keys. false: they are dimmed and do nothing."},"reset":{"type":"boolean","default":true,"description":"The centre resets (flies back to the start view). false: it is dimmed and does nothing."},"scale":{"type":"boolean","default":true,"description":"The model size button beside the pad: real size or visible size (model_scale), as the V key. Shown only when a model is drawn at its real size. false hides it."},"time":{"description":"The time slider. speed: how fast the scene's motion runs (time_scale: spins, scans, drift), from held to four times as fast. date: the scene clock (clock), with the date, its rate from a year a second backward to a year a second forward, and NOW. both: either, with a switch. true (the default): both when the card has a clock, else speed. false hides it. It changes the view only, not the config.","oneOf":[{"type":"boolean"},{"type":"string","enum":["speed","date","both"]}],"default":true},"hide":{"type":"string","enum":["idle","never","toggle"],"default":"idle","description":"When the buttons hide. idle: they fade out after a few seconds without input on the card and come back on any pointer movement, touch or key. never: always shown. toggle: a small button folds them away and back."}}}]},"limits":{"type":"object","description":"Where drag and zoom stop: [min, max] pairs. A tilt range of one value (e.g. [90, 90]) locks the tilt, and a one-finger drag then pans (a map).","properties":{"tilt":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2,"description":"Lowest and highest tilt, degrees. Default [-90, 90]."},"distance":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2,"description":"Nearest and farthest distance, scene units. Default: 1 to 100,000, widened for a scene at true scale (down to half its smallest object, out to 20 times its size)."},"yaw":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2,"description":"Yaw range, degrees. Default: no limit."},"target":{"description":"Where the point the camera looks at may go, so panning cannot lose the scene. A sphere ({ radius, center }) or a box ({ x, y, z } ranges, an axis left out is free); false for no limit. Default: a sphere 1.5 times the size of the scene round its centre.","anyOf":[{"type":"boolean","const":false},{"type":"object","additionalProperties":false,"properties":{"radius":{"type":"number","description":"Sphere radius, scene units.","exclusiveMinimum":0},"center":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3,"description":"Sphere centre [x, y, z], scene units. Default: the centre of the scene."},"x":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2,"description":"Box: lowest and highest x, scene units."},"y":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2,"description":"Box: lowest and highest y, scene units."},"z":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2,"description":"Box: lowest and highest z, scene units."}}}]}}},"auto_rotate":{"type":"number","description":"Turn the camera round its target, degrees per second (negative: the other way). 0 is off. Pauses while dragging; off under reduced motion.","default":0},"fly_duration":{"type":"number","description":"How long a fly-to takes, ms. Under reduced motion the camera jumps.","minimum":0,"default":1600},"ease":{"type":"string","default":"inOutCubic","description":"Easing of a fly-to (an anime.js easing name, such as inOutCubic, outQuad, linear)."},"warp":{"description":"Every fly-to streaks the stars and dust (warp); a view's own warp wins. Or { entity } (and attribute): fly-tos streak while it is on (on, true, or a number above 0), such as an input_boolean. Off under reduced motion.","oneOf":[{"type":"boolean","default":false},{"type":"object","description":"Warp fly-tos from an entity","properties":{"entity":{"type":"string","description":"The entity that makes fly-tos streak while it is on."},"attribute":{"type":"string","description":"Read this attribute instead of the state."}},"required":["entity"],"additionalProperties":false}]}}},"backdrop":{"type":"object","description":"What is behind the scene objects.","properties":{"stars":{"description":"Stars at infinity: they turn with the camera and never move when it pans. true for the defaults, or settings.","oneOf":[{"type":"boolean"},{"type":"object","properties":{"count":{"type":"number","description":"How many stars.","minimum":0,"maximum":50000,"default":2000},"min_radius":{"type":"number","description":"Smallest star radius, px.","minimum":0,"default":0.4},"max_radius":{"type":"number","description":"Largest star radius, px.","minimum":0,"default":1.2},"brightness":{"type":"array","minItems":2,"maxItems":2,"items":{"type":"number","minimum":0,"maximum":1},"default":[0.35,1],"description":"Each star's brightness is picked at random between these [faintest, brightest], 0 to 1 (the seed picks the same ones every time). Default [0.35, 1]."},"color":{"type":"string","description":"Star colour. Default var(--lcards-moonlight).","allOf":[{"$ref":"#/$defs/simpleColorSchema"}]},"colors":{"type":"array","items":{"$ref":"#/$defs/simpleColorSchema"},"description":"Several star colours, picked at random per star (wins over color)."},"opacity":{"type":"number","description":"Fades the whole star layer, 0 to 1: every star's brightness is multiplied by it.","minimum":0,"maximum":1,"default":1},"seed":{"type":"number","description":"Random seed: the same seed places the same stars.","default":7},"streak":{"type":"number","description":"How long stars and dust streak during a warp fly-to (camera.warp or a view's warp), a multiple of the usual length; 0: never.","minimum":0,"default":1},"spectrum":{"description":"Streaks split into colour: a Doppler shift of each star's own colour, violet toward the tail and red toward the head (white stars show the whole rainbow). true, or { direction }. Default off.","oneOf":[{"type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"direction":{"type":"string","enum":["doppler","reverse"],"default":"doppler","description":"doppler: violet toward the tail, as a real Doppler shift. reverse: violet toward the head."}}}]}}}]},"dust":{"description":"Depth dust: faint particles that fill the space round the camera wherever it goes. They stay put as it moves, so every move shows depth, and streak in a warp fly-to. true for the defaults, or settings.","oneOf":[{"type":"boolean"},{"type":"object","properties":{"count":{"type":"number","description":"How many particles (about half of them are within reach of the camera at any time).","minimum":0,"maximum":50000,"default":800},"radius":{"type":"number","description":"How far round the camera the dust reaches (it fades out there), scene units. Smaller is denser and shows depth on smaller moves. Default 1.5 x the scene's radius.","exclusiveMinimum":0},"min_radius":{"type":"number","description":"Smallest particle radius, px.","minimum":0,"default":0.4},"max_radius":{"type":"number","description":"Largest particle radius, px.","minimum":0,"default":1},"brightness":{"type":"array","minItems":2,"maxItems":2,"items":{"type":"number","minimum":0,"maximum":1},"default":[0.35,1],"description":"Each particle's brightness is picked at random between these [faintest, brightest], 0 to 1. Default [0.35, 1]."},"color":{"type":"string","description":"Particle colour. Default var(--lcards-moonlight).","allOf":[{"$ref":"#/$defs/simpleColorSchema"}]},"colors":{"type":"array","items":{"$ref":"#/$defs/simpleColorSchema"},"description":"Several colours, picked at random per particle (wins over color)."},"opacity":{"type":"number","description":"Fades the whole dust layer, 0 to 1: every particle's brightness is multiplied by it.","minimum":0,"maximum":1,"default":1},"seed":{"type":"number","description":"Random seed.","default":7},"spectrum":{"description":"Streaks split into colour (a Doppler shift, as on the stars). true, or { direction }. Default off.","oneOf":[{"type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"direction":{"type":"string","enum":["doppler","reverse"],"default":"doppler","description":"doppler: violet toward the tail. reverse: violet toward the head."}}}]}}}]}}},"background_animation":{"$ref":"#/$defs/background-animation"},"labels":{"type":"object","description":"How labels are drawn: text defaults for every label, your own label styles, pixel snapping.","properties":{"default":{"type":"object","properties":{"position":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_position"},"rotation":{"type":"number","minimum":-360,"maximum":360,"default":0,"description":"Turn the field, degrees."},"padding":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_padding"},"font_size":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_font_size"},"color":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_color"},"font_weight":{"type":["string","number"],"default":"normal","description":"Font weight: CSS keyword (normal, bold) or numeric value (100–900)","examples":["normal"]},"font_family":{"type":"string","format":"font-family","description":"CSS font-family (single font, comma-separated stack, or CSS variable)","examples":["Arial"]},"text_transform":{"type":"string","enum":["none","uppercase","lowercase","capitalize"],"default":"none","description":"Text transformation","enumDescriptions":["No transformation (original case)","ALL UPPERCASE","all lowercase","Capitalize First Letter"]},"letter_spacing":{"type":["number","string"],"description":"Space between letters: px (a number) or a CSS letter-spacing such as 0.1em or 2px. Default normal.","examples":[1]},"fit":{"$ref":"#/$defs/cards_lcards_button_text_value_fit"},"background":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_background"},"background_padding":{"type":"number","minimum":0,"default":8,"description":"Space between the text and the sides of its background box, px."},"background_radius":{"type":"number","minimum":0,"default":4,"description":"Corner radius of the background rect (px)."},"background_width":{"type":["number","null"],"minimum":1,"description":"Fixed explicit width of the background rect (px). Overrides auto-sizing from text metrics. Text will overflow if content is wider than this value."},"background_min_width":{"type":["number","null"],"minimum":1,"description":"Minimum width of the background rect (px). Auto-sizes to text width but never smaller than this value. Safe for dynamic content."}},"description":"Text keys every label on this card inherits (font_family, text_transform, letter_spacing, ...), over the built-in styles."},"styles":{"type":"object","description":"Label styles by name: change a built-in (title, major, minor, tiny) or add your own; a point picks one with style.","additionalProperties":{"type":"object","description":"A label style: text keys (font_size, color, font_weight, ...) and priority.","properties":{"position":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_position"},"rotation":{"type":"number","minimum":-360,"maximum":360,"default":0,"description":"Turn the field, degrees."},"padding":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_padding"},"font_size":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_font_size"},"color":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_color"},"font_weight":{"type":["string","number"],"default":"normal","description":"Font weight: CSS keyword (normal, bold) or numeric value (100–900)","examples":["normal"]},"font_family":{"type":"string","format":"font-family","description":"CSS font-family (single font, comma-separated stack, or CSS variable)","examples":["Arial"]},"text_transform":{"type":"string","enum":["none","uppercase","lowercase","capitalize"],"default":"none","description":"Text transformation","enumDescriptions":["No transformation (original case)","ALL UPPERCASE","all lowercase","Capitalize First Letter"]},"letter_spacing":{"type":["number","string"],"description":"Space between letters: px (a number) or a CSS letter-spacing such as 0.1em or 2px. Default normal.","examples":[1]},"fit":{"$ref":"#/$defs/cards_lcards_button_text_value_fit"},"background":{"$ref":"#/$defs/cards_lcards_astrometrics_card_labels_default_background"},"background_padding":{"type":"number","minimum":0,"default":8,"description":"Space between the text and the sides of its background box, px."},"background_radius":{"type":"number","minimum":0,"default":4,"description":"Corner radius of the background rect (px)."},"background_width":{"type":["number","null"],"minimum":1,"description":"Fixed explicit width of the background rect (px). Overrides auto-sizing from text metrics. Text will overflow if content is wider than this value."},"background_min_width":{"type":["number","null"],"minimum":1,"description":"Minimum width of the background rect (px). Auto-sizes to text width but never smaller than this value. Safe for dynamic content."},"priority":{"type":"number","description":"Which label wins when two overlap (higher wins)."},"overlap":{"type":"boolean","description":"Labels of this style are never hidden by another label (they still move to a free side when they can)."}}}},"overlap":{"type":"boolean","default":false,"description":"Every label on the card: never hidden when labels overlap (each still moves to a free side of its point when it can). false hides the lower-priority one, which keeps busy scenes readable. A style or a point can set its own."},"snap":{"type":"boolean","default":false,"description":"Round label positions to whole px (crisper text on weak devices; fast motion looks steppier). Default: sub-pixel."}}},"units":{"type":"string","enum":["m","km","au","ly","pc"],"description":"What one scene unit is (m, km, au, ly or pc): positions, sizes and distances are in it. Optional: a scene can use any units of its own (scene units); naming them lets a system (type: system) give its own, models and starter parts start at their real size, and bodies (body: points) sit at real distances. Naming them does not rescale what is already there.","enumDescriptions":{"m":"Metres","km":"Kilometres","au":"Astronomical units (149,597,870.7 km)","ly":"Light years","pc":"Parsecs (3.26 light years)"}},"model_scale":{"type":"string","enum":["real","visible"],"enumDescriptions":{"real":"Models at their real size","visible":"Small models drawn larger"},"default":"real","description":"How models drawn at their real size (no size of their own) start: real (the default) keeps them in proportion, however small that is on screen; visible draws each at least 40 px across, real again once it is larger. The size button by the camera buttons, the V key and set-model-scale actions switch it on screen; that is not saved."},"look":{"default":"mixed","description":"Draw the scene as an LCARS diagram, realistically, or both: diagram shows the objects and points with look: diagram, realistic those with look: realistic, mixed (the default) both; ones without a look always show. A change crossfades. Or { entity } (and attribute) whose state names the look, such as an input_select with the options diagram, realistic and mixed (any case).","oneOf":[{"type":"string","enum":["diagram","realistic","mixed"],"enumDescriptions":{"diagram":"Wireframes and schematics","realistic":"Realistic objects","mixed":"Both"}},{"type":"object","description":"The look from an entity","properties":{"entity":{"type":"string","description":"The entity whose state (or attribute) names the look."},"attribute":{"type":"string","description":"Read this attribute instead of the state."}},"required":["entity"],"additionalProperties":false}]},"warp":{"description":"Go to warp: the backdrop stars and dust streak along the view and the warp starfield (spectrum streaks) streams past behind the scene, at warp_factor; false drops out of warp. Or { entity } (and attribute): at warp while it is on (on, true, or a number above 0), such as an input_boolean. Nothing under reduced motion. (camera.warp is different: streaks during a fly-to.)","oneOf":[{"type":"boolean"},{"type":"object","description":"Warp from an entity","properties":{"entity":{"type":"string","description":"The entity that engages warp while it is on."},"attribute":{"type":"string","description":"Read this attribute instead of the state."}},"required":["entity"],"additionalProperties":false}]},"warp_factor":{"description":"How fast the stars stream at warp, 1 to 9.9 (default 6). Can follow an entity ({ entity, output }), such as a slider, or a template.","anyOf":[{"type":"number","minimum":1,"maximum":9.9},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":6},"time_scale":{"description":"Speed of the scene's motion (orbits, spins, drift, scans, trails): 1 as configured, 0.5 half speed, 2 twice as fast, 0 holds it still. Faster than 4 can be typed. The sky, the scene clock (clock) and the camera are not affected. The time slider (camera.buttons.time) changes it on screen. Can follow an entity ({ entity, output }) or a template.","anyOf":[{"type":"number","minimum":0},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":1},"clock":{"type":"object","additionalProperties":false,"description":"The scene's date: it starts at date and runs on at rate. Body points, body spheres and rings, orbit rings and the sky follow it. The time slider (camera.buttons.time: date), set-clock actions and lcards.set_clock change it on screen.","properties":{"date":{"description":"The date the scene starts at: now (the default) or a date and time. In YAML an ISO date or date and time (2026-10-30, 2026-10-30T12:00:00Z; a date alone is midnight UTC). Or { entity } to follow a date and time helper (an input_datetime), or a template.","anyOf":[{"type":"string"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"}],"default":"now","examples":["now"]},"rate":{"description":"How fast the date runs: live (real time, the default), paused (0), or an amount of time per second. In YAML days per second (1 is a day a second, 30 a month, 365.25 a year; 0 holds it; negative runs back), or with a unit as the time slider shows it: 1 h/s (an hour a second), 30 d/s, 1 y/s, -1 d/s (units s, min, h, d, w, mo, y). Or { entity, output } to follow an entity, or a template.","anyOf":[{"type":"number"},{"type":"string","enum":["live"]},{"type":"string","pattern":"^\\s*-?\\d+(\\.\\d+)?\\s*(s|min|h|d|w|mo|y)\\s*(/\\s*s)?\\s*$"},{"$ref":"#/$defs/cards_lcards_astrometrics_card_warp_factor"},{"type":"string","pattern":"\\[\\[\\[|\\{\\{|\\{[A-Za-z_]","description":"A template that gives the number: [[[ return ... ]]], {{ ... }} or {entity.state}."}],"default":"live"}}},"points":{"type":"array","description":"Named points with optional labels and markers (the placement system).","items":{"$ref":"#/$defs/cards_lcards_astrometrics_card_points_item"}},"objects":{"type":"array","description":"What is drawn: grids, volumes, spheres, models, images, glows, nebulae, rings, paths and beams.","items":{"$ref":"#/$defs/astrometrics-objects"}},"id":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","description":"Unique card identifier for rule targeting, animations, and debugging (alphanumeric, underscore, hyphen)","examples":["main-button"]},"tags":{"type":"array","items":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$"},"description":"LCARdS tags for rules: a rule on tag:<name> targets every card with the tag. Labels set in Home Assistant are separate; rules target those with ha_label:<label_id>.","examples":[["navigation","primary"]]},"grid_options":{"$ref":"#/$defs/gridOptionsSchema"},"height":{"oneOf":[{"type":"number","minimum":1,"description":"Card height in pixels (bare integer, e.g. 56 = 56px)"},{"type":"string","pattern":"^([\\d.]+(\\s*(px|vh|vw|%|em|rem|vmin|vmax))?|(calc|min|max|clamp|var)\\(.+\\))$","description":"Card height with CSS unit (e.g. 200px, 50vh, 10em) or a CSS function: calc(), min(), max(), clamp(), var()"}],"description":"Card height. Bare integer = px (default 400); CSS units accepted (50vh). The scene fills the card."},"width":{"$ref":"#/$defs/cardWidthSchema"},"min_height":{"$ref":"#/$defs/cardMinHeightSchema"},"min_width":{"$ref":"#/$defs/cardMinWidthSchema"},"max_height":{"$ref":"#/$defs/cardMaxHeightSchema"},"max_width":{"$ref":"#/$defs/cardMaxWidthSchema"},"z_index":{"type":"integer","description":"CSS z-index stacking order on the card host element."},"rules":{"$ref":"#/$defs/rules"},"sounds":{"$ref":"#/$defs/soundsSchema"},"state_classification":{"$ref":"#/$defs/stateClassificationSchema"},"triggers_update":{"$ref":"#/$defs/triggersUpdateSchema"},"data_sources":{"$ref":"#/$defs/dataSourcesSchema"},"variables":{"type":"object","description":"Your own named values, available to templates as variables.<name> and {variables.<name>}.","additionalProperties":true},"view_layout":{"type":"object","additionalProperties":true,"description":"Placement in a custom view layout (e.g. grid-area), read by the view."},"visibility":{"type":"array","description":"Home Assistant visibility conditions: the card shows only while they hold."},"layout_options":{"type":"object","additionalProperties":true,"description":"The older name of grid_options, read by Home Assistant."},"card_mod":{"type":"object","additionalProperties":true,"description":"card-mod styling, read by card-mod."},"uix":{"type":"object","additionalProperties":true,"description":"UIX styling, read by UIX."}}}},"views":{"lcards-layout-view":{"type":"object","title":"LCARdS Layout View","description":"Dashboard view type whose whole view is a CSS grid. Uses the lovelace-layout-card grid-layout schema: a `layout` block plus `cards` placed by `view_layout.grid-area`.","required":["type"],"additionalProperties":true,"properties":{"type":{"type":"string","const":"custom:lcards-layout-view"},"layout":{"$ref":"#/$defs/cards_lcards_layout_card_layout"},"cards":{"$ref":"#/$defs/cards_lcards_layout_card_cards"}}}},"strategies":{"lcars-shell":{"type":"object","title":"LCARS Shell Dashboard Strategy","description":"Dashboard strategy that generates a full LCARS shell (header, sidebars, content panel) on a custom:lcards-layout-view. Set it as the dashboard's `strategy:` block.","required":["type"],"additionalProperties":false,"properties":{"type":{"type":"string","const":"custom:lcars-shell","description":"Strategy identifier."},"room_selector_entity":{"type":"string","title":"Room selector","description":"The room the light panel shows. An input_select or select lists its own options as the rooms (name each option after an area). An input_text lists every area in Home Assistant and stores the one picked. Leave it empty to show a placeholder."},"page_selector_entity":{"type":"string","title":"Page selector","description":"An input_select or select whose options become the page menu in the left sidebar. Picking a page sets the entity; use its state in Visibility conditions after you take control."},"top_bar_entity":{"type":"string","title":"Top bar toggle","description":"An input_boolean that shows or hides the top bar. The first button under the top left corner toggles it."},"right_sidebar_entity":{"type":"string","title":"Right sidebar toggle","description":"An input_boolean that shows or hides the right sidebar. The second button under the top left corner toggles it."}}},"lcars-shell-picard":{"type":"object","title":"LCARS Shell Dashboard Strategy (Picard)","description":"Dashboard strategy that generates a Picard-style LCARS screen (a code-block column, a display sweep round the room light panel, the room's readings and gauges, utility pills and page tabs) on a custom:lcards-layout-view. Set it as the dashboard's `strategy:` block.","required":["type"],"additionalProperties":false,"properties":{"type":{"type":"string","const":"custom:lcars-shell-picard","description":"Strategy identifier."},"room_selector_entity":{"type":"string","title":"Room selector","description":"The room the light panel shows. An input_select or select lists its own options as the rooms (name each option after an area). An input_text lists every area in Home Assistant and stores the one picked. Leave it empty to show a placeholder."},"page_selector_entity":{"type":"string","title":"Page selector","description":"An input_select or select whose options become the page menu in the left sidebar. Picking a page sets the entity; use its state in Visibility conditions after you take control."},"top_bar_entity":{"type":"string","title":"Top bar toggle","description":"An input_boolean that shows or hides the top bar. The first button under the top left corner toggles it."},"right_sidebar_entity":{"type":"string","title":"Right sidebar toggle","description":"An input_boolean that shows or hides the right sidebar. The second button under the top left corner toggles it."}}},"lcars-readings":{"type":"object","title":"LCARS section strategy: lcars-readings","description":"Section strategy for a sections view (a section's `strategy:` block): a readings list of the target's sensors (a number column or a table, classic or Picard). Home Assistant generates it again when areas, devices or entities change.","required":["type"],"additionalProperties":false,"properties":{"type":{"type":"string","const":"custom:lcars-readings","description":"Strategy identifier."},"title":{"type":"string","description":"The title bar's text. Default: the target's area name when it is one area, else a name for the kind of section."},"look":{"$ref":"#/$defs/strategies_lcars_readings_look"},"frame":{"$ref":"#/$defs/strategies_lcars_readings_frame"},"codes":{"type":"boolean","default":false,"description":"Classic frame only: a random code number (as on the TNG panels) at the bottom right of each block of the bracket's side. The side breaks into blocks about 90 px tall as the section grows."},"columns":{"type":"integer","minimum":1,"maximum":6,"description":"Items side by side. Default: what suits the section and look (readings 1, gauges 4 in picard and 1 in classic, controls 2). The Picard readings table is always one."},"max_items":{"type":"integer","minimum":1,"description":"At most this many items. Default: 12 readings, 8 gauges, 24 controls."},"item_height":{"$ref":"#/$defs/strategies_lcars_readings_item_height"},"gap":{"type":"number","minimum":0,"maximum":64,"default":6,"description":"Space between the items in px."},"padding":{"type":"number","minimum":0,"maximum":64,"description":"Space in px between the items and the frame (or the section's edges, or the Picard controls' side bar). Default: 18 in a classic bracket, 16 in a Picard sweep, the gap beside the side bar, else 0."},"header_gap":{"type":"number","minimum":0,"maximum":64,"description":"Space in px between the title (or the classic bracket's top bar) and the first row of items. Default: 18 in a classic bracket, else 8."},"mode":{"type":"string","enum":["numbers","table"],"description":"How the readings are drawn: numbers (each value as a big number beside a block and its name, as on the TNG ops panels) or table (names and values in rows). Default: numbers in the classic look, table in the Picard look.","enumDescriptions":{"numbers":"Big values beside their names","table":"Names and values in rows"}},"target":{"$ref":"#/$defs/strategies_lcars_readings_target"}}},"lcars-gauges":{"type":"object","title":"LCARS section strategy: lcars-gauges","description":"Section strategy for a sections view (a section's `strategy:` block): gauges for the target's percentages, temperatures and number helpers (classic pill bars or Picard column gauges). Home Assistant generates it again when areas, devices or entities change.","required":["type"],"additionalProperties":false,"properties":{"type":{"type":"string","const":"custom:lcars-gauges","description":"Strategy identifier."},"title":{"type":"string","description":"The title bar's text. Default: the target's area name when it is one area, else a name for the kind of section."},"look":{"$ref":"#/$defs/strategies_lcars_readings_look"},"frame":{"$ref":"#/$defs/strategies_lcars_readings_frame"},"codes":{"type":"boolean","default":false,"description":"Classic frame only: a random code number (as on the TNG panels) at the bottom right of each block of the bracket's side. The side breaks into blocks about 90 px tall as the section grows."},"columns":{"type":"integer","minimum":1,"maximum":6,"description":"Items side by side. Default: what suits the section and look (readings 1, gauges 4 in picard and 1 in classic, controls 2). The Picard readings table is always one."},"max_items":{"type":"integer","minimum":1,"description":"At most this many items. Default: 12 readings, 8 gauges, 24 controls."},"item_height":{"$ref":"#/$defs/strategies_lcars_readings_item_height"},"gap":{"type":"number","minimum":0,"maximum":64,"default":6,"description":"Space between the items in px."},"padding":{"type":"number","minimum":0,"maximum":64,"description":"Space in px between the items and the frame (or the section's edges, or the Picard controls' side bar). Default: 18 in a classic bracket, 16 in a Picard sweep, the gap beside the side bar, else 0."},"header_gap":{"type":"number","minimum":0,"maximum":64,"description":"Space in px between the title (or the classic bracket's top bar) and the first row of items. Default: 18 in a classic bracket, else 8."},"target":{"$ref":"#/$defs/strategies_lcars_readings_target"}}},"lcars-controls":{"type":"object","title":"LCARS section strategy: lcars-controls","description":"Section strategy for a sections view (a section's `strategy:` block): toggles for the target's lights, switches, fans and toggle helpers (classic pills or Picard filled buttons). Home Assistant generates it again when areas, devices or entities change.","required":["type"],"additionalProperties":false,"properties":{"type":{"type":"string","const":"custom:lcars-controls","description":"Strategy identifier."},"title":{"type":"string","description":"The title bar's text. Default: the target's area name when it is one area, else a name for the kind of section."},"look":{"$ref":"#/$defs/strategies_lcars_readings_look"},"frame":{"$ref":"#/$defs/strategies_lcars_readings_frame"},"codes":{"type":"boolean","default":false,"description":"Classic frame only: a random code number (as on the TNG panels) at the bottom right of each block of the bracket's side. The side breaks into blocks about 90 px tall as the section grows."},"columns":{"type":"integer","minimum":1,"maximum":6,"description":"Items side by side. Default: what suits the section and look (readings 1, gauges 4 in picard and 1 in classic, controls 2). The Picard readings table is always one."},"max_items":{"type":"integer","minimum":1,"description":"At most this many items. Default: 12 readings, 8 gauges, 24 controls."},"item_height":{"$ref":"#/$defs/strategies_lcars_readings_item_height"},"gap":{"type":"number","minimum":0,"maximum":64,"default":6,"description":"Space between the items in px."},"padding":{"type":"number","minimum":0,"maximum":64,"description":"Space in px between the items and the frame (or the section's edges, or the Picard controls' side bar). Default: 18 in a classic bracket, 16 in a Picard sweep, the gap beside the side bar, else 0."},"header_gap":{"type":"number","minimum":0,"maximum":64,"description":"Space in px between the title (or the classic bracket's top bar) and the first row of items. Default: 18 in a classic bracket, else 8."},"target":{"$ref":"#/$defs/strategies_lcars_readings_target"}}}}}
