@m1kad0/hannah-proto 3.9.0 → 3.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent.d.ts +7 -0
- package/dist/agent.js +12 -0
- package/dist/descriptor.binpb +0 -0
- package/package.json +1 -1
package/dist/agent.d.ts
CHANGED
|
@@ -252,6 +252,13 @@ export interface AgentDevice {
|
|
|
252
252
|
* (hannah#256, hannah#257).
|
|
253
253
|
*/
|
|
254
254
|
canonicalKey: string;
|
|
255
|
+
/**
|
|
256
|
+
* Whether this device's actuator uses the inverted convention (0%=open,
|
|
257
|
+
* 100%=closed) instead of Hannah's default (0%=closed, 100%=open), e.g.
|
|
258
|
+
* some Homematic/KNX shutter/awning actuators. Unset = unknown/no override,
|
|
259
|
+
* not `false` (hannah-proto#4).
|
|
260
|
+
*/
|
|
261
|
+
inverted?: boolean | undefined;
|
|
255
262
|
}
|
|
256
263
|
export interface AgentDevice_RoomNamesEntry {
|
|
257
264
|
key: string;
|
package/dist/agent.js
CHANGED
|
@@ -1489,6 +1489,7 @@ function createBaseAgentDevice() {
|
|
|
1489
1489
|
writable: false,
|
|
1490
1490
|
deviceId: "",
|
|
1491
1491
|
canonicalKey: "",
|
|
1492
|
+
inverted: undefined,
|
|
1492
1493
|
};
|
|
1493
1494
|
}
|
|
1494
1495
|
exports.AgentDevice = {
|
|
@@ -1532,6 +1533,9 @@ exports.AgentDevice = {
|
|
|
1532
1533
|
if (message.canonicalKey !== "") {
|
|
1533
1534
|
writer.uint32(106).string(message.canonicalKey);
|
|
1534
1535
|
}
|
|
1536
|
+
if (message.inverted !== undefined) {
|
|
1537
|
+
writer.uint32(112).bool(message.inverted);
|
|
1538
|
+
}
|
|
1535
1539
|
return writer;
|
|
1536
1540
|
},
|
|
1537
1541
|
decode(input, length) {
|
|
@@ -1641,6 +1645,13 @@ exports.AgentDevice = {
|
|
|
1641
1645
|
message.canonicalKey = reader.string();
|
|
1642
1646
|
continue;
|
|
1643
1647
|
}
|
|
1648
|
+
case 14: {
|
|
1649
|
+
if (tag !== 112) {
|
|
1650
|
+
break;
|
|
1651
|
+
}
|
|
1652
|
+
message.inverted = reader.bool();
|
|
1653
|
+
continue;
|
|
1654
|
+
}
|
|
1644
1655
|
}
|
|
1645
1656
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1646
1657
|
break;
|
|
@@ -1680,6 +1691,7 @@ exports.AgentDevice = {
|
|
|
1680
1691
|
message.writable = object.writable ?? false;
|
|
1681
1692
|
message.deviceId = object.deviceId ?? "";
|
|
1682
1693
|
message.canonicalKey = object.canonicalKey ?? "";
|
|
1694
|
+
message.inverted = object.inverted ?? undefined;
|
|
1683
1695
|
return message;
|
|
1684
1696
|
},
|
|
1685
1697
|
};
|
package/dist/descriptor.binpb
CHANGED
|
Binary file
|
package/package.json
CHANGED