Prevent unnecessary polling for ZNCZ04LM
"default": "none"
},
{
- "name": "state/on",
- "refresh.interval": 5
+ "name": "state/on"
},
{
"name": "state/reachable"
"eval": "Item.val = Math.round(Attr.val);",
"fn": "xiaomi:special",
"idx": "0x97"
+ },
+ "read": {
+ "fn": "none"
}
},
{
},
{
"name": "state/power",
- "refresh.interval": 300,
+ "refresh.interval": 10,
"read": {
"at": "0x0055",
"cl": "0x000C",
"eval": "Item.val = Math.round(Attr.val / 10);",
"fn": "xiaomi:special",
"idx": "0x96"
+ },
+ "read": {
+ "fn": "none"
}
}
]
},
{
"name": "state/consumption",
- "refresh.interval": 30,
+ "refresh.interval": 300,
"read": {
"at": "0x0055",
"cl": "0x000C",
