Skip to content

Commit

Permalink
Changed device classes
Browse files Browse the repository at this point in the history
  • Loading branch information
HeatitControls committed Feb 21, 2024
1 parent da0c76b commit 2ccd793
Show file tree
Hide file tree
Showing 12 changed files with 684 additions and 205 deletions.
334 changes: 324 additions & 10 deletions app.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion drivers/Heatit-lekage-stopper/driver.compose.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"en": "Heatit Leakage Stopper"
},

"class": "socket",
"class": "other",
"capabilities": ["measure_temperature", "onoff", "alarm_water"],
"platforms": ["local", "cloud"],
"connectivity": ["zwave"],
Expand Down
2 changes: 1 addition & 1 deletion drivers/Z-DIN-616/driver.compose.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"platforms": ["local", "cloud"],
"connectivity": ["zwave"],
"class": "socket",
"class": "other",
"capabilities": ["onoff", "scene_notification_custom_capability"],
"capabilitiesOptions": {
"onoff": {
Expand Down
2 changes: 1 addition & 1 deletion drivers/Z-Relay/driver.compose.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"platforms": ["local", "cloud"],
"connectivity": ["zwave"],
"class": "socket",
"class": "other",
"capabilities": ["onoff", "measure_temperature.input1", "measure_temperature.input2", "alarm_water", "measure_power", "meter_power", "measure_voltage", "measure_current", "button.reset_meter"],
"capabilitiesOptions": {
"onoff": {
Expand Down
1 change: 0 additions & 1 deletion drivers/Z-TRM6/device.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ class ZTRM6Device extends ZwaveDevice {
this.registerCapability('target_temperature', 'THERMOSTAT_SETPOINT');

let targetTempValue = await this.getCapabilityValue('target_temperature');

this.setCapabilityValue('target_temperature', targetTempValue).catch(error => {
console.error('Error setting target_temperature:', error);
});
Expand Down
2 changes: 1 addition & 1 deletion drivers/Z-Water/driver.compose.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"platforms": ["local", "cloud"],
"connectivity": ["zwave"],
"class": "socket",
"class": "other",
"capabilities": ["onoff", "measure_temperature.input1", "measure_temperature.input2", "measure_temperature.input3", "measure_temperature.input4"],
"capabilitiesOptions": {
"onoff": {
Expand Down
2 changes: 1 addition & 1 deletion drivers/Z-Water2/driver.compose.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"platforms": ["local", "cloud"],
"connectivity": ["zwave"],
"class": "socket",
"class": "other",
"capabilities": [
"onoff",

Expand Down
2 changes: 1 addition & 1 deletion drivers/Z-push-button-2/driver.compose.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"platforms": ["local", "cloud"],
"connectivity": ["zwave"],
"class": "sensor",
"class": "button",
"capabilities": ["measure_battery"],
"energy": {
"batteries": ["CR2450"]
Expand Down
2 changes: 1 addition & 1 deletion drivers/Z-push-button-4/driver.compose.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"platforms": ["local", "cloud"],
"connectivity": ["zwave"],
"class": "sensor",
"class": "button",
"capabilities": ["measure_battery"],
"energy": {
"batteries": ["CR2450"]
Expand Down
2 changes: 1 addition & 1 deletion drivers/Z-push-button-8/driver.compose.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"platforms": ["local", "cloud"],
"connectivity": ["zwave"],
"class": "sensor",
"class": "button",
"capabilities": ["measure_battery"],
"energy": {
"batteries": ["CR2450"]
Expand Down
2 changes: 1 addition & 1 deletion drivers/ZM-Single-Relay-16A/driver.compose.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"platforms": ["local", "cloud"],
"connectivity": ["zwave"],
"class": "socket",
"class": "other",
"capabilities": ["measure_power", "meter_power", "onoff"],
"icon": "{{driverAssetsPath}}/icon.svg",
"images": {
Expand Down
Loading

0 comments on commit 2ccd793

Please sign in to comment.