{
  "widget": {
    "typeFullFqn": "system.cards.markdown_card",
    "type": "latest",
    "sizeX": 5,
    "sizeY": 3.5,
    "config": {
      "datasources": [
        {
          "type": "device",
          "name": "",
          "deviceId": "c585c8c0-3a2b-11f1-95af-8d736c9fe8db",
          "dataKeys": [
            {
              "name": "temperature",
              "type": "timeseries",
              "label": "temperature",
              "color": "#2196f3",
              "settings": {}
            }
          ],
          "alarmFilterConfig": {
            "statusList": [
              "ACTIVE"
            ]
          }
        }
      ],
      "showTitle": false,
      "backgroundColor": "#fff",
      "color": "rgba(0, 0, 0, 0.87)",
      "padding": "0px",
      "settings": {
        "useMarkdownTextFunction": false,
        "markdownTextPattern": "### Temperature value card\n- **Current entity**: ${entityName}\n- **Current temperature**: ${temperature:1} °C",
        "markdownTextFunction": "console.log(data)\nconst entity = data[0];\nconst color = entity.temperature > 25 ? \"red\" : entity.temperature > 20 ? 'green' : 'blue'\nconst entityName = `### Temperature value card\\n - Current entity: <span >${entity.entityName}</span>\\n `\nconst temp = `- <div id=\"temperature\">Current temperature: <span style=\"color:${color};\">${entity.temperature.toFixed(1)}</span></div>\\n `\nreturn entityName + temp;",
        "applyDefaultMarkdownStyle": true,
        "markdownCss": ""
      },
      "title": "Temperature value card",
      "showTitleIcon": false,
      "iconColor": "rgba(0, 0, 0, 0.87)",
      "iconSize": "24px",
      "titleTooltip": "",
      "dropShadow": true,
      "enableFullscreen": false,
      "widgetStyle": {},
      "titleStyle": {
        "fontSize": "16px",
        "fontWeight": 400
      },
      "showLegend": false,
      "enableDataExport": false,
      "widgetCss": "",
      "pageSize": 1024,
      "noDataDisplayMessage": "",
      "actions": {
        "elementClick": [
          {
            "name": "temperature",
            "icon": "more_horiz",
            "useShowWidgetActionFunction": null,
            "showWidgetActionFunction": "return true;",
            "type": "openDashboardState",
            "targetDashboardStateId": "temperature",
            "setEntityId": true,
            "stateEntityParamName": null,
            "openRightLayout": false,
            "openInSeparateDialog": false,
            "openInPopover": false,
            "id": "e5b0b8ed-0dbd-69d6-8284-894d8ee1689f"
          }
        ]
      }
    },
    "row": 0,
    "col": 0,
    "id": "83fa54f8-54d7-b235-e848-3a81b1076c40"
  },
  "aliasesInfo": {
    "datasourceAliases": {},
    "targetDeviceAlias": null
  },
  "filtersInfo": {
    "datasourceFilters": {}
  },
  "originalSize": {
    "sizeX": 9,
    "sizeY": 5
  },
  "originalColumns": 24
}