Fixed consumption reporting for Sengled E1C-NB7
},
{
"name": "state/alert",
+ "description": "The currently active alert effect.",
"default": "none"
},
{
"name": "state/on",
+ "description": "True when device is on; false when off.",
"refresh.interval": 5
},
{
},
{
"name": "state/consumption",
- "refresh.interval": 300
+ "refresh.interval": 300,
+ "read": {
+ "at": "0x0000",
+ "cl": "0x0702",
+ "ep": 0,
+ "fn": "zcl"
+ },
+ "parse": {
+ "at": "0x0000",
+ "cl": "0x0702",
+ "ep": 0,
+ "eval": "if (Attr.val != -32768) { Item.val = Attr.val / 10; }"
+ }
},
{
"name": "state/lastupdated"
