Skip to main content
Glama

Home Assistant MCP Server

lovelace-cards.json194 kB
{ "anyOf": [ { "$ref": "#/definitions/Schema" }, { "$ref": "#/definitions/Schema_1" }, { "$ref": "#/definitions/Schema_2" }, { "$ref": "#/definitions/Schema_3" }, { "$ref": "#/definitions/Schema_4" }, { "$ref": "#/definitions/Schema_5" }, { "$ref": "#/definitions/Schema_6" }, { "$ref": "#/definitions/Schema_7" }, { "$ref": "#/definitions/Schema_8" }, { "$ref": "#/definitions/Schema_9" }, { "$ref": "#/definitions/Schema_10" }, { "$ref": "#/definitions/Schema_11" }, { "$ref": "#/definitions/Schema_12" }, { "$ref": "#/definitions/Schema_13" }, { "$ref": "#/definitions/Schema_14" }, { "$ref": "#/definitions/Schema_15" }, { "$ref": "#/definitions/Schema_16" }, { "$ref": "#/definitions/Schema_17" }, { "$ref": "#/definitions/Schema_18" }, { "$ref": "#/definitions/Schema_19" }, { "$ref": "#/definitions/Schema_20" }, { "$ref": "#/definitions/Schema_21" }, { "$ref": "#/definitions/Schema_22" }, { "$ref": "#/definitions/Schema_23" }, { "$ref": "#/definitions/Schema_24" }, { "$ref": "#/definitions/Schema_25" }, { "$ref": "#/definitions/Schema_26" }, { "$ref": "#/definitions/Schema_27" }, { "$ref": "#/definitions/Schema_28" }, { "$ref": "#/definitions/Schema_29" }, { "$ref": "#/definitions/Schema_30" }, { "$ref": "#/definitions/Schema_31" }, { "$ref": "#/definitions/Schema_32" }, { "$ref": "#/definitions/Schema_33" }, { "$ref": "#/definitions/Schema_34" }, { "$ref": "#/definitions/Schema_35" }, { "$ref": "#/definitions/Schema_36" }, { "$ref": "#/definitions/Schema_37" }, { "$ref": "#/definitions/Schema_38" }, { "$ref": "#/definitions/Schema_39" }, { "$ref": "#/definitions/Schema_40" }, { "$ref": "#/definitions/Schema_41" }, { "$ref": "#/definitions/Schema_42" }, { "$ref": "#/definitions/Schema_43" }, { "type": "array", "items": { "$ref": "#/definitions/Card" } } ], "definitions": { "Schema": { "type": "object", "properties": { "type": { "description": "The Alarm Panel card allows you to Arm and Disarm your alarm control panel integrations.\nhttps://www.home-assistant.io/lovelace/alarm-panel/", "type": "string", "const": "alarm-panel" }, "entity": { "pattern": "^alarm_control_panel..*$", "description": "Entity ID of alarm_control_panel domain\nhttps://www.home-assistant.io/lovelace/alarm-panel/#entity", "type": "string" }, "name": { "description": "Overwrites Friendly Name.\nhttps://www.home-assistant.io/lovelace/alarm-panel/#name", "type": "string" }, "states": { "description": "Controls which states to have available.\nhttps://www.home-assistant.io/lovelace/alarm-panel/#states", "type": "array", "items": { "$ref": "#/definitions/States" } }, "theme": { "description": "Set to any theme within themes.yaml.\nhttps://www.home-assistant.io/lovelace/alarm-panel/#theme", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["entity", "type"] }, "States": { "enum": ["arm_away", "arm_custom_bypass", "arm_home", "arm_night"], "type": "string" }, "ViewLayout": { "additionalProperties": true, "type": "object", "properties": { "position": { "description": "Defines the position of the card in an sidebar view.\nhttps://www.home-assistant.io/lovelace/sidebar/#view_layoutposition", "enum": ["main", "sidebar"], "type": "string" } } }, "Schema_1": { "description": "Lovelace Area Card\nSources:\n - https://github.com/home-assistant/frontend/blob/dev/src/panels/lovelace/cards/hui-area-card.ts\n - https://github.com/home-assistant/frontend/blob/dev/src/panels/lovelace/cards/types.ts", "type": "object", "properties": { "type": { "description": "The Area card lets you control and monitor an individual area.\nhttps://www.home-assistant.io/lovelace/area/", "type": "string", "const": "area" }, "area": { "description": "The ID of the area to show.\nhttps://www.home-assistant.io/lovelace/area/#area", "type": "string" }, "navigation_path": { "description": "Link to Lovelace view.\nhttps://www.home-assistant.io/lovelace/area/#navigation_path", "type": "string" }, "show_camera": { "description": "Changes the area picture to a live feed of the camera set for the area.\nhttps://www.home-assistant.io/lovelace/area/#show_camera", "type": "boolean" }, "theme": { "description": "Override the used theme for this card with any loaded theme.\nhttps://www.home-assistant.io/lovelace/area/#theme", "type": "string" } }, "additionalProperties": false, "required": ["area", "type"] }, "Schema_2": { "type": "object", "properties": { "type": { "description": "The Alarm Panel card allows you to Arm and Disarm your alarm control panel integrations.\nhttps://www.home-assistant.io/lovelace/button/", "type": "string", "const": "button" }, "double_tap_action": { "description": "The action taken on card double-tap.\nhttps://www.home-assistant.io/lovelace/button/#double_tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "entity": { "pattern": "^.*..*$", "description": "The entity ID the card interacts with, for example, light.living_room.\nhttps://www.home-assistant.io/lovelace/button/#entity", "type": "string" }, "hold_action": { "description": "The action taken on card tap and hold.\nhttps://www.home-assistant.io/lovelace/button/#hold_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "icon_height": { "description": "The height of the icon. Any CSS value may be used.\nhttps://www.home-assistant.io/lovelace/button/#icon_height", "type": "string" }, "icon": { "description": "The icon that is displayed on the card. It defaults to the entity domain icon only if the card interacts with an entity. Otherwise, if not configured, no icon is displayed.\nhttps://www.home-assistant.io/lovelace/button/#icon", "type": "string" }, "name": { "description": "The button name that is displayed on the card. It defaults to the entity name only if the card interacts with an entity. Otherwise, if not configured, no name is displayed.\nhttps://www.home-assistant.io/lovelace/button/#name", "type": "string" }, "show_icon": { "description": "If false, the icon is not shown on the card.\nhttps://www.home-assistant.io/lovelace/button/#show_icon", "type": "boolean" }, "show_name": { "description": "If false, the button name is not shown on the card.\nhttps://www.home-assistant.io/lovelace/button/#show_name", "type": "boolean" }, "show_state": { "description": "If false, the button state is not shown on the card.\nhttps://www.home-assistant.io/lovelace/button/#show_state", "type": "boolean" }, "state_color": { "description": "If false, the icon does not change color when the entity is active.\nhttps://www.home-assistant.io/lovelace/button/#state_color", "type": "boolean" }, "tap_action": { "description": "The action taken on card tap.\nhttps://www.home-assistant.io/lovelace/button/#tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "theme": { "description": "The card theme, which may be set to any theme from the themes.yaml file.\nhttps://www.home-assistant.io/lovelace/button/#theme", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["type"] }, "CallServiceAction": { "type": "object", "properties": { "action": { "description": "Legacy syntax. Use \"perform-action\" instead.\nhttps://www.home-assistant.io/lovelace/actions/", "type": "string", "const": "call-service" }, "service": { "pattern": "LEGACY_SYNTAX^", "items": { "pattern": "LEGACY_SYNTAX^" }, "description": "Legacy syntax. Use \"perform_action\" instead.\nhttps://www.home-assistant.io/lovelace/actions/#perform_action" } }, "additionalProperties": false, "required": ["action"] }, "CustomAction": { "additionalProperties": true, "type": "object", "properties": { "action": { "type": "string", "const": "fire-dom-event" }, "confirmation": { "description": "Present a confirmation dialog to confirm the action. See confirmation object below\nhttps://www.home-assistant.io/lovelace/actions/#confirmation", "$ref": "#/definitions/Confirmation" } }, "required": ["action"] }, "Confirmation": { "type": "object", "properties": { "exemptions": { "description": "List of exemption objects.\nhttps://www.home-assistant.io/lovelace/actions/#exemptions", "type": "array", "items": { "$ref": "#/definitions/UserExemption" } }, "text": { "description": "Text to present in the confirmation dialog.\nhttps://www.home-assistant.io/lovelace/actions/#text", "type": "string" } }, "additionalProperties": false }, "UserExemption": { "type": "object", "properties": { "user": { "description": "User id that can see the view tab. For each user´s id listed, the confirmation dialog will NOT be shown.\nhttps://www.home-assistant.io/lovelace/actions/#user", "type": "string" } }, "additionalProperties": false, "required": ["user"] }, "MoreInfoAction": { "type": "object", "properties": { "action": { "description": "Action to trigger the more info dialog of this entity.\nhttps://www.home-assistant.io/lovelace/actions/", "type": "string", "const": "more-info" }, "confirmation": { "description": "Present a confirmation dialog to confirm the action. See confirmation object below\nhttps://www.home-assistant.io/lovelace/actions/#confirmation", "$ref": "#/definitions/Confirmation" } }, "additionalProperties": false, "required": ["action"] }, "NavigateAction": { "type": "object", "properties": { "action": { "description": "Action to navigate to an another view.\nhttps://www.home-assistant.io/lovelace/actions/", "type": "string", "const": "navigate" }, "navigation_path": { "description": "Path to navigate to (e.g., /lovelace/0/) when action defined as navigate\nhttps://www.home-assistant.io/lovelace/actions/#navigation_path", "type": "string" }, "confirmation": { "description": "Present a confirmation dialog to confirm the action. See confirmation object below\nhttps://www.home-assistant.io/lovelace/actions/#confirmation", "$ref": "#/definitions/Confirmation" } }, "additionalProperties": false, "required": ["action", "navigation_path"] }, "NoneAction": { "type": "object", "properties": { "action": { "description": "Action to do nothing.\nhttps://www.home-assistant.io/lovelace/actions/", "type": "string", "const": "none" }, "confirmation": { "description": "Present a confirmation dialog to confirm the action. See confirmation object below\nhttps://www.home-assistant.io/lovelace/actions/#confirmation", "$ref": "#/definitions/Confirmation" } }, "additionalProperties": false, "required": ["action"] }, "PerformActionAction": { "type": "object", "properties": { "action": { "description": "Perform an Home Assistant action.\nhttps://www.home-assistant.io/lovelace/actions/", "type": "string", "const": "perform-action" }, "service": { "pattern": "LEGACY_SYNTAX^", "items": { "pattern": "LEGACY_SYNTAX^" }, "description": "Legacy syntax. Use \"perform_action\" instead.\nhttps://www.home-assistant.io/lovelace/actions/#service" }, "perform_action": { "description": "Action to perform (e.g., media_player.media_play_pause)\nhttps://www.home-assistant.io/lovelace/actions/#perform_action", "type": "string" }, "service_data": { "pattern": "LEGACY_SYNTAX^", "items": { "pattern": "LEGACY_SYNTAX^" }, "description": "Legacy syntax. Use \"data\" instead.\nhttps://www.home-assistant.io/lovelace/actions/#data" }, "data": { "description": "Service data to include (e.g., entity_id: media_player.bedroom).\nhttps://www.home-assistant.io/lovelace/actions/#data", "$ref": "#/definitions/ServiceData" }, "confirmation": { "description": "Present a confirmation dialog to confirm the action. See confirmation object below\nhttps://www.home-assistant.io/lovelace/actions/#confirmation", "anyOf": [ { "$ref": "#/definitions/Confirmation" }, { "type": "boolean" } ] }, "target": { "description": "Defines the target (area(s), device(s) and entitie(s)) to perform this action on.\nhttps://www.home-assistant.io/lovelace/actions/#target", "type": "object", "properties": { "entity_id": { "description": "The entity (or entities) to perform this action on.\nhttps://www.home-assistant.io/docs/scripts/perform-actions/", "anyOf": [ { "type": "string", "pattern": "^.*..*$" }, { "type": "array", "items": { "type": "string", "pattern": "^.*..*$" } }, { "enum": ["all", "none"], "type": "string" }, { "type": "null" } ] }, "device_id": { "description": "The device (or devices) to perform this action on.\nhttps://www.home-assistant.io/docs/scripts/perform-actions/", "anyOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "string" } ] }, "area_id": { "description": "The area (or areas) to perform this action on.\nhttps://www.home-assistant.io/docs/scripts/perform-actions/", "anyOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "string" } ] }, "floor_id": { "description": "The floor (or floors) to execute this service call on.\nhttps://www.home-assistant.io/docs/scripts/perform-actions/", "anyOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "string" } ] }, "label_id": { "description": "The labels (or labels) to execute this service call on.\nhttps://www.home-assistant.io/docs/scripts/perform-actions/", "anyOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "string" } ] } }, "additionalProperties": false } }, "additionalProperties": false, "required": ["action"] }, "ServiceData": { "type": "object", "additionalProperties": {}, "properties": { "entity_id": { "description": "Entity ID to target this service call at.\nhttps://www.home-assistant.io/lovelace/actions/#service_data", "anyOf": [ { "type": "string", "pattern": "^.*..*$" }, { "type": "array", "items": { "type": "string", "pattern": "^.*..*$" } } ] } } }, "ToggleAction": { "type": "object", "properties": { "action": { "description": "Action to toggle the entity state.\nhttps://www.home-assistant.io/lovelace/actions/", "type": "string", "const": "toggle" }, "confirmation": { "description": "Present a confirmation dialog to confirm the action. See confirmation object below\nhttps://www.home-assistant.io/lovelace/actions/#confirmation", "$ref": "#/definitions/Confirmation" } }, "additionalProperties": false, "required": ["action"] }, "URLAction": { "type": "object", "properties": { "action": { "description": "Action to navigate to an another URL.\nhttps://www.home-assistant.io/lovelace/actions/", "type": "string", "const": "url" }, "url_path": { "description": "Path to navigate to (e.g., /lovelace/0/) when action defined as navigate\nhttps://www.home-assistant.io/lovelace/actions/#url_path", "type": "string" }, "confirmation": { "description": "Present a confirmation dialog to confirm the action. See confirmation object below\nhttps://www.home-assistant.io/lovelace/actions/#confirmation", "$ref": "#/definitions/Confirmation" } }, "additionalProperties": false, "required": ["action", "url_path"] }, "Schema_3": { "type": "object", "properties": { "type": { "description": "The Calendar card displays your calendar entities in a month, day and list view.\nhttps://www.home-assistant.io/lovelace/calendar/", "type": "string", "const": "calendar" }, "entities": { "description": "A list of calendar entities that will be displayed in the card.\nhttps://www.home-assistant.io/lovelace/calendar/#entities", "type": "array", "items": { "type": "string", "pattern": "^.*..*$" } }, "initial_view": { "description": "The view that will show first when the card is loaded onto the page.\nhttps://www.home-assistant.io/lovelace/calendar/#initial_view", "enum": ["dayGridDay", "dayGridMonth", "dayGridWeek", "listWeek"], "type": "string" }, "theme": { "description": "The card theme, which may be set to any theme from the themes.yaml file.\nhttps://www.home-assistant.io/lovelace/calendar/#theme", "type": "string" }, "title": { "description": "The title of the card.\nhttps://www.home-assistant.io/lovelace/calendar/#title", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["type"] }, "Schema_4": { "type": "object", "properties": { "type": { "description": "The Conditional card displays another card based on entity states.\nhttps://www.home-assistant.io/lovelace/conditional/", "type": "string", "const": "conditional" }, "card": { "$ref": "#/definitions/Card", "description": "Card to display if all conditions match.\nhttps://www.home-assistant.io/lovelace/conditional/#card" }, "conditions": { "description": "List of entity IDs and matching states.\nhttps://www.home-assistant.io/lovelace/conditional/#conditions", "type": "array", "items": { "$ref": "#/definitions/Condition" } }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["card", "conditions", "type"] }, "Card": { "anyOf": [ { "$ref": "#/definitions/Schema" }, { "$ref": "#/definitions/Schema_1" }, { "$ref": "#/definitions/Schema_2" }, { "$ref": "#/definitions/Schema_3" }, { "$ref": "#/definitions/Schema_4" }, { "$ref": "#/definitions/Schema_5" }, { "$ref": "#/definitions/Schema_6" }, { "$ref": "#/definitions/Schema_7" }, { "$ref": "#/definitions/Schema_8" }, { "$ref": "#/definitions/Schema_9" }, { "$ref": "#/definitions/Schema_10" }, { "$ref": "#/definitions/Schema_11" }, { "$ref": "#/definitions/Schema_12" }, { "$ref": "#/definitions/Schema_13" }, { "$ref": "#/definitions/Schema_14" }, { "$ref": "#/definitions/Schema_15" }, { "$ref": "#/definitions/Schema_16" }, { "$ref": "#/definitions/Schema_17" }, { "$ref": "#/definitions/Schema_18" }, { "$ref": "#/definitions/Schema_19" }, { "$ref": "#/definitions/Schema_20" }, { "$ref": "#/definitions/Schema_21" }, { "$ref": "#/definitions/Schema_22" }, { "$ref": "#/definitions/Schema_23" }, { "$ref": "#/definitions/Schema_24" }, { "$ref": "#/definitions/Schema_25" }, { "$ref": "#/definitions/Schema_26" }, { "$ref": "#/definitions/Schema_27" }, { "$ref": "#/definitions/Schema_28" }, { "$ref": "#/definitions/Schema_29" }, { "$ref": "#/definitions/Schema_30" }, { "$ref": "#/definitions/Schema_31" }, { "$ref": "#/definitions/Schema_32" }, { "$ref": "#/definitions/Schema_33" }, { "$ref": "#/definitions/Schema_34" }, { "$ref": "#/definitions/Schema_35" }, { "$ref": "#/definitions/Schema_36" }, { "$ref": "#/definitions/Schema_37" }, { "$ref": "#/definitions/Schema_38" }, { "$ref": "#/definitions/Schema_39" }, { "$ref": "#/definitions/Schema_40" }, { "$ref": "#/definitions/Schema_41" }, { "$ref": "#/definitions/Schema_42" }, { "$ref": "#/definitions/Schema_43" } ] }, "Schema_5": { "additionalProperties": true, "type": "object", "properties": { "type": { "pattern": "custom:(.*)$", "type": "string" } }, "required": ["type"] }, "Schema_6": { "description": "Lovelace Carbon consumed gauge Card\nSources:\n - https://github.com/home-assistant/frontend/blob/dev/src/panels/lovelace/cards/energy/hui-energy-solar-consumed-gauge-card.ts", "type": "object", "properties": { "type": { "description": "The carbon consumed gauge card represents how much of the energy consumed by your home was generated using non-fossil fuels like solar, wind and nuclear.\nhttps://www.home-assistant.io/lovelace/energy/#carbon-consumed-gauge", "type": "string", "const": "energy-carbon-consumed-gauge" }, "title": { "description": "The card title.", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["type"] }, "Schema_7": { "description": "Lovelace Energy Date Picker Card\nSources:\n - https://github.com/home-assistant/frontend/blob/dev/src/panels/lovelace/cards/energy/hui-energy-date-selection-card.ts", "type": "object", "properties": { "type": { "description": "This card will allow you to pick what date to show.\nhttps://www.home-assistant.io/lovelace/energy/#energy-date-picker", "type": "string", "const": "energy-date-selection" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["type"] }, "Schema_8": { "description": "Lovelace Devices energy graph Card\nSources:\n - https://github.com/home-assistant/frontend/blob/dev/src/panels/lovelace/cards/energy/hui-energy-devices-graph-card.ts", "type": "object", "properties": { "type": { "description": "The devices energy graph show the energy usage per device, it is sorted by usage.\nhttps://www.home-assistant.io/lovelace/energy/#devices-energy-graph", "type": "string", "const": "energy-devices-graph" }, "title": { "description": "The card title.", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["type"] }, "Schema_9": { "description": "Lovelace Energy distribution Card\nSources:\n - https://github.com/home-assistant/frontend/blob/dev/src/panels/lovelace/cards/energy/hui-energy-distribution-card.ts", "type": "object", "properties": { "type": { "description": "The energy distribution card shows how the energy flowed, from the grid to your house, from your solar panels to your house and/or back to the grid.\nhttps://www.home-assistant.io/lovelace/energy/#energy-distribution", "type": "string", "const": "energy-distribution" }, "title": { "description": "The card title.", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["type"] }, "Schema_10": { "description": "Lovelace Gas graph Card\nSources:\n - https://github.com/home-assistant/frontend/blob/dev/src/panels/lovelace/cards/energy/hui-energy-gas-graph-card.ts", "type": "object", "properties": { "type": { "description": "The gas consumption graph card shows the amount of gas consumed per source.\nhttps://www.home-assistant.io/lovelace/energy/#gas-consumption-graph", "type": "string", "const": "energy-gas-graph" }, "title": { "description": "The card title.", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["type"] }, "Schema_11": { "description": "Lovelace Grid neutrality gauge Card\nSources:\n - https://github.com/home-assistant/frontend/blob/dev/src/panels/lovelace/cards/energy/hui-energy-grid-neutrality-gauge-card.ts", "type": "object", "properties": { "type": { "description": "The grid neutrality gauge card represents your energy dependency.\nhttps://www.home-assistant.io/lovelace/energy/#grid-neutrality-gauge", "type": "string", "const": "energy-grid-neutrality-gauge" }, "title": { "description": "The card title.", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["type"] }, "Schema_12": { "description": "Lovelace Solar consumed gauge Card\nSources:\n - https://github.com/home-assistant/frontend/blob/dev/src/panels/lovelace/cards/energy/hui-energy-solar-consumed-gauge-card.ts", "type": "object", "properties": { "type": { "description": "The solar consumed gauge represents how much of the solar energy was not used by your home and was returned to the grid.\nhttps://www.home-assistant.io/lovelace/energy/#solar-consumed-gauge", "type": "string", "const": "energy-grid-neutrality-gauge" }, "title": { "description": "The card title.", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["type"] }, "Schema_13": { "description": "Lovelace Solar production graph Card\nSources:\n - https://github.com/home-assistant/frontend/blob/dev/src/panels/lovelace/cards/energy/hui-energy-solar-graph-card.ts", "type": "object", "properties": { "type": { "description": "The solar production graph card shows the amount of energy your solar panels have produced per source, and if setup and available the forecast of the solar production.\nhttps://www.home-assistant.io/lovelace/energy/#solar-production-graph", "type": "string", "const": "energy-solar-graph" }, "title": { "description": "The card title.", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["type"] }, "Schema_14": { "description": "Lovelace Energy sources table Card\nSources:\n - https://github.com/home-assistant/frontend/blob/dev/src/panels/lovelace/cards/energy/hui-energy-sources-table-card.ts", "type": "object", "properties": { "type": { "description": "The energy sources table card shows all your energy sources, and the corresponding amount of energy.\nhttps://www.home-assistant.io/lovelace/energy/#energy-sources-table", "type": "string", "const": "energy-sources-table" }, "title": { "description": "The card title.", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["type"] }, "Schema_15": { "description": "Lovelace Energy usage graph Card\nSources:\n - https://github.com/home-assistant/frontend/blob/dev/src/panels/lovelace/cards/energy/hui-energy-usage-graph-card.ts", "type": "object", "properties": { "type": { "description": "The energy usage graph card shows the amount of energy your house has consumed, and from what source this energy came.\nhttps://www.home-assistant.io/lovelace/energy/#energy-usage-graph", "type": "string", "const": "energy-usage-graph" }, "title": { "description": "The card title.", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["type"] }, "Schema_16": { "type": "object", "properties": { "type": { "description": "The Entities card is the most common type of card. It groups items together into lists.\nhttps://www.home-assistant.io/lovelace/entities/", "type": "string", "const": "entities" }, "entities": { "description": "A list of entity IDs or entity (row) objects.\nhttps://www.home-assistant.io/lovelace/entities/#entities", "type": "array", "items": { "$ref": "#/definitions/Entity" } }, "footer": { "description": "Header widget to render.\nhttps://www.home-assistant.io/lovelace/header-footer/", "anyOf": [ { "$ref": "#/definitions/ButtonsHeaderFooter" }, { "$ref": "#/definitions/GraphHeaderFooter" }, { "$ref": "#/definitions/PictureHeaderFooter" } ] }, "header": { "description": "Footer widget to render.\nhttps://www.home-assistant.io/lovelace/header-footer/", "anyOf": [ { "$ref": "#/definitions/ButtonsHeaderFooter" }, { "$ref": "#/definitions/GraphHeaderFooter" }, { "$ref": "#/definitions/PictureHeaderFooter" } ] }, "icon": { "description": "An icon to display to the left of the title.\nhttps://www.home-assistant.io/lovelace/entities/#icon", "type": "string" }, "show_header_toggle": { "description": "Button to turn on/off all entities.\nhttps://www.home-assistant.io/lovelace/entities/#show_header_toggle", "type": "boolean" }, "state_color": { "description": "Set to true to have icons colored when entity is active.\nhttps://www.home-assistant.io/lovelace/entities/#state_color", "type": "boolean" }, "theme": { "description": "Set to any theme within themes.yaml.\nhttps://www.home-assistant.io/lovelace/entities/#theme", "type": "string" }, "title": { "description": "The card title.\nhttps://www.home-assistant.io/lovelace/entities/#title", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["type"] }, "Entity": { "anyOf": [ { "type": "string", "pattern": "^.*..*$" }, { "$ref": "#/definitions/AttributeRow" }, { "$ref": "#/definitions/ButtonRow" }, { "$ref": "#/definitions/ButtonsRow" }, { "$ref": "#/definitions/CallServiceRow" }, { "$ref": "#/definitions/CastRow" }, { "$ref": "#/definitions/ConditionalRow" }, { "$ref": "#/definitions/CustomRow" }, { "$ref": "#/definitions/DividerRow" }, { "$ref": "#/definitions/EntityRow" }, { "$ref": "#/definitions/SectionRow" }, { "$ref": "#/definitions/TextRow" }, { "$ref": "#/definitions/WeblinkRow" } ] }, "AttributeRow": { "type": "object", "properties": { "type": { "description": "A row that shows the attribute value of an entity.\nhttps://www.home-assistant.io/lovelace/entities/#attribute", "type": "string", "const": "attribute" }, "attribute": { "description": "Attribute to display from the entity.\nhttps://www.home-assistant.io/lovelace/entities/#attribute", "type": "string" }, "prefix": { "description": "Text before entity state.\nhttps://www.home-assistant.io/lovelace/entities/#prefix", "type": "string" }, "suffix": { "description": "Text after entity state.\nhttps://www.home-assistant.io/lovelace/entities/#suffix", "type": "string" }, "entity": { "pattern": "^.*..*$", "description": "Home Assistant entity ID.\nhttps://www.home-assistant.io/lovelace/entities/#entity", "type": "string" }, "name": { "description": "Overwrites friendly name.\nhttps://www.home-assistant.io/lovelace/entities/#name", "type": "string" }, "icon": { "description": "Overwrites icon or entity picture.\nhttps://www.home-assistant.io/lovelace/entities/#icon", "type": "string" }, "image": { "description": "Overwrites entity picture.\nhttps://www.home-assistant.io/lovelace/entities/#image", "type": "string" } }, "additionalProperties": false, "required": ["attribute", "entity", "type"] }, "ButtonRow": { "type": "object", "properties": { "type": { "description": "Row that shows a button.\nhttps://www.home-assistant.io/lovelace/entities/#button", "type": "string", "const": "button" }, "action_name": { "description": "Button label.\nhttps://www.home-assistant.io/lovelace/entities/#action_name", "type": "string" }, "double_tap_action": { "description": "Action taken on card double tap.\nhttps://www.home-assistant.io/lovelace/entities/#double_tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "hold_action": { "description": "Action taken on card tap and hold.\nhttps://www.home-assistant.io/lovelace/entities/#hold_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "tap_action": { "description": "Action taken on card tap.\nhttps://www.home-assistant.io/lovelace/entities/#tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "entity": { "pattern": "^.*..*$", "description": "Home Assistant entity ID.\nhttps://www.home-assistant.io/lovelace/entities/#entity", "type": "string" }, "name": { "description": "Overwrites friendly name.\nhttps://www.home-assistant.io/lovelace/entities/#name", "type": "string" }, "icon": { "description": "Overwrites icon or entity picture.\nhttps://www.home-assistant.io/lovelace/entities/#icon", "type": "string" }, "image": { "description": "Overwrites entity picture.\nhttps://www.home-assistant.io/lovelace/entities/#image", "type": "string" } }, "additionalProperties": false, "required": ["entity", "type"] }, "ButtonsRow": { "type": "object", "properties": { "type": { "description": "Row that shows multiple buttons\nhttps://www.home-assistant.io/lovelace/entities/#buttons", "type": "string", "const": "buttons" }, "entities": { "description": "A list of entities to show. Each entry is either an entity ID or a map.\nhttps://www.home-assistant.io/lovelace/entities/#entities", "type": "array", "items": { "$ref": "#/definitions/ButtonEntityRow" } } }, "additionalProperties": false, "required": ["entities", "type"] }, "ButtonEntityRow": { "type": "object", "properties": { "show_icon": { "description": "If false, the icon is not shown.\nhttps://www.home-assistant.io/lovelace/entities/#show_icon", "type": "boolean" }, "show_name": { "description": "If false, the button name is not shown.\nhttps://www.home-assistant.io/lovelace/entities/#show_name", "type": "boolean" }, "action_name": { "description": "Button label. (Only applies to script and scene rows)\nhttps://www.home-assistant.io/lovelace/entities/#action_name", "type": "string" }, "double_tap_action": { "description": "Action taken on card double tap.\nhttps://www.home-assistant.io/lovelace/entities/#double_tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "format": { "description": "How the state should be formatted. Currently only used for timestamp sensors. Valid values are: relative, total, date, time and datetime.\nhttps://www.home-assistant.io/lovelace/entities/#format", "enum": ["date", "datetime", "relative", "time", "total"], "type": "string" }, "hold_action": { "description": "Action taken on card tap and hold.\nhttps://www.home-assistant.io/lovelace/entities/#hold_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "secondary_info": { "description": "Show additional info. Values: entity-id, last-changed, last-updated, last-triggered (only for automations and scripts), position or tilt-position (only for supported covers), brightness (only for lights).\nhttps://www.home-assistant.io/lovelace/entities/#secondary_info", "enum": [ "brightness", "entity-id", "last-changed", "last-triggered", "last-updated", "position", "tilt-position" ], "type": "string" }, "state_color": { "description": "Set to true to have icons colored when entity is active.\nhttps://www.home-assistant.io/lovelace/entities/#state_color", "type": "boolean" }, "tap_action": { "description": "Action taken on card tap.\nhttps://www.home-assistant.io/lovelace/entities/#tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "type": { "type": "string" }, "entity": { "pattern": "^.*..*$", "description": "Home Assistant entity ID.\nhttps://www.home-assistant.io/lovelace/entities/#entity", "type": "string" }, "name": { "description": "Overwrites friendly name.\nhttps://www.home-assistant.io/lovelace/entities/#name", "type": "string" }, "icon": { "description": "Overwrites icon or entity picture.\nhttps://www.home-assistant.io/lovelace/entities/#icon", "type": "string" }, "image": { "description": "Overwrites entity picture.\nhttps://www.home-assistant.io/lovelace/entities/#image", "type": "string" } }, "additionalProperties": false, "required": ["entity"] }, "CallServiceRow": { "type": "object", "properties": { "type": { "description": "Row that can do a service call.\nhttps://www.home-assistant.io/lovelace/entities/#action_name", "type": "string", "const": "call-service" }, "service": { "description": "Home Assistant service to call.\nhttps://www.home-assistant.io/lovelace/entities/#action_name", "type": "string" }, "service_data": { "description": "Service data to include. Note: Has been replaced by \"data\".\nhttps://www.home-assistant.io/lovelace/entities/#data", "type": "object", "additionalProperties": {} }, "data": { "description": "Data to pass into the service call.\nhttps://www.home-assistant.io/lovelace/entities/#data", "type": "object", "additionalProperties": {} }, "action_name": { "description": "Button label.\nhttps://www.home-assistant.io/lovelace/entities/#action_name", "type": "string" }, "entity": { "pattern": "^.*..*$", "description": "Home Assistant entity ID.\nhttps://www.home-assistant.io/lovelace/entities/#entity", "type": "string" }, "name": { "description": "Overwrites friendly name.\nhttps://www.home-assistant.io/lovelace/entities/#name", "type": "string" }, "icon": { "description": "Overwrites icon or entity picture.\nhttps://www.home-assistant.io/lovelace/entities/#icon", "type": "string" }, "image": { "description": "Overwrites entity picture.\nhttps://www.home-assistant.io/lovelace/entities/#image", "type": "string" } }, "additionalProperties": false, "required": ["entity", "service", "type"] }, "CastRow": { "type": "object", "properties": { "type": { "description": "Special row to start Home Assistant Cast.\nhttps://www.home-assistant.io/lovelace/entities/#cast", "type": "string", "const": "cast" }, "dashboard": { "description": "Path to the dashboard of the view that needs to be shown.\nhttps://www.home-assistant.io/lovelace/entities/#dashboard", "type": "string" }, "hide_if_unavailable": { "description": "Hide this row if casting is not available in the browser.\nhttps://www.home-assistant.io/lovelace/entities/#hide_if_unavailable", "type": "boolean" }, "icon": { "description": "Icon to use.\nhttps://www.home-assistant.io/lovelace/entities/#icon", "type": "string" }, "name": { "description": "Name to show in the row.\nhttps://www.home-assistant.io/lovelace/entities/#name", "type": "string" }, "view": { "description": "Path to the view that needs to be shown.\nhttps://www.home-assistant.io/lovelace/entities/#view", "type": ["string", "number"] } }, "additionalProperties": false, "required": ["type", "view"] }, "ConditionalRow": { "type": "object", "properties": { "type": { "description": "Special row that displays based on entity states.\nhttps://www.home-assistant.io/lovelace/entities/#conditional", "type": "string", "const": "conditional" }, "conditions": { "description": "List of entity IDs and matching states.\nhttps://www.home-assistant.io/lovelace/entities/#conditions", "type": "array", "items": { "$ref": "#/definitions/Condition" } }, "row": { "$ref": "#/definitions/Row", "description": "Row to display if all conditions match.\nhttps://www.home-assistant.io/lovelace/entities/#row" } }, "additionalProperties": false, "required": ["conditions", "row", "type"] }, "Condition": { "type": "object", "properties": { "entity": { "pattern": "^.*..*$", "description": "Home Assistant entity ID.\nhttps://www.home-assistant.io/lovelace/conditional/#entity", "type": "string" }, "state": { "description": "Entity state is equal to this value.\nhttps://www.home-assistant.io/lovelace/conditional/#state", "type": "string" }, "state_not": { "description": "Entity state is unequal to this value.\nhttps://www.home-assistant.io/lovelace/conditional/#state_not", "type": "string" } }, "additionalProperties": false, "required": ["entity"] }, "Row": { "anyOf": [ { "$ref": "#/definitions/AttributeRow" }, { "$ref": "#/definitions/ButtonRow" }, { "$ref": "#/definitions/ButtonsRow" }, { "$ref": "#/definitions/CallServiceRow" }, { "$ref": "#/definitions/CastRow" }, { "$ref": "#/definitions/ConditionalRow" }, { "$ref": "#/definitions/CustomRow" }, { "$ref": "#/definitions/DividerRow" }, { "$ref": "#/definitions/EntityRow" }, { "$ref": "#/definitions/SectionRow" }, { "$ref": "#/definitions/TextRow" }, { "$ref": "#/definitions/WeblinkRow" } ] }, "CustomRow": { "additionalProperties": true, "type": "object", "properties": { "type": { "description": "This is a custom row.", "pattern": "custom:(.*)$", "type": "string" } }, "required": ["type"] }, "DividerRow": { "type": "object", "properties": { "type": { "description": "Shows a divider row on the card.\nhttps://www.home-assistant.io/lovelace/entities/#divider", "type": "string", "const": "divider" }, "style": { "description": "Style the element using CSS.\nhttps://www.home-assistant.io/lovelace/entities/#style", "type": "object", "additionalProperties": {} } }, "additionalProperties": false, "required": ["type"] }, "EntityRow": { "type": "object", "properties": { "action_name": { "description": "Button label. (Only applies to script and scene rows)\nhttps://www.home-assistant.io/lovelace/entities/#action_name", "type": "string" }, "double_tap_action": { "description": "Action taken on card double tap.\nhttps://www.home-assistant.io/lovelace/entities/#double_tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "format": { "description": "How the state should be formatted. Currently only used for timestamp sensors. Valid values are: relative, total, date, time and datetime.\nhttps://www.home-assistant.io/lovelace/entities/#format", "enum": ["date", "datetime", "relative", "time", "total"], "type": "string" }, "hold_action": { "description": "Action taken on card tap and hold.\nhttps://www.home-assistant.io/lovelace/entities/#hold_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "secondary_info": { "description": "Show additional info. Values: entity-id, last-changed, last-updated, last-triggered (only for automations and scripts), position or tilt-position (only for supported covers), brightness (only for lights).\nhttps://www.home-assistant.io/lovelace/entities/#secondary_info", "enum": [ "brightness", "entity-id", "last-changed", "last-triggered", "last-updated", "position", "tilt-position" ], "type": "string" }, "state_color": { "description": "Set to true to have icons colored when entity is active.\nhttps://www.home-assistant.io/lovelace/entities/#state_color", "type": "boolean" }, "tap_action": { "description": "Action taken on card tap.\nhttps://www.home-assistant.io/lovelace/entities/#tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "type": { "type": "string" }, "entity": { "pattern": "^.*..*$", "description": "Home Assistant entity ID.\nhttps://www.home-assistant.io/lovelace/entities/#entity", "type": "string" }, "name": { "description": "Overwrites friendly name.\nhttps://www.home-assistant.io/lovelace/entities/#name", "type": "string" }, "icon": { "description": "Overwrites icon or entity picture.\nhttps://www.home-assistant.io/lovelace/entities/#icon", "type": "string" }, "image": { "description": "Overwrites entity picture.\nhttps://www.home-assistant.io/lovelace/entities/#image", "type": "string" } }, "additionalProperties": false, "required": ["entity"] }, "SectionRow": { "type": "object", "properties": { "type": { "description": "Devides a card by a new section.\nhttps://www.home-assistant.io/lovelace/entities/#section", "type": "string", "const": "section" }, "label": { "description": "Section label.\nhttps://www.home-assistant.io/lovelace/entities/#label", "type": "string" } }, "additionalProperties": false, "required": ["type"] }, "TextRow": { "type": "object", "properties": { "type": { "description": "Shows a row with a label and a text.\nhttps://www.home-assistant.io/lovelace/entities/#text", "type": "string", "const": "text" }, "name": { "description": "Name to show on the row.\nhttps://www.home-assistant.io/lovelace/entities/#name", "type": "string" }, "icon": { "description": "Row icon in front of the text.\nhttps://www.home-assistant.io/lovelace/entities/#icon", "type": "string" }, "text": { "description": "Text to show on the row.\nhttps://www.home-assistant.io/lovelace/entities/#text", "type": "string" } }, "additionalProperties": false, "required": ["name", "text", "type"] }, "WeblinkRow": { "type": "object", "properties": { "type": { "description": "A row that shows a clickable link to anywhere on the net.\nhttps://www.home-assistant.io/lovelace/entities/#weblink", "type": "string", "const": "weblink" }, "name": { "description": "Link label.\nhttps://www.home-assistant.io/lovelace/entities/#name", "type": "string" }, "icon": { "description": "Icon to display (e.g., mdi:home).\nhttps://www.home-assistant.io/lovelace/entities/#icon", "type": "string" }, "url": { "description": "Website URL (or internal URL e.g., /hassio/dashboard or /panel_custom_name)\nhttps://www.home-assistant.io/lovelace/entities/#url", "type": "string" } }, "additionalProperties": false, "required": ["type", "url"] }, "ButtonsHeaderFooter": { "type": "object", "properties": { "type": { "description": "Widget to show entities as buttons in the header or footer.\nhttps://www.home-assistant.io/lovelace/header-footer/#buttons-header--footer", "type": "string", "const": "buttons" }, "entities": { "description": "A list of entities to show. Each entry is either an entity ID or a entity configuration.\nhttps://www.home-assistant.io/lovelace/header-footer/#entities", "type": "array", "items": { "$ref": "#/definitions/Entity_1" } } }, "additionalProperties": false, "required": ["entities", "type"] }, "Entity_1": { "anyOf": [ { "type": "string", "pattern": "^.*..*$" }, { "$ref": "#/definitions/EntityConfig" } ] }, "EntityConfig": { "type": "object", "properties": { "type": { "type": "string" }, "entity": { "pattern": "^.*..*$", "description": "Home Assistant entity ID.\nhttps://www.home-assistant.io/lovelace/entities/#entity", "type": "string" }, "name": { "description": "Overwrites friendly name.\nhttps://www.home-assistant.io/lovelace/entities/#name", "type": "string" }, "icon": { "description": "Overwrites icon or entity picture.\nhttps://www.home-assistant.io/lovelace/entities/#icon", "type": "string" }, "image": { "description": "Overwrites entity picture.\nhttps://www.home-assistant.io/lovelace/entities/#image", "type": "string" } }, "additionalProperties": false, "required": ["entity"] }, "GraphHeaderFooter": { "type": "object", "properties": { "type": { "description": "Widget to show an entity in the sensor domain as a graph in the header or footer.\nhttps://www.home-assistant.io/lovelace/header-footer/#graph-header--footer", "type": "string", "const": "graph" }, "entity": { "pattern": "^sensor..*$", "description": "Entity id of sensor domain\nhttps://www.home-assistant.io/lovelace/header-footer/#entity", "type": "string" }, "detail": { "description": "Detail of the graph 1 or 2, 1 equals one point/hour, 2 equals six points/hour.\nhttps://www.home-assistant.io/lovelace/header-footer/#detail", "enum": [1, 2], "type": "number" }, "hours_to_show": { "type": "integer", "minimum": 0, "description": "Hours to show in graph.\nhttps://www.home-assistant.io/lovelace/header-footer/#hours_to_show" } }, "additionalProperties": false, "required": ["entity", "hours_to_show", "type"] }, "PictureHeaderFooter": { "type": "object", "properties": { "type": { "description": "Widget to show a picture as a header or a footer. A picture can have touch actions associated with it.\nhttps://www.home-assistant.io/lovelace/header-footer/#picture-header--footer", "type": "string", "const": "picture" }, "double_tap_action": { "description": "Action to take on double tap.\nhttps://www.home-assistant.io/lovelace/header-footer/#double_tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "hold_action": { "description": "Action to take on tap-and-hold.\nhttps://www.home-assistant.io/lovelace/header-footer/#hold_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "image": { "description": "The URL of an image.\nhttps://www.home-assistant.io/lovelace/header-footer/#image", "type": "string" }, "tap_action": { "description": "Action take on card tap.\nhttps://www.home-assistant.io/lovelace/header-footer/#tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] } }, "additionalProperties": false, "required": ["image", "type"] }, "Schema_17": { "type": "object", "properties": { "type": { "description": "The Entity card gives you a quick overview of your entity’s state.\nhttps://www.home-assistant.io/lovelace/entity", "type": "string", "const": "entity" }, "attribute": { "description": "An attribute associated with the entity.\nhttps://www.home-assistant.io/lovelace/entity/#attribute", "type": "string" }, "entity": { "pattern": "^.*..*$", "description": "Name of Entity\nhttps://www.home-assistant.io/lovelace/entity/#entity", "type": "string" }, "footer": { "description": "Footer widget to render.\nhttps://www.home-assistant.io/lovelace/entity/#footer", "anyOf": [ { "$ref": "#/definitions/ButtonsHeaderFooter" }, { "$ref": "#/definitions/GraphHeaderFooter" }, { "$ref": "#/definitions/PictureHeaderFooter" } ] }, "icon": { "description": "Overwrites icon.\nhttps://www.home-assistant.io/lovelace/entity/#icon", "type": "string" }, "name": { "description": "Name of Entity.\nhttps://www.home-assistant.io/lovelace/entity/#name", "type": "string" }, "state_color": { "description": "Set to true to have icon colored when entity is active.\nhttps://www.home-assistant.io/lovelace/entity/#state_color", "type": "boolean" }, "theme": { "description": "Set to any theme within themes.yaml.\nhttps://www.home-assistant.io/lovelace/entity/#theme", "type": "string" }, "unit": { "description": "Unit of Measurement given to the data displayed.\nhttps://www.home-assistant.io/lovelace/entity/#unit", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["entity", "type"] }, "Schema_18": { "description": "Lovelace Entity Button Card\nSource: https://github.com/home-assistant/frontend/edit/dev/src/panels/lovelace/cards/hui-entity-button-card.ts", "type": "object", "properties": { "type": { "description": "DEPRECATED.\nThe entity-button card has been replaced by the button card.\nhttps://www.home-assistant.io/lovelace/button/", "pattern": "DEPRECATED^", "type": "string", "const": "entity-button" } }, "additionalProperties": false, "required": ["type"] }, "Schema_19": { "type": "object", "properties": { "type": { "description": "The Entity Filter card allows you to define a list of entities that you want to track only when in a certain state.\nhttps://www.home-assistant.io/lovelace/entity-filter/", "type": "string", "const": "entity-filter" }, "card": { "$ref": "#/definitions/Card", "description": "Extra options to pass down to the card rendering the result.\nhttps://www.home-assistant.io/lovelace/entity-filter/#card" }, "entities": { "description": "A list of entity IDs or entity objects, see below.\nhttps://www.home-assistant.io/lovelace/entity-filter/#entities", "type": "array", "items": { "$ref": "#/definitions/Entity_2" } }, "show_empty": { "description": "Allows hiding of card when no entities returned by filter.\nhttps://www.home-assistant.io/lovelace/entity-filter/#show_empty", "type": "boolean" }, "state_filter": { "description": "List of strings representing states or filter objects.\nhttps://www.home-assistant.io/lovelace/entity-filter/#state_filter", "type": "array", "items": { "$ref": "#/definitions/StateFilter" } }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["card", "entities", "state_filter", "type"] }, "Entity_2": { "anyOf": [ { "type": "string", "pattern": "^.*..*$" }, { "$ref": "#/definitions/EntityFilterEntityConfig" } ] }, "EntityFilterEntityConfig": { "type": "object", "properties": { "state_filter": { "description": "List of strings representing states or filter objects.\nhttps://www.home-assistant.io/lovelace/entity-filter/#state_filter", "type": "array", "items": { "$ref": "#/definitions/StateFilter" } }, "type": { "type": "string" }, "entity": { "pattern": "^.*..*$", "description": "Home Assistant entity ID.\nhttps://www.home-assistant.io/lovelace/entities/#entity", "type": "string" }, "name": { "description": "Overwrites friendly name.\nhttps://www.home-assistant.io/lovelace/entities/#name", "type": "string" }, "icon": { "description": "Overwrites icon or entity picture.\nhttps://www.home-assistant.io/lovelace/entities/#icon", "type": "string" }, "image": { "description": "Overwrites entity picture.\nhttps://www.home-assistant.io/lovelace/entities/#image", "type": "string" } }, "additionalProperties": false, "required": ["entity"] }, "StateFilter": { "anyOf": [ { "$ref": "#/definitions/StateFilterConfig" }, { "type": "string" } ] }, "StateFilterConfig": { "type": "object", "properties": { "attribute": { "description": "Attribute of the entity to use instead of the state.\nhttps://www.home-assistant.io/lovelace/entity-filter/#attribute", "type": "string" }, "value": { "description": "String representing the state.\nhttps://www.home-assistant.io/lovelace/entity-filter/#value", "type": "string" }, "operator": { "description": "Operator to use in the comparison. Can be ==, <=, <, >=, >, !=, in, not in, or regex.\nhttps://www.home-assistant.io/lovelace/entity-filter/#operator", "enum": ["!=", "<", "<=", "==", ">", ">=", "in", "not in", "regex"], "type": "string" } }, "additionalProperties": false, "required": ["value"] }, "Schema_20": { "type": "object", "properties": { "type": { "description": "The Gauge card is a basic card that allows visually seeing sensor data.\nhttps://www.home-assistant.io/lovelace/gauge/", "type": "string", "const": "gauge" }, "entity": { "pattern": "^.*..*$", "description": "Entity id to show.\nhttps://www.home-assistant.io/lovelace/gauge/#entity", "type": "string" }, "max": { "description": "Maximum value for graph.\nhttps://www.home-assistant.io/lovelace/gauge/#max", "type": "number" }, "min": { "description": "Minimum value for graph.\nhttps://www.home-assistant.io/lovelace/gauge/#min", "type": "number" }, "name": { "description": "Name of Gauge Entity.\nhttps://www.home-assistant.io/lovelace/gauge/#name", "type": "string" }, "needle": { "description": "Show the gauge as a needle gauge.\nhttps://www.home-assistant.io/lovelace/gauge/#needle", "type": "boolean" }, "segments": { "description": "List of colors and their corresponding start values. Segments will override the severity settings.\nhttps://www.home-assistant.io/dashboards/gauge/#segments", "type": "array", "items": { "$ref": "#/definitions/Segment" } }, "severity": { "description": "Allows setting of colors for different numbers.\nhttps://www.home-assistant.io/lovelace/gauge/#severity", "$ref": "#/definitions/Severity" }, "theme": { "description": "Set to any theme within themes.yaml.\nhttps://www.home-assistant.io/lovelace/gauge/#theme", "type": "string" }, "unit": { "description": "Unit of Measurement given to data.\nhttps://www.home-assistant.io/lovelace/gauge/#unit", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["entity", "type"] }, "Segment": { "type": "object", "properties": { "from": { "description": "Value from which to start the color.\nhttps://www.home-assistant.io/dashboards/gauge/#from", "type": "number" }, "color": { "description": "Value from which to start red color.\nhttps://www.home-assistant.io/dashboards/gauge/#red", "type": "string" } }, "additionalProperties": false, "required": ["color", "from"] }, "Severity": { "type": "object", "properties": { "green": { "description": "Value from which to start green color.\nhttps://www.home-assistant.io/lovelace/gauge/#green", "type": "number" }, "red": { "description": "Value from which to start red color.\nhttps://www.home-assistant.io/lovelace/gauge/#red", "type": "number" }, "yellow": { "description": "Value from which to start yellow color.\nhttps://www.home-assistant.io/lovelace/gauge/#yellow", "type": "number" } }, "additionalProperties": false }, "Schema_21": { "type": "object", "properties": { "type": { "description": "The Glance card is useful to group multiple sensors in a compact overview.\nhttps://www.home-assistant.io/lovelace/glance/", "type": "string", "const": "glance" }, "columns": { "type": "integer", "minimum": 0, "description": "Number of columns to show. If not specified the number will be set automatically.\nhttps://www.home-assistant.io/lovelace/glance/#columns" }, "entities": { "description": "A list of entity IDs or entity objects.\nhttps://www.home-assistant.io/lovelace/glance/#entities", "type": "array", "items": { "$ref": "#/definitions/Entity_3" } }, "show_icon": { "description": "Show entity icon.\nhttps://www.home-assistant.io/lovelace/glance/#show_icon", "type": "boolean" }, "show_name": { "description": "Show entity name.\nhttps://www.home-assistant.io/lovelace/glance/#show_name", "type": "boolean" }, "show_state": { "description": "Show entity state-text.\nhttps://www.home-assistant.io/lovelace/glance/#show_state", "type": "boolean" }, "state_color": { "description": "Set to true to have icons colored when entity is active.\nhttps://www.home-assistant.io/lovelace/glance/#state_color", "type": "boolean" }, "theme": { "description": "Set to any theme within themes.yaml.\nhttps://www.home-assistant.io/lovelace/glance/#theme", "type": "string" }, "title": { "description": "Card title.\nhttps://www.home-assistant.io/lovelace/glance/#theme", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["type"] }, "Entity_3": { "anyOf": [ { "type": "string", "pattern": "^.*..*$" }, { "$ref": "#/definitions/GlanceEntityConfig" } ] }, "GlanceEntityConfig": { "type": "object", "properties": { "double_tap_action": { "description": "Action taken on card double tap.\nhttps://www.home-assistant.io/lovelace/glance/#double_tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "hold_action": { "description": "Action taken on card tap and hold.\nhttps://www.home-assistant.io/lovelace/glance/#hold_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "image": { "description": "Overwrites entity picture.\nhttps://www.home-assistant.io/lovelace/glance/#image", "type": "string" }, "show_last_changed": { "description": "Overwrites the state display with the relative time since last changed.\nhttps://www.home-assistant.io/lovelace/glance/#show_last_changed", "type": "boolean" }, "show_state": { "description": "Show entity state-text.\nhttps://www.home-assistant.io/lovelace/glance/#show_state", "type": "boolean" }, "state_color": { "description": "Set to true to have icons colored when entity is active.\nhttps://www.home-assistant.io/lovelace/glance/#state_color", "type": "boolean" }, "tap_action": { "description": "Action taken on card tap.\nhttps://www.home-assistant.io/lovelace/glance/#tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "type": { "type": "string" }, "entity": { "pattern": "^.*..*$", "description": "Home Assistant entity ID.\nhttps://www.home-assistant.io/lovelace/entities/#entity", "type": "string" }, "name": { "description": "Overwrites friendly name.\nhttps://www.home-assistant.io/lovelace/entities/#name", "type": "string" }, "icon": { "description": "Overwrites icon or entity picture.\nhttps://www.home-assistant.io/lovelace/entities/#icon", "type": "string" } }, "additionalProperties": false, "required": ["entity"] }, "Schema_22": { "type": "object", "properties": { "type": { "description": "The Grid card allows you to show multiple cards in a grid. It will first fill the columns, automatically adding new rows as needed.\nhttps://www.home-assistant.io/lovelace/grid/", "type": "string", "const": "grid" }, "cards": { "description": "List of cards.\nhttps://www.home-assistant.io/lovelace/grid/#cards", "type": "array", "items": { "$ref": "#/definitions/Card" } }, "columns": { "type": "integer", "minimum": 0, "description": "Number of columns in the grid.\nhttps://www.home-assistant.io/lovelace/grid/#columns" }, "square": { "description": "Should the cards be shown square.\nhttps://www.home-assistant.io/lovelace/grid/#square", "type": "boolean" }, "title": { "description": "Title of Grid.\nhttps://www.home-assistant.io/lovelace/grid/#title", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["cards", "type"] }, "Schema_23": { "type": "object", "properties": { "type": { "description": "The History Graph card allows you to display a graph for each of the entities listed.\nhttps://www.home-assistant.io/lovelace/history-graph/", "type": "string", "const": "history-graph" }, "entities": { "description": "A list of entity IDs or entity objects.\nhttps://www.home-assistant.io/lovelace/history-graph/#entities", "type": "array", "items": { "$ref": "#/definitions/Entity_4" } }, "hours_to_show": { "type": "integer", "minimum": 0, "description": "Hours to show. Minimum is 1 hour, maximum of 80 hours.\nhttps://www.home-assistant.io/lovelace/history-graph/#hours_to_show" }, "refresh_interval": { "type": "integer", "minimum": 0, "description": "Refresh interval in seconds.\nhttps://www.home-assistant.io/lovelace/history-graph/#refresh_interval" }, "title": { "description": "The card title.\nhttps://www.home-assistant.io/lovelace/history-graph/#title", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["type"] }, "Entity_4": { "anyOf": [ { "type": "string", "pattern": "^.*..*$" }, { "$ref": "#/definitions/EntityConfig" } ] }, "Schema_24": { "type": "object", "properties": { "type": { "description": "The Horizontal Stack card allows you to stack together multiple cards, so they always sit next to each other in the space of one column\nhttps://www.home-assistant.io/lovelace/horizontal-stack/", "type": "string", "const": "horizontal-stack" }, "cards": { "description": "List of cards.\nhttps://www.home-assistant.io/lovelace/horizontal-stack/#cards", "type": "array", "items": { "$ref": "#/definitions/Card" } }, "title": { "description": "Title of Stack.\nhttps://www.home-assistant.io/lovelace/horizontal-stack/#title", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["cards", "type"] }, "Schema_25": { "type": "object", "properties": { "type": { "description": "The Humidifier card lets you control and monitor humidifiers, dehumidifiers, and hygrostat devices.\nhttps://www.home-assistant.io/lovelace/humidifier/", "type": "string", "const": "humidifier" }, "entity": { "pattern": "^humidifier..*$", "description": "Entity id of humidifier domain.\nhttps://www.home-assistant.io/lovelace/humidifier/#entity", "type": "string" }, "name": { "description": "Name of Entity.\nhttps://www.home-assistant.io/lovelace/humidifier/#name", "type": "string" }, "theme": { "description": "Set to any theme within themes.yaml.\nhttps://www.home-assistant.io/lovelace/humidifier/#theme", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["entity", "type"] }, "Schema_26": { "description": "Lovelace Webpage/iframe Card\nSources:\n - https://github.com/home-assistant/frontend/blob/dev/src/panels/lovelace/cards/hui-iframe-card.ts\n - https://github.com/home-assistant/frontend/blob/dev/src/panels/lovelace/cards/types.ts\n - https://github.com/home-assistant/frontend/blob/dev/src/data/lovelace.ts", "type": "object", "properties": { "type": { "description": "The Webpage card allows you to embed your favorite webpage right into Home Assistant.\nhttps://www.home-assistant.io/lovelace/iframe/", "type": "string", "const": "iframe" }, "aspect_ratio": { "description": "Height-width-ratio. Defaults to 50%.\nhttps://www.home-assistant.io/lovelace/iframe/#aspect_ratio", "type": "string" }, "title": { "description": "The card title.\nhttps://www.home-assistant.io/lovelace/iframe/#title", "type": "string" }, "url": { "description": "Website URL.\nhttps://www.home-assistant.io/lovelace/iframe/#url", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["type", "url"] }, "Schema_27": { "type": "object", "properties": { "type": { "description": "The Light card allows you to change the brightness of the light.\nhttps://www.home-assistant.io/lovelace/light/", "type": "string", "const": "light" }, "double_tap_action": { "description": "Action taken on card double tap.\nhttps://www.home-assistant.io/lovelace/light/#double_tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "entity": { "pattern": "^light..*$", "description": "Home Assistant Light Domain entity ID.\nhttps://www.home-assistant.io/lovelace/light/#entity", "type": "string" }, "hold_action": { "description": "Action taken on card tap and hold.\nhttps://www.home-assistant.io/lovelace/light/#hold_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "icon": { "description": "Overwrites icon.\nhttps://www.home-assistant.io/lovelace/light/#icon", "type": "string" }, "name": { "description": "Overwrites friendly name.\nhttps://www.home-assistant.io/lovelace/light/#name", "type": "string" }, "tap_action": { "description": "The action taken on card tap.\nhttps://www.home-assistant.io/lovelace/light/#tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "theme": { "description": "Set to any theme within themes.yaml.\nhttps://www.home-assistant.io/lovelace/light/#theme", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["entity", "type"] }, "Schema_28": { "type": "object", "properties": { "type": { "description": "The Logbook card displays entries from the logbook for specific entities.\nhttps://www.home-assistant.io/lovelace/logbook/", "type": "string", "const": "logbook" }, "entities": { "description": "The entities that will show in the card.\nhttps://www.home-assistant.io/lovelace/logbook/#entities", "type": "array", "items": { "type": "string", "pattern": "^.*..*$" } }, "hours_to_show": { "type": "integer", "minimum": 0, "description": "Number of hours in the past to track.\nhttps://www.home-assistant.io/lovelace/logbook/#hours_to_show" }, "theme": { "description": "Set to any theme within themes.yaml.\nhttps://www.home-assistant.io/lovelace/logbook/#theme", "type": "string" }, "title": { "description": "Title of the card.\nhttps://www.home-assistant.io/lovelace/logbook/#title", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["type"] }, "Schema_29": { "type": "object", "properties": { "type": { "description": "The Map card that allows you to display entities on a map.\nhttps://www.home-assistant.io/lovelace/map/", "type": "string", "const": "map" }, "entities": { "description": "List of entity IDs. Either this or the geo_location_sources configuration option is required.\nhttps://www.home-assistant.io/lovelace/map/#entities", "anyOf": [ { "type": "string", "pattern": "^.*..*$" }, { "$ref": "#/definitions/EntityConfig" }, { "type": "array", "items": { "$ref": "#/definitions/Entity_5" } } ] }, "geo_location_sources": { "description": "List of geolocation sources. All current entities with that source will be displayed on the map. See Geolocation platform for valid sources. Set to all to use all available sources. Either this or the entities configuration option is required.\nhttps://www.home-assistant.io/lovelace/map/#geo_location_sources", "type": "array", "items": { "$ref": "#/definitions/GeoLocationEntity" } }, "title": { "description": "The card title.\nhttps://www.home-assistant.io/lovelace/map/#title", "type": "string" }, "aspect_ratio": { "description": "Forces the height of the image to be a ratio of the width. You may enter a value such as: 16x9, 16:9, 1.78.\nhttps://www.home-assistant.io/lovelace/map/#aspect_ratio", "type": "string" }, "default_zoom": { "type": "integer", "minimum": 0, "description": "The default zoom level of the map.\nhttps://www.home-assistant.io/lovelace/map/#default_zoom" }, "dark_mode": { "description": "Enable a dark theme for the map.\nhttps://www.home-assistant.io/lovelace/map/#dark_mode", "type": "boolean" }, "hours_to_show": { "type": "integer", "minimum": 0, "description": "Shows a path of previous locations. Hours to show as path on the map.\nhttps://www.home-assistant.io/lovelace/map/#hours_to_show" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["type"] }, "Entity_5": { "anyOf": [ { "type": "string", "pattern": "^.*..*$" }, { "$ref": "#/definitions/EntityConfig" } ] }, "GeoLocationEntity": { "anyOf": [ { "type": "string", "pattern": "^geo_location..*$" }, { "const": "all", "type": "string" } ] }, "Schema_30": { "type": "object", "properties": { "type": { "description": "The Media Control card is used to display Media Player entities on an interface with easy to use controls.\nhttps://www.home-assistant.io/lovelace/media-control/", "type": "string", "const": "markdown" }, "content": { "description": "Content to render as Markdown. May contain templates.\nhttps://www.home-assistant.io/lovelace/markdown/#content", "type": "string" }, "title": { "description": "The card title.\nhttps://www.home-assistant.io/lovelace/markdown/#title", "type": "string" }, "card_size": { "type": "integer", "minimum": 0, "description": "The algorithm for placing cards aesthetically in Lovelace may have problems with the Markdown card if it contains templates. You can use this value to help it estimate the height of the card in units of 50 pixels (approximately 3 lines of text in default size). (e.g., 4).\nhttps://www.home-assistant.io/lovelace/markdown/#card_size" }, "entity_id": { "description": "A list of entity IDs so a template in content: only reacts to the state changes of these entities. This can be used if the automatic analysis fails to find all relevant entities.\nhttps://www.home-assistant.io/lovelace/markdown/#entity_id", "anyOf": [ { "type": "string", "pattern": "^.*..*$" }, { "type": "array", "items": { "type": "string", "pattern": "^.*..*$" } } ] }, "theme": { "description": "Set to any theme within themes.yaml.", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["content", "type"] }, "Schema_31": { "type": "object", "properties": { "type": { "description": "The Media Control card is used to display Media Player entities on an interface with easy to use controls.\nhttps://www.home-assistant.io/lovelace/media-control/", "type": "string", "const": "media-control" }, "entity": { "pattern": "^media_player..*$", "description": "A media player entity_id.\nhttps://www.home-assistant.io/lovelace/media-control/#entity", "type": "string" }, "name": { "description": "Overwrite friendly name.\nhttps://www.home-assistant.io/lovelace/media-control/#name", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["entity", "type"] }, "Schema_32": { "type": "object", "properties": { "type": { "description": "The Picture card allows you to set an image to use for navigation to various paths in your interface or to call a service.\nhttps://www.home-assistant.io/lovelace/picture/", "type": "string", "const": "picture" }, "double_tap_action": { "description": "Action taken on card double tap.\nhttps://www.home-assistant.io/lovelace/picture/#double_tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "hold_action": { "description": "Action taken on card tap and hold.\nhttps://www.home-assistant.io/lovelace/picture/#hold_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "image": { "description": "The URL of an image.\nhttps://www.home-assistant.io/lovelace/picture/#image", "type": "string" }, "tap_action": { "description": "The URL of an image.\nhttps://www.home-assistant.io/lovelace/picture/#tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "theme": { "description": "Set to any theme within themes.yaml.\nhttps://www.home-assistant.io/lovelace/picture/#theme", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["image", "type"] }, "Schema_33": { "type": "object", "properties": { "type": { "description": "The cards allow you to position icons or text and even services on an image based on coordinates. Imagine floor plan, imagine picture-glance with no restrictions!\nhttps://www.home-assistant.io/lovelace/picture-elements/", "type": "string", "const": "picture-elements" }, "camera_image": { "pattern": "^camera..*$", "description": "A camera entity.\nhttps://www.home-assistant.io/lovelace/picture-elements/#camer_image", "type": "string" }, "camera_view": { "description": "“live” will show the live view if stream is enabled.\nhttps://www.home-assistant.io/lovelace/picture-elements/#camera_view", "enum": ["auto", "live"], "type": "string" }, "dark_mode_filter": { "description": "This CSS filter is used when the dark mode is activated.\nhttps://www.home-assistant.io/lovelace/picture-elements/#dark_mode_filter", "type": "string" }, "dark_mode_image": { "description": "This image is used when the dark mode is activated and no state image is set.\nhttps://www.home-assistant.io/lovelace/picture-elements/#dark_mode_image", "type": "string" }, "elements": { "description": "List of elements.\nhttps://www.home-assistant.io/lovelace/picture-elements/#elements", "type": "array", "items": { "$ref": "#/definitions/Element" } }, "image": { "description": "The URL of an image.\nhttps://www.home-assistant.io/lovelace/picture-elements/#image", "type": "string" }, "state_filter": { "description": "State-based CSS filters.\nhttps://www.home-assistant.io/lovelace/picture-elements/#state_filter", "type": "object", "additionalProperties": { "type": "string" } }, "theme": { "description": "Set to any theme within themes.yaml.\nhttps://www.home-assistant.io/lovelace/picture-elements/#theme", "type": "string" }, "title": { "description": "Card title.\nhttps://www.home-assistant.io/lovelace/picture-elements/#title", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["elements", "image", "type"] }, "Element": { "anyOf": [ { "$ref": "#/definitions/ConditionalElement" }, { "$ref": "#/definitions/CustomElement" }, { "$ref": "#/definitions/IconElement" }, { "$ref": "#/definitions/ImageElement" }, { "$ref": "#/definitions/ServiceButtonElement" }, { "$ref": "#/definitions/StateBadgeElement" }, { "$ref": "#/definitions/StateIconElement" }, { "$ref": "#/definitions/StateLabelElement" } ] }, "ConditionalElement": { "type": "object", "properties": { "type": { "description": "Much like the Conditional card, this element will let you show its sub-elements based on entity states.\nhttps://www.home-assistant.io/lovelace/picture-elements/#conditional-element", "type": "string", "const": "conditional" }, "conditions": { "description": "List of entity IDs and matching states.\nhttps://www.home-assistant.io/lovelace/picture-elements/#conditions", "type": "array", "items": { "$ref": "#/definitions/Condition" } }, "elements": { "description": "One or more elements of any type to show when conditions are met.", "type": "array", "items": { "$ref": "#/definitions/Element" } } }, "additionalProperties": false, "required": ["conditions", "elements", "type"] }, "CustomElement": { "additionalProperties": true, "type": "object", "properties": { "type": { "description": "This is a custom element.", "pattern": "custom:(.*)$", "type": "string" } }, "required": ["type"] }, "IconElement": { "type": "object", "properties": { "type": { "description": "This element creates a static icon that is not linked to the state of an entity.\nhttps://www.home-assistant.io/lovelace/picture-elements/#icon-element", "type": "string", "const": "icon" }, "double_tap_action": { "description": "Action taken on card double tap.\nhttps://www.home-assistant.io/lovelace/picture-elements/#double_tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "entity": { "pattern": "^.*..*$", "description": "Entity to use for more-info/toggle.\nhttps://www.home-assistant.io/lovelace/picture-elements/#entity", "type": "string" }, "hold_action": { "description": "Action taken on card tap and hold..\nhttps://www.home-assistant.io/lovelace/picture-elements/#hold_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "icon": { "description": "Icon to display (e.g., mdi:home).\nhttps://www.home-assistant.io/lovelace/picture-elements/#icon", "type": "string" }, "style": { "description": "Position and style the element using CSS.\nhttps://www.home-assistant.io/lovelace/picture-elements/#style", "type": "object", "additionalProperties": {} }, "tap_action": { "description": "Action taken on card tap.\nhttps://www.home-assistant.io/lovelace/picture-elements/#tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] } }, "additionalProperties": false, "required": ["icon", "style", "type"] }, "ImageElement": { "type": "object", "properties": { "type": { "description": "This creates an image element that overlays the background image.\nhttps://www.home-assistant.io/lovelace/picture-elements/#image-element", "type": "string", "const": "image" }, "aspect_ratio": { "description": "Height-width-ratio. Defaults to 50%.\nhttps://www.home-assistant.io/lovelace/picture-elements/#aspect_ratio", "type": "string" }, "camera_image": { "pattern": "^camera..*$", "description": "A camera entity.\nhttps://www.home-assistant.io/lovelace/picture-elements/#camera_image", "type": "string" }, "double_tap_action": { "description": "Action taken on card double tap.\nhttps://www.home-assistant.io/lovelace/picture-elements/#double_tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "entity": { "pattern": "^.*..*$", "description": "Entity to use for state_image and state_filter and also target for actions.\nhttps://www.home-assistant.io/lovelace/picture-elements/#entity", "type": "string" }, "filter": { "description": "Default CSS filter.\nhttps://www.home-assistant.io/lovelace/picture-elements/#filter", "type": "string" }, "hold_action": { "description": "Action taken on card tap and hold.\nhttps://www.home-assistant.io/lovelace/picture-elements/#hold_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "image": { "description": "The image to display.\nhttps://www.home-assistant.io/lovelace/picture-elements/#image", "type": "string" }, "state_filter": { "description": "State-based CSS filters.\nhttps://www.home-assistant.io/lovelace/picture-elements/#how-to-use-state_filter", "type": "object", "additionalProperties": { "type": "string" } }, "state_image": { "description": "Specify a different image to display based on the state of the entity.\nhttps://www.home-assistant.io/lovelace/picture-elements/#how-to-use-state_image", "type": "object", "additionalProperties": { "type": "string" } }, "style": { "description": "Position and style the element using CSS.\nhttps://www.home-assistant.io/lovelace/picture-elements/#style", "type": "object", "additionalProperties": {} }, "tap_action": { "description": "Action taken on card tap.\nhttps://www.home-assistant.io/lovelace/picture-elements/#tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] } }, "additionalProperties": false, "required": ["style", "type"] }, "ServiceButtonElement": { "type": "object", "properties": { "type": { "description": "This entity creates a button (with arbitrary text) that can be used to call a service.\nhttps://www.home-assistant.io/lovelace/picture-elements/#service-call-button", "type": "string", "const": "service-button" }, "service": { "description": "The Home Assistant service to call.\nhttps://www.home-assistant.io/lovelace/picture-elements/#service", "type": "string" }, "service_data": { "description": "The service data to pass into the service call.\nhttps://www.home-assistant.io/lovelace/picture-elements/#service_data", "type": "object", "additionalProperties": {} }, "style": { "description": "Position and style the element using CSS.\nhttps://www.home-assistant.io/lovelace/picture-elements/#style", "type": "object", "additionalProperties": {} }, "title": { "description": "Button label.\nhttps://www.home-assistant.io/lovelace/picture-elements/#title", "type": "string" } }, "additionalProperties": false, "required": ["service", "style", "title", "type"] }, "StateBadgeElement": { "type": "object", "properties": { "type": { "description": "This element creates a badge representing the state of an entity.\nhttps://www.home-assistant.io/lovelace/picture-elements/#state-badge", "type": "string", "const": "state-badge" }, "double_tap_action": { "description": "Action taken on card double tap.\nhttps://www.home-assistant.io/lovelace/picture-elements/#double_tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "entity": { "pattern": "^.*..*$", "description": "Entity id.\nhttps://www.home-assistant.io/lovelace/picture-elements/#entity", "type": "string" }, "hold_action": { "description": "Action taken on card tap and hold..\nhttps://www.home-assistant.io/lovelace/picture-elements/#hold_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "style": { "description": "Position and style the element using CSS.\nhttps://www.home-assistant.io/lovelace/picture-elements/#style", "type": "object", "additionalProperties": {} }, "tap_action": { "description": "Action taken on card tap.\nhttps://www.home-assistant.io/lovelace/picture-elements/#tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "title": { "description": "State badge tooltip. Set to null to hide.\nhttps://www.home-assistant.io/lovelace/picture-elements/#title", "type": "string" } }, "additionalProperties": false, "required": ["entity", "style", "type"] }, "StateIconElement": { "type": "object", "properties": { "type": { "description": "This element represents an entity state using an icon.\nhttps://www.home-assistant.io/lovelace/picture-elements/#state-icon", "type": "string", "const": "state-icon" }, "entity": { "pattern": "^.*..*$", "description": "The entity id to use.\nhttps://www.home-assistant.io/lovelace/picture-elements/#entity", "type": "string" }, "double_tap_action": { "description": "Action taken on card double tap.\nhttps://www.home-assistant.io/lovelace/picture-elements/#double_tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "hold_action": { "description": "Action taken on card tap and hold..\nhttps://www.home-assistant.io/lovelace/picture-elements/#hold_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "icon": { "description": "Overwrites icon.\nhttps://www.home-assistant.io/lovelace/picture-elements/#icon", "type": "string" }, "state_color": { "description": "Set to true to have icons colored when entity is active\nhttps://www.home-assistant.io/lovelace/picture-elements/#state_color", "type": "boolean" }, "style": { "description": "Position and style the element using CSS.\nhttps://www.home-assistant.io/lovelace/picture-elements/#style", "type": "object", "additionalProperties": {} }, "tap_action": { "description": "Action taken on card tap.\nhttps://www.home-assistant.io/lovelace/picture-elements/#tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "title": { "description": "State badge tooltip. Set to null to hide.\nhttps://www.home-assistant.io/lovelace/picture-elements/#title", "type": "string" } }, "additionalProperties": false, "required": ["entity", "style", "type"] }, "StateLabelElement": { "type": "object", "properties": { "type": { "description": "This element represents an entity’s state via text.\nhttps://www.home-assistant.io/lovelace/picture-elements/#state-label", "type": "string", "const": "state-label" }, "entity": { "pattern": "^.*..*$", "description": "Entity id,\nhttps://www.home-assistant.io/lovelace/picture-elements/#entity", "type": "string" }, "attribute": { "description": "If present, the corresponding attribute will be shown, instead of the entity’s state.\nhttps://www.home-assistant.io/lovelace/picture-elements/#attribute", "type": "string" }, "double_tap_action": { "description": "Action taken on card double tap.\nhttps://www.home-assistant.io/lovelace/picture-elements/#double_tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "hold_action": { "description": "Action taken on card tap and hold..\nhttps://www.home-assistant.io/lovelace/picture-elements/#hold_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "prefix": { "description": "Text before entity state.\nhttps://www.home-assistant.io/lovelace/picture-elements/#prefix", "type": "string" }, "suffix": { "description": "Text after entity state.\nhttps://www.home-assistant.io/lovelace/picture-elements/#suffix", "type": "string" }, "style": { "description": "Position and style the element using CSS.\nhttps://www.home-assistant.io/lovelace/picture-elements/#style", "type": "object", "additionalProperties": {} }, "tap_action": { "description": "Action taken on card tap.\nhttps://www.home-assistant.io/lovelace/picture-elements/#tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "title": { "description": "State badge tooltip. Set to null to hide.\nhttps://www.home-assistant.io/lovelace/picture-elements/#title", "type": "string" } }, "additionalProperties": false, "required": ["entity", "style", "type"] }, "Schema_34": { "type": "object", "properties": { "type": { "description": "The Picture Entity card displays an entity in the form of an image. Instead of images from URL, it can also show the picture of camera entities.\nhttps://www.home-assistant.io/lovelace/picture-entity/", "type": "string", "const": "picture-entity" }, "aspect_ratio": { "description": "Forces the height of the image to be a ratio of the width. You may enter a value such as: 16x9, 16:9, 1.78.\nhttps://www.home-assistant.io/lovelace/picture-entity/#aspect_ratio", "type": "string" }, "camera_image": { "pattern": "^camera..*$", "description": "Camera entity_id to use. (not required if entity is already a camera-entity).\nhttps://www.home-assistant.io/lovelace/picture-entity/#camera_image", "type": "string" }, "camera_view": { "description": "“live” will show the live view if stream is enabled.\nhttps://www.home-assistant.io/lovelace/picture-entity/#camera_view", "enum": ["auto", "live"], "type": "string" }, "double_tap_action": { "description": "Action taken on card double tap.\nhttps://www.home-assistant.io/lovelace/picture-entity/#double_tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "entity": { "pattern": "^.*..*$", "description": "An entity_id used for the picture.\nhttps://www.home-assistant.io/lovelace/picture-entity/#entity", "type": "string" }, "hold_action": { "description": "Action taken on card tap and hold.\nhttps://www.home-assistant.io/lovelace/picture-entity/#hold_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "image": { "description": "URL of an image.\nhttps://www.home-assistant.io/lovelace/picture-entity/#image", "type": "string" }, "name": { "description": "Overwrite entity name.\nhttps://www.home-assistant.io/lovelace/picture-entity/#name", "type": "string" }, "show_name": { "description": "Shows name in footer.\nhttps://www.home-assistant.io/lovelace/picture-entity/#show_name", "type": "boolean" }, "show_state": { "description": "Shows state in footer.\nhttps://www.home-assistant.io/lovelace/picture-entity/#show_state", "type": "boolean" }, "state_filter": { "description": "State-based CSS filters.\nhttps://www.home-assistant.io/lovelace/picture-entity/#how-to-use-state_filter", "type": "object", "additionalProperties": { "type": "string" } }, "state_image": { "description": "Map entity states to images (state: image URL)\nhttps://www.home-assistant.io/lovelace/picture-entity/#state_image", "type": "object", "additionalProperties": { "type": "string" } }, "tap_action": { "description": "Action taken on card tap.\nhttps://www.home-assistant.io/lovelace/picture-entity/#tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "theme": { "description": "Set to any theme within themes.yaml.\nhttps://www.home-assistant.io/lovelace/picture-entity/#theme", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["entity", "type"] }, "Schema_35": { "type": "object", "properties": { "type": { "description": "The Picture Glance card shows an image and corresponding entity states as an icon. The entities on the right side allow toggle actions, others show the more information dialog.\nhttps://www.home-assistant.io/lovelace/picture-glance/", "type": "string", "const": "picture-glance" }, "aspect_ratio": { "description": "Forces the height of the image to be a ratio of the width. You may enter a value such as: 16x9, 16:9, 1.78.\nhttps://www.home-assistant.io/lovelace/picture-glance/#aspect_ratio", "type": "string" }, "camera_image": { "pattern": "^camera..*$", "description": "Camera entity as Background image.\nhttps://www.home-assistant.io/lovelace/picture-glance/#camera_image", "type": "string" }, "camera_view": { "description": "“live” will show the live view if stream is enabled.\nhttps://www.home-assistant.io/lovelace/picture-glance/#camera_view", "enum": ["auto", "live"], "type": "string" }, "double_tap_action": { "description": "Action taken on card double tap.\nhttps://www.home-assistant.io/lovelace/picture-glance/#double_tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "entities": { "description": "List of entities or entity objects.\nhttps://www.home-assistant.io/lovelace/picture-glance/#entities", "type": "array", "items": { "$ref": "#/definitions/Entity_6" } }, "entity": { "pattern": "^.*..*$", "description": "Entity to use for state_image and state_filter.\nhttps://www.home-assistant.io/lovelace/picture-glance/#entity", "type": "string" }, "hold_action": { "description": "Action taken on card tap and hold.\nhttps://www.home-assistant.io/lovelace/picture-glance/#hold_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "image": { "description": "Background image URL.\nhttps://www.home-assistant.io/lovelace/picture-glance/#image", "type": "string" }, "show_state": { "description": "Show entity state-text.\nhttps://www.home-assistant.io/lovelace/picture-glance/#show_state", "type": "boolean" }, "state_filter": { "description": "State-based CSS filters.\nhttps://www.home-assistant.io/lovelace/picture-glance/#how-to-use-state_filter", "type": "object", "additionalProperties": { "type": "string" } }, "state_image": { "description": "Background image based on entity state.\nhttps://www.home-assistant.io/lovelace/picture-glance/#state_image", "type": "object", "additionalProperties": { "type": "string" } }, "tap_action": { "description": "Action taken on card tap.\nhttps://www.home-assistant.io/lovelace/picture-glance/#tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "theme": { "description": "Set to any theme within themes.yaml.\nhttps://www.home-assistant.io/lovelace/picture-glance/#theme", "type": "string" }, "title": { "description": "The card title.\nhttps://www.home-assistant.io/lovelace/picture-glance/#title", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["entities", "type"] }, "Entity_6": { "anyOf": [ { "type": "string", "pattern": "^.*..*$" }, { "$ref": "#/definitions/PictureGlanceEntityConfig" } ] }, "PictureGlanceEntityConfig": { "type": "object", "properties": { "attribute": { "description": "Attribute of the entity to display instead of the state.\nhttps://www.home-assistant.io/lovelace/picture-glance/#attribute", "type": "string" }, "double_tap_action": { "description": "Action taken on card double tap.\nhttps://www.home-assistant.io/lovelace/picture-glance/#double_tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "hold_action": { "description": "Action taken on card tap and hold.\nhttps://www.home-assistant.io/lovelace/picture-glance/#hold_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "prefix": { "description": "Prefix to display before the attribute’s value.\nhttps://www.home-assistant.io/lovelace/picture-glance/#prefix", "type": "string" }, "show_state": { "description": "Show entity state-text.\nhttps://www.home-assistant.io/lovelace/picture-glance/#show_state", "type": "boolean" }, "suffix": { "description": "Suffix to display after the attribute’s value.\nhttps://www.home-assistant.io/lovelace/picture-glance/#suffix", "type": "string" }, "tap_action": { "description": "Action taken on card tap.\nhttps://www.home-assistant.io/lovelace/picture-glance/#tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "type": { "type": "string" }, "entity": { "pattern": "^.*..*$", "description": "Home Assistant entity ID.\nhttps://www.home-assistant.io/lovelace/entities/#entity", "type": "string" }, "name": { "description": "Overwrites friendly name.\nhttps://www.home-assistant.io/lovelace/entities/#name", "type": "string" }, "icon": { "description": "Overwrites icon or entity picture.\nhttps://www.home-assistant.io/lovelace/entities/#icon", "type": "string" }, "image": { "description": "Overwrites entity picture.\nhttps://www.home-assistant.io/lovelace/entities/#image", "type": "string" } }, "additionalProperties": false, "required": ["entity"] }, "Schema_36": { "type": "object", "properties": { "type": { "description": "The Plant Status card is for all the lovely botanists out there.\nhttps://www.home-assistant.io/lovelace/plant-status/", "type": "string", "const": "plant-status" }, "entity": { "pattern": "^plant..*$", "description": "Entity id of plant domain.\nhttps://www.home-assistant.io/lovelace/plant-status/#entity", "type": "string" }, "name": { "description": "Overwrites Friendly Name.\nhttps://www.home-assistant.io/lovelace/plant-status/#name", "type": "string" }, "theme": { "description": "Set to any theme within themes.yaml.\nhttps://www.home-assistant.io/lovelace/plant-status/#theme", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["entity", "type"] }, "Schema_37": { "type": "object", "properties": { "type": { "description": "The Sensor card gives you a quick overview of your sensors state with an optional graph to visualize change over time.\nhttps://www.home-assistant.io/lovelace/sensor/", "type": "string", "const": "sensor" }, "detail": { "description": "Detail of the graph 1 or 2, 1 equals one point/hour, 2 equals six points/hour.\nhttps://www.home-assistant.io/lovelace/sensor/#detail", "enum": [1, 2], "type": "number" }, "entity": { "pattern": "^sensor..*$", "description": "Entity id of sensor domain.\nhttps://www.home-assistant.io/lovelace/sensor/#entity", "type": "string" }, "graph": { "description": "Type of graph none or line.\nhttps://www.home-assistant.io/lovelace/sensor/#graph", "enum": ["line", "none"], "type": "string" }, "hours_to_show": { "type": "integer", "minimum": 0, "description": "Hours to show in graph.\nhttps://www.home-assistant.io/lovelace/sensor/#entity" }, "icon": { "description": "The card icon.\nhttps://www.home-assistant.io/lovelace/sensor/#icon", "type": "string" }, "limits": { "description": "Limits of the graph Y-axis.\nhttps://www.home-assistant.io/lovelace/sensor/#limits", "type": "object", "properties": { "min": { "description": "Minimum value of the graph Y-axis.\nhttps://www.home-assistant.io/lovelace/sensor/#min", "type": "number" }, "max": { "description": "Maximum value of the graph Y-axis.\nhttps://www.home-assistant.io/lovelace/sensor/#max", "type": "number" } }, "additionalProperties": false }, "name": { "description": "The card name.\nhttps://www.home-assistant.io/lovelace/sensor/#name", "type": "string" }, "theme": { "description": "Set to any theme within themes.yaml.\nhttps://www.home-assistant.io/lovelace/sensor/#theme", "type": "string" }, "unit": { "description": "The unit of measurement.\nhttps://www.home-assistant.io/lovelace/sensor/#unit", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["entity", "type"] }, "Schema_38": { "type": "object", "properties": { "type": { "description": "The Shopping List card allows you to add, edit, check-off, and clear items from your shopping list.\nhttps://www.home-assistant.io/lovelace/shopping-list/", "type": "string", "const": "shopping-list" }, "theme": { "description": "Set to any theme within themes.yaml.\nhttps://www.home-assistant.io/lovelace/shopping-list/#theme", "type": "string" }, "title": { "description": "Title of Shopping List.\nhttps://www.home-assistant.io/lovelace/shopping-list/#title", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["type"] }, "Schema_39": { "type": "object", "properties": { "type": { "description": "The Statistics Graph card allows you to display a graph of statistics data for each of the entities listed.\nhttps://www.home-assistant.io/lovelace/statistics-graph/", "type": "string", "const": "statistics-graph" }, "entities": { "description": "A list of entity IDs or entity objects.\nhttps://www.home-assistant.io/lovelace/statistics-graph/#entities", "type": "array", "items": { "$ref": "#/definitions/Entity_7" } }, "chart_type": { "description": "If the chart should be rendered as a bar or a line chart.\nhttps://www.home-assistant.io/lovelace/statistics-graph/#chart_type", "enum": ["bar", "line"], "type": "string" }, "days_to_show": { "type": "integer", "minimum": 0, "description": "Days to show in graph. Minimum is 1 day.\nhttps://www.home-assistant.io/lovelace/statistics-graph/#days_to_show" }, "period": { "description": "The period of the rendered graph.\nhttps://www.home-assistant.io/lovelace/statistics-graph/#period", "enum": ["5minute", "day", "hour", "month"], "type": "string" }, "stat_types": { "description": "The stat types to render. min, max, mean, sum.\nhttps://www.home-assistant.io/lovelace/statistics-graph/#stat_types", "anyOf": [ { "type": "array", "items": { "$ref": "#/definitions/StatType" } }, { "enum": ["max", "mean", "min", "sum"], "type": "string" } ] }, "title": { "description": "The card title.\nhttps://www.home-assistant.io/lovelace/statistics-graph/#title", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["entities", "type"] }, "Entity_7": { "anyOf": [ { "type": "string", "pattern": "^.*..*$" }, { "$ref": "#/definitions/EntityConfig" } ] }, "StatType": { "enum": ["max", "mean", "min", "sum"], "type": "string" }, "Schema_40": { "type": "object", "properties": { "type": { "description": "The Thermostat card gives control of your climate entity, allowing you to change the temperature and mode of the entity.\nhttps://www.home-assistant.io/lovelace/thermostat/", "type": "string", "const": "thermostat" }, "entity": { "pattern": "^climate..*$", "description": "Entity id of climate domain.\nhttps://www.home-assistant.io/lovelace/thermostat/#entity", "type": "string" }, "name": { "description": "Overwrites friendly name.\nhttps://www.home-assistant.io/lovelace/thermostat/#name", "type": "string" }, "theme": { "description": "Set to any theme within themes.yaml.\nhttps://www.home-assistant.io/lovelace/thermostat/#theme", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["entity", "type"] }, "Schema_41": { "type": "object", "properties": { "type": { "description": "The tile card gives you a quick overview of your entity. The card allows you to toggle the entity and show the more info dialog.\nhttps://www.home-assistant.io/dashboards/tile/", "type": "string", "const": "tile" }, "color": { "description": "Set the color when the entity is active. By default, the color is based on state, domain, and device_class of your entity. It accepts color token or hex color code.\nhttps://www.home-assistant.io/dashboards/tile/#color", "type": "string" }, "entity": { "pattern": "^.*..*$", "description": "Entity to show in the tile card\nhttps://www.home-assistant.io/dashboards/tile/#entity", "type": "string" }, "features": { "type": "array", "items": { "$ref": "#/definitions/TileFeatures" } }, "icon": { "description": "Overwrites icon.\nhttps://www.home-assistant.io/dashboards/tile/#icon", "type": "string" }, "icon_tap_action": { "description": "Action taken on icon card tap. By default, it will toggle the entity (if possible), otherwise, show the “more-info” dialog.\nhttps://www.home-assistant.io/dashboards/tile/#icon_tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] }, "name": { "description": "Overwrites friendly name.\nhttps://www.home-assistant.io/dashboards/tile/#name", "type": "string" }, "show_entity_picture": { "description": "If your entity has a picture, it will replace the icon.\nttps://www.home-assistant.io/dashboards/tile/#show_entity_picture", "type": "boolean" }, "tap_action": { "description": "Action taken on card tap. By default, it will show the “more-info” dialog.\nhttps://www.home-assistant.io/dashboards/tile/#tap_action", "anyOf": [ { "type": "string", "pattern": "^!include .*.yaml$" }, { "type": "string", "pattern": "^!include .*.yml$" }, { "type": "string", "pattern": "^!include\r.*.yaml$" }, { "type": "string", "pattern": "^!include\r.*.yml$" }, { "type": "string", "pattern": "^!include\n.*.yaml$" }, { "type": "string", "pattern": "^!include\n.*.yml$" }, { "type": "string", "pattern": "^!include\t.*.yaml$" }, { "type": "string", "pattern": "^!include\t.*.yml$" }, { "type": "string", "pattern": "^!include\f.*.yaml$" }, { "type": "string", "pattern": "^!include\f.*.yml$" }, { "type": "string", "pattern": "^!include\u000b.*.yaml$" }, { "type": "string", "pattern": "^!include\u000b.*.yml$" }, { "$ref": "#/definitions/CallServiceAction" }, { "$ref": "#/definitions/CustomAction" }, { "$ref": "#/definitions/MoreInfoAction" }, { "$ref": "#/definitions/NavigateAction" }, { "$ref": "#/definitions/NoneAction" }, { "$ref": "#/definitions/PerformActionAction" }, { "$ref": "#/definitions/ToggleAction" }, { "$ref": "#/definitions/URLAction" } ] } }, "additionalProperties": false, "required": ["entity", "type"] }, "TileFeatures": { "anyOf": [ { "$ref": "#/definitions/CoverOpenCloseFeature" }, { "$ref": "#/definitions/CoverTiltFeature" }, { "$ref": "#/definitions/LightBrightnessFeature" }, { "$ref": "#/definitions/VacuumCommandsFeature" } ] }, "CoverOpenCloseFeature": { "type": "object", "properties": { "type": { "description": "Widget that display buttons to open, close or stop a cover.\nhttps://www.home-assistant.io/dashboards/tile/#cover-openclose", "type": "string", "const": "cover-open-close" } }, "additionalProperties": false, "required": ["type"] }, "CoverTiltFeature": { "type": "object", "properties": { "type": { "description": "Widget that display buttons to open, close or stop a cover.\nhttps://www.home-assistant.io/dashboards/tile/#cover-tilt", "type": "string", "const": "cover-tilt" } }, "additionalProperties": false, "required": ["type"] }, "LightBrightnessFeature": { "type": "object", "properties": { "type": { "description": "Widget that display a slider to select the brightness for a light.\nhttps://www.home-assistant.io/dashboards/tile/#light-brightness", "type": "string", "const": "light-brightness" } }, "additionalProperties": false, "required": ["type"] }, "VacuumCommandsFeature": { "type": "object", "properties": { "type": { "description": "Widget that display buttons to control a vacuum.\nhttps://www.home-assistant.io/dashboards/tile/#vacuum-commands", "type": "string", "const": "vacuum-commands" }, "commands": { "description": "List of commands to show on the card.\nhttps://www.home-assistant.io/dashboards/tile/#commands", "type": "array", "items": { "$ref": "#/definitions/VacuumCommands" } } }, "additionalProperties": false, "required": ["commands", "type"] }, "VacuumCommands": { "enum": ["clean_spot", "locate", "return_home", "start_pause", "stop"], "type": "string" }, "Schema_42": { "type": "object", "properties": { "type": { "description": "The Vertical Stack card allows you to group multiple cards so they always sit in the same column.\nhttps://www.home-assistant.io/lovelace/vertical-stack/", "type": "string", "const": "vertical-stack" }, "cards": { "description": "List of cards.\nhttps://www.home-assistant.io/lovelace/vertical-stack/#cards", "type": "array", "items": { "$ref": "#/definitions/Card" } }, "title": { "description": "Title of Stack.\nhttps://www.home-assistant.io/lovelace/vertical-stack/#title", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["cards", "type"] }, "Schema_43": { "type": "object", "properties": { "type": { "description": "The Weather Forecast card displays the weather. Very useful to include on interfaces that people display on the wall.\nhttps://www.home-assistant.io/lovelace/weather-forecast/", "type": "string", "const": "weather-forecast" }, "entity": { "pattern": "^weather..*$", "description": "The entity_id of the weather platform to use.\nhttps://www.home-assistant.io/lovelace/weather-forecast/#entity", "type": "string" }, "name": { "description": "Overwrites the friendly name.\nhttps://www.home-assistant.io/lovelace/weather-forecast/#name", "type": "string" }, "show_forecast": { "description": "Show next hours/days forecast.\nhttps://www.home-assistant.io/lovelace/weather-forecast/#show_forecast", "type": "boolean" }, "secondary_info_attribute": { "description": "Which attribute to display under the temperature.\nhttps://www.home-assistant.io/lovelace/weather-forecast/#secondary_info_attribute", "type": "string" }, "theme": { "description": "Set to any theme within themes.yaml.\nhttps://www.home-assistant.io/lovelace/weather-forecast/#theme", "type": "string" }, "view_layout": { "additionalProperties": true, "description": "Layout options for the view this card is in", "$ref": "#/definitions/ViewLayout" } }, "additionalProperties": false, "required": ["entity", "type"] } }, "$schema": "http://json-schema.org/draft-07/schema#" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/oleander/home-assistant-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server