{
  "widget": {
    "typeFullFqn": "system.cards.html_value_card",
    "type": "latest",
    "sizeX": 7.5,
    "sizeY": 3,
    "config": {
      "datasources": [
        {
          "type": "entityCount",
          "name": "",
          "entityAliasId": "989c6591-826d-497d-20d3-30467735b722",
          "filterId": "4e2fb991-b4d2-29f2-3836-f1e3796a3fb6",
          "dataKeys": [
            {
              "name": "count",
              "type": "count",
              "label": "activeDevicesNumber",
              "color": "#2196f3",
              "settings": {},
              "_hash": 0.37975537801781,
              "aggregationType": null,
              "units": null,
              "decimals": null,
              "funcBody": null,
              "usePostProcessing": null,
              "postFuncBody": null
            }
          ],
          "alarmFilterConfig": {
            "statusList": [
              "ACTIVE"
            ]
          }
        }
      ],
      "timewindow": {
        "displayValue": "",
        "selectedTab": 0,
        "realtime": {
          "realtimeType": 1,
          "interval": 1000,
          "timewindowMs": 60000,
          "quickInterval": "CURRENT_DAY",
          "hideInterval": false,
          "hideLastInterval": false,
          "hideQuickInterval": false
        },
        "history": {
          "historyType": 0,
          "interval": 1000,
          "timewindowMs": 60000,
          "fixedTimewindow": {
            "startTimeMs": 1760606152348,
            "endTimeMs": 1760692552348
          },
          "quickInterval": "CURRENT_DAY",
          "hideInterval": false,
          "hideLastInterval": false,
          "hideFixedInterval": false,
          "hideQuickInterval": false
        },
        "aggregation": {
          "type": "AVG",
          "limit": 25000
        }
      },
      "showTitle": false,
      "backgroundColor": "#FFFFFF00",
      "color": "rgba(0, 0, 0, 0.87)",
      "padding": "0px",
      "settings": {
        "cardHtml": "<div class='card' id=\"activeDevices\">\n    <div class='content'>\n        <div class='value'>\n            ${activeDevicesNumber:0}\n        </div> \n        <div class='description'>\n            Active devices\n        </div>\n    </div>\n</div>\n",
        "cardCss": ".card {\n   width: 100%;\n   height: 100%;\n   border: 1px solid #E0E0E0;\n   border-radius: 16px;\n   box-sizing: border-box;\n   background: #ffffff;\n}\n\n.card .content {\n   padding: 24px 32px;\n   display: flex;\n   flex-direction: column;\n   align-items: center;\n   justify-content: center;\n   height: 100%;\n   box-sizing: border-box;\n}\n\n.card .value {\n    font-size: 2.8em;\n    font-weight: 700;\n    line-height: 1.5;\n    color: #0D47A1;\n    text-align: center;\n}\n\n.card .description {\n    font-size: 1.2em;\n    font-weight: 500;\n    line-height: 1.5;\n    color: #333333;\n    text-align: center;\n    letter-spacing: 0.5px;\n    text-transform: uppercase;\n    margin-top: 8px;\n}\n\n@media (min-width: 960px) and (max-width: 1200px) {\n    .card .value {\n        font-size: 2.2em;\n        line-height: 1.2;\n    }\n    \n    .card .description {\n        font-size: 0.9em;\n        line-height: 1.2;\n    }\n}\n"
      },
      "title": "Active Devices Counter Card",
      "dropShadow": false,
      "enableFullscreen": false,
      "widgetStyle": {},
      "titleStyle": {
        "fontSize": "16px",
        "fontWeight": 400
      },
      "useDashboardTimewindow": true,
      "showLegend": false,
      "actions": {},
      "displayTimewindow": true,
      "showTitleIcon": false,
      "titleTooltip": "",
      "widgetCss": "",
      "pageSize": 1024,
      "noDataDisplayMessage": ""
    },
    "row": 0,
    "col": 0,
    "id": "45f8811f-ae66-aece-9943-f26e7d6f34fb"
  },
  "aliasesInfo": {
    "datasourceAliases": {
      "0": {
        "alias": "All Sensors",
        "filter": {
          "type": "entityType",
          "resolveMultiple": true,
          "entityType": "DEVICE"
        }
      }
    },
    "targetDeviceAlias": null
  },
  "filtersInfo": {
    "datasourceFilters": {
      "0": {
        "filter": "ActiveDevicesFilter",
        "keyFilters": [
          {
            "key": {
              "type": "ATTRIBUTE",
              "key": "active"
            },
            "valueType": "BOOLEAN",
            "predicates": [
              {
                "keyFilterPredicate": {
                  "operation": "EQUAL",
                  "value": {
                    "defaultValue": true,
                    "dynamicValue": null
                  },
                  "type": "BOOLEAN"
                },
                "userInfo": {
                  "editable": true,
                  "label": "",
                  "autogeneratedLabel": true,
                  "order": 0,
                  "unit": ""
                }
              }
            ]
          }
        ],
        "editable": true
      }
    }
  },
  "originalSize": {
    "sizeX": 7,
    "sizeY": 3
  },
  "originalColumns": 24
}