{
  "schema": "resourceitem1.schema.json",
  "id": "state/power",
  "datatype": "Int16",
  "access": "RW",
  "public": true,
  "description": "The measured power (in W).",
  "read": {
    "at": "0x050b",
    "cl": "0x0b04",
    "ep": 0,
    "fn": "zcl:attr"
  },
  "parse": {
    "at": "0x050b",
    "cl": "0x0b04",
    "ep": 0,
    "eval": "if (Attr.val != -32768 && Attr.val != 32768) { Item.val = Attr.val; }"
  },
  "refresh.interval": 300,
  "default": 0
}
