Skip to content

Commit

Permalink
Merge pull request #6108 from manup/master
Browse files Browse the repository at this point in the history
DDF cosmetic, use default description of items
  • Loading branch information
manup committed Jun 4, 2022
2 parents 04b7443 + 4524936 commit 674e5d6
Show file tree
Hide file tree
Showing 14 changed files with 10 additions and 46 deletions.
1 change: 0 additions & 1 deletion devices/frient/aqszb-110_voc_sensor.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@
},
{
"name": "config/offset",
"description": "Relative offset to the main measured value.",
"default": 0
},
{
Expand Down
5 changes: 2 additions & 3 deletions devices/frient/splzb-131_smart_plug.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
},
{
"name": "state/alert",
"description": "The currently active alert effect.",
"default": "none"
},
{
Expand Down Expand Up @@ -246,8 +245,8 @@
"name": "state/power",
"refresh.interval": 360,
"read": {
"at": "0x0400",
"cl": "0x0702",
"at": "0x0400",
"cl": "0x0702",
"ep": 2,
"fn": "zcl"
},
Expand Down
4 changes: 0 additions & 4 deletions devices/ikea/tredansen_block-out_cellul_blind.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,23 +44,19 @@
},
{
"name": "state/alert",
"description": "The currently active alert effect.",
"default": "none"
},
{
"name": "state/bri",
"description": "The current brightness.",
"refresh.interval": 5
},
{
"name": "state/lift",
"description": "The lift state of a roller blind.",
"refresh.interval": 300,
"default": 0
},
{
"name": "state/on",
"description": "True when device is on; false when off.",
"refresh.interval": 5
},
{
Expand Down
6 changes: 1 addition & 5 deletions devices/namron/4512737_thermostat.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,14 @@
},
{
"name": "config/heatsetpoint",
"description": "Target temperature of a thermostat.",
"default": 0
},
{
"name": "config/mode",
"description": "Mode of the device.",
"default": "off"
},
{
"name": "config/offset",
"description": "Relative offset to the main measured value.",
"default": 0
},
{
Expand All @@ -79,7 +76,6 @@
},
{
"name": "state/on",
"description": "True when device is on; false when off.",
"refresh.interval": 5
},
{
Expand Down Expand Up @@ -141,7 +137,7 @@
},
{
"name": "state/current",
"description": "The measured current (in A).",
"description": "The measured current (in A).",
"refresh.interval": 300,
"parse": {
"at": "0x0508",
Expand Down
4 changes: 2 additions & 2 deletions devices/neo/NAS-WR01B.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
},
{
"name": "state/alert",
"description": "The currently active alert effect.",
"default": "none"
},
{
Expand Down Expand Up @@ -98,7 +97,8 @@
"name": "config/reachable"
},
{
"name": "state/consumption" },
"name": "state/consumption"
},
{
"name": "state/lastupdated"
}
Expand Down
16 changes: 3 additions & 13 deletions devices/sengled/E12-N1E.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,53 +44,43 @@
},
{
"name": "state/alert",
"description": "The currently active alert effect.",
"default": "none"
},
{
"name": "state/bri",
"description": "The current brightness.",
"refresh.interval": 5
},
{
"name": "state/colormode",
"description": "The currently active color mode."
"name": "state/colormode"
},
{
"name": "state/ct",
"description": "The current Mired color temperature of the light. Where Mired is 1000000 / color temperature (in kelvins).",
"refresh.interval": 5
},
{
"name": "state/effect",
"description": "The currently active effect.",
"default": "none"
},
{
"name": "state/hue",
"description": "The current color hue."
"name": "state/hue"
},
{
"name": "state/on",
"description": "True when device is on; false when off.",
"refresh.interval": 5
},
{
"name": "state/reachable"
},
{
"name": "state/sat",
"description": "The current color saturation.",
"refresh.interval": 5
},
{
"name": "state/x",
"description": "The current color x coordinate.",
"refresh.interval": 5
},
{
"name": "state/y",
"description": "The current color y coordinate."
"name": "state/y"
}
]
}
Expand Down
2 changes: 0 additions & 2 deletions devices/sengled/e1c-nb7.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,10 @@
},
{
"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
},
{
Expand Down
1 change: 0 additions & 1 deletion devices/sinope/sp2610zb_smart_switch.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
},
{
"name": "state/alert",
"description": "The currently active alert effect.",
"default": "none"
},
{
Expand Down
8 changes: 1 addition & 7 deletions devices/sinope/th1124zb.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,13 @@
},
{
"name": "config/heatsetpoint",
"description": "Target temperature of a thermostat.",
"default": 0
},
{
"name": "config/mode",
"description": "Mode of the device."
"name": "config/mode"
},
{
"name": "config/offset",
"description": "Relative offset to the main measured value.",
"default": 0
},
{
Expand Down Expand Up @@ -147,12 +144,10 @@
},
{
"name": "state/on",
"description": "True when device is on; false when off.",
"refresh.interval": 5
},
{
"name": "state/temperature",
"description": "The current temperature in °C × 100.",
"default": 0
}
]
Expand Down Expand Up @@ -302,7 +297,6 @@
},
{
"name": "state/power",
"description": "The measured power (in W).",
"refresh.interval": 300,
"default": 0,
"parse": {
Expand Down
1 change: 0 additions & 1 deletion devices/sonoff/zbmini-l_relay.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
},
{
"name": "state/on",
"description": "True when device is on; false when off.",
"refresh.interval": 5
},
{
Expand Down
3 changes: 1 addition & 2 deletions devices/third_reality/3RMS16BZ_motion_sensor.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@
"name": "attr/uniqueid"
},
{
"name": "config/alert",
"description": "The currently active alert."
"name": "config/alert"
},
{
"name": "config/battery",
Expand Down
3 changes: 0 additions & 3 deletions devices/tuya/_TZE200_bjawzodf_hum_temp.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
},
{
"name": "config/offset",
"description": "Relative offset to the main measured value.",
"default": 0
},
{
Expand All @@ -55,7 +54,6 @@
},
{
"name": "state/humidity",
"description": "The current relative humidity in percent.",
"parse": {"fn": "tuya", "dpid": 2, "eval": "Item.val = 10 * Attr.val;" },
"read": {"fn": "tuya"},
"default": 0
Expand Down Expand Up @@ -109,7 +107,6 @@
},
{
"name": "config/offset",
"description": "Relative offset to the main measured value.",
"default": 0
},
{
Expand Down
1 change: 0 additions & 1 deletion devices/wiser/fuga_socket_outlet.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
},
{
"name": "state/alert",
"description": "The currently active alert effect.",
"default": "none"
},
{
Expand Down
1 change: 0 additions & 1 deletion devices/woox/woox_r7060_ts0101.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
},
{
"name": "state/alert",
"description": "The currently active alert effect.",
"default": "none"
},
{
Expand Down

0 comments on commit 674e5d6

Please sign in to comment.