@camstack/types 1.2.355 → 1.2.356

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/addon.js CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_sleep = require("./sleep-BxOWTkUD.js");
2
+ const require_sleep = require("./sleep-BFVY4_xY.js");
3
3
  const require_event_category = require("./event-category-T43rdQWR.js");
4
4
  const require_err_msg = require("./err-msg-Dx2Kor0g.js");
5
5
  //#region src/generated/cap-input-defaults.ts
@@ -428,9 +428,1688 @@ function isProviderOptionalMethodName(capName, method) {
428
428
  return methods !== void 0 && methods.includes(method);
429
429
  }
430
430
  //#endregion
431
+ //#region src/generated/addon-cap-facts.ts
432
+ /** cap name -> the numeric state field whose strict advance IS the cap's one-shot event. */
433
+ var CAP_ADVANCE_FIELDS = Object.freeze({ "doorbell": "lastPressedAt" });
434
+ /** cap name -> the bindable leaves of its runtime state (absent: none). */
435
+ var CAP_STATE_LEAVES = Object.freeze({
436
+ "air-quality-sensor": [
437
+ {
438
+ "path": "co2Ppm",
439
+ "valueType": "number"
440
+ },
441
+ {
442
+ "path": "vocPpb",
443
+ "valueType": "number"
444
+ },
445
+ {
446
+ "path": "pm25",
447
+ "valueType": "number"
448
+ },
449
+ {
450
+ "path": "pm10",
451
+ "valueType": "number"
452
+ },
453
+ {
454
+ "path": "aqi",
455
+ "valueType": "number"
456
+ },
457
+ {
458
+ "path": "unit",
459
+ "valueType": "string"
460
+ },
461
+ {
462
+ "path": "precision",
463
+ "valueType": "number"
464
+ }
465
+ ],
466
+ "alarm-panel": [
467
+ {
468
+ "path": "state",
469
+ "valueType": "enum",
470
+ "enumValues": [
471
+ "disarmed",
472
+ "armed_home",
473
+ "armed_away",
474
+ "armed_night",
475
+ "armed_vacation",
476
+ "armed_custom_bypass",
477
+ "arming",
478
+ "disarming",
479
+ "pending",
480
+ "triggered"
481
+ ]
482
+ },
483
+ {
484
+ "path": "targetMode",
485
+ "valueType": "enum",
486
+ "enumValues": [
487
+ "home",
488
+ "away",
489
+ "night",
490
+ "vacation",
491
+ "custom_bypass"
492
+ ]
493
+ },
494
+ {
495
+ "path": "requiresCode",
496
+ "valueType": "boolean"
497
+ }
498
+ ],
499
+ "ambient-light-sensor": [
500
+ {
501
+ "path": "lux",
502
+ "valueType": "number"
503
+ },
504
+ {
505
+ "path": "unit",
506
+ "valueType": "string"
507
+ },
508
+ {
509
+ "path": "precision",
510
+ "valueType": "number"
511
+ }
512
+ ],
513
+ "audio-metrics": [
514
+ {
515
+ "path": "ts",
516
+ "valueType": "number"
517
+ },
518
+ {
519
+ "path": "windowSec",
520
+ "valueType": "number"
521
+ },
522
+ {
523
+ "path": "level.rms",
524
+ "valueType": "number"
525
+ },
526
+ {
527
+ "path": "level.dbfs",
528
+ "valueType": "number"
529
+ },
530
+ {
531
+ "path": "peakDbfs",
532
+ "valueType": "number"
533
+ },
534
+ {
535
+ "path": "avgDbfs",
536
+ "valueType": "number"
537
+ },
538
+ {
539
+ "path": "current.className",
540
+ "valueType": "string"
541
+ },
542
+ {
543
+ "path": "current.score",
544
+ "valueType": "number"
545
+ },
546
+ {
547
+ "path": "current.timestamp",
548
+ "valueType": "number"
549
+ }
550
+ ],
551
+ "automation-control": [
552
+ {
553
+ "path": "enabled",
554
+ "valueType": "boolean"
555
+ },
556
+ {
557
+ "path": "isRunning",
558
+ "valueType": "boolean"
559
+ },
560
+ {
561
+ "path": "lastTriggeredAt",
562
+ "valueType": "number"
563
+ },
564
+ {
565
+ "path": "lastError",
566
+ "valueType": "string"
567
+ }
568
+ ],
569
+ "battery": [
570
+ {
571
+ "path": "percentage",
572
+ "valueType": "number"
573
+ },
574
+ {
575
+ "path": "charging",
576
+ "valueType": "enum",
577
+ "enumValues": [
578
+ "dc",
579
+ "solar",
580
+ "none",
581
+ "unknown"
582
+ ]
583
+ },
584
+ {
585
+ "path": "sleeping",
586
+ "valueType": "boolean"
587
+ },
588
+ {
589
+ "path": "lastUpdated",
590
+ "valueType": "number"
591
+ },
592
+ {
593
+ "path": "lastContactAt",
594
+ "valueType": "number"
595
+ },
596
+ {
597
+ "path": "binary",
598
+ "valueType": "boolean"
599
+ }
600
+ ],
601
+ "binary": [{
602
+ "path": "on",
603
+ "valueType": "boolean"
604
+ }],
605
+ "brightness": [{
606
+ "path": "percentage",
607
+ "valueType": "number"
608
+ }],
609
+ "broker": [{
610
+ "path": "brokerCount",
611
+ "valueType": "number"
612
+ }, {
613
+ "path": "connectedCount",
614
+ "valueType": "number"
615
+ }],
616
+ "camera-credentials": [
617
+ {
618
+ "path": "host",
619
+ "valueType": "string"
620
+ },
621
+ {
622
+ "path": "port",
623
+ "valueType": "number"
624
+ },
625
+ {
626
+ "path": "onvifPort",
627
+ "valueType": "number"
628
+ },
629
+ {
630
+ "path": "rtspPort",
631
+ "valueType": "number"
632
+ },
633
+ {
634
+ "path": "https",
635
+ "valueType": "boolean"
636
+ },
637
+ {
638
+ "path": "hasUsername",
639
+ "valueType": "boolean"
640
+ },
641
+ {
642
+ "path": "hasPassword",
643
+ "valueType": "boolean"
644
+ },
645
+ {
646
+ "path": "onvifProfile",
647
+ "valueType": "string"
648
+ }
649
+ ],
650
+ "camera-streams": [
651
+ {
652
+ "path": "online",
653
+ "valueType": "boolean"
654
+ },
655
+ {
656
+ "path": "slotStatuses.high",
657
+ "valueType": "enum",
658
+ "enumValues": [
659
+ "unassigned",
660
+ "idle",
661
+ "connecting",
662
+ "streaming",
663
+ "error"
664
+ ]
665
+ },
666
+ {
667
+ "path": "slotStatuses.mid",
668
+ "valueType": "enum",
669
+ "enumValues": [
670
+ "unassigned",
671
+ "idle",
672
+ "connecting",
673
+ "streaming",
674
+ "error"
675
+ ]
676
+ },
677
+ {
678
+ "path": "slotStatuses.low",
679
+ "valueType": "enum",
680
+ "enumValues": [
681
+ "unassigned",
682
+ "idle",
683
+ "connecting",
684
+ "streaming",
685
+ "error"
686
+ ]
687
+ },
688
+ {
689
+ "path": "slotErrors.high",
690
+ "valueType": "string"
691
+ },
692
+ {
693
+ "path": "slotErrors.mid",
694
+ "valueType": "string"
695
+ },
696
+ {
697
+ "path": "slotErrors.low",
698
+ "valueType": "string"
699
+ }
700
+ ],
701
+ "carbon-monoxide": [{
702
+ "path": "detected",
703
+ "valueType": "boolean"
704
+ }],
705
+ "climate-control": [
706
+ {
707
+ "path": "mode",
708
+ "valueType": "enum",
709
+ "enumValues": [
710
+ "off",
711
+ "heat",
712
+ "cool",
713
+ "auto",
714
+ "heat_cool",
715
+ "fan_only",
716
+ "dry"
717
+ ]
718
+ },
719
+ {
720
+ "path": "fanMode",
721
+ "valueType": "string"
722
+ },
723
+ {
724
+ "path": "preset",
725
+ "valueType": "string"
726
+ },
727
+ {
728
+ "path": "target",
729
+ "valueType": "number"
730
+ },
731
+ {
732
+ "path": "targetHigh",
733
+ "valueType": "number"
734
+ },
735
+ {
736
+ "path": "targetLow",
737
+ "valueType": "number"
738
+ },
739
+ {
740
+ "path": "targetHumidity",
741
+ "valueType": "number"
742
+ },
743
+ {
744
+ "path": "currentTemp",
745
+ "valueType": "number"
746
+ },
747
+ {
748
+ "path": "currentHumidity",
749
+ "valueType": "number"
750
+ },
751
+ {
752
+ "path": "swingVertical",
753
+ "valueType": "boolean"
754
+ },
755
+ {
756
+ "path": "swingHorizontal",
757
+ "valueType": "boolean"
758
+ }
759
+ ],
760
+ "color": [
761
+ {
762
+ "path": "mode",
763
+ "valueType": "enum",
764
+ "enumValues": [
765
+ "rgb",
766
+ "hsv",
767
+ "mired"
768
+ ]
769
+ },
770
+ {
771
+ "path": "rgb.r",
772
+ "valueType": "number"
773
+ },
774
+ {
775
+ "path": "rgb.g",
776
+ "valueType": "number"
777
+ },
778
+ {
779
+ "path": "rgb.b",
780
+ "valueType": "number"
781
+ },
782
+ {
783
+ "path": "hsv.h",
784
+ "valueType": "number"
785
+ },
786
+ {
787
+ "path": "hsv.s",
788
+ "valueType": "number"
789
+ },
790
+ {
791
+ "path": "hsv.v",
792
+ "valueType": "number"
793
+ },
794
+ {
795
+ "path": "mireds",
796
+ "valueType": "number"
797
+ }
798
+ ],
799
+ "connectivity": [{
800
+ "path": "connected",
801
+ "valueType": "boolean"
802
+ }],
803
+ "contact": [{
804
+ "path": "entryOpen",
805
+ "valueType": "boolean"
806
+ }],
807
+ "control": [
808
+ {
809
+ "path": "kind",
810
+ "valueType": "enum",
811
+ "enumValues": [
812
+ "numeric",
813
+ "select",
814
+ "text",
815
+ "datetime"
816
+ ]
817
+ },
818
+ {
819
+ "path": "unit",
820
+ "valueType": "string"
821
+ },
822
+ {
823
+ "path": "min",
824
+ "valueType": "number"
825
+ },
826
+ {
827
+ "path": "max",
828
+ "valueType": "number"
829
+ },
830
+ {
831
+ "path": "step",
832
+ "valueType": "number"
833
+ },
834
+ {
835
+ "path": "precision",
836
+ "valueType": "number"
837
+ },
838
+ {
839
+ "path": "format",
840
+ "valueType": "enum",
841
+ "enumValues": [
842
+ "date",
843
+ "time",
844
+ "datetime"
845
+ ]
846
+ }
847
+ ],
848
+ "cover": [
849
+ {
850
+ "path": "state",
851
+ "valueType": "enum",
852
+ "enumValues": [
853
+ "open",
854
+ "opening",
855
+ "closing",
856
+ "closed",
857
+ "stopped"
858
+ ]
859
+ },
860
+ {
861
+ "path": "position",
862
+ "valueType": "number"
863
+ },
864
+ {
865
+ "path": "tiltPosition",
866
+ "valueType": "number"
867
+ }
868
+ ],
869
+ "day-night": [
870
+ {
871
+ "path": "mode",
872
+ "valueType": "enum",
873
+ "enumValues": [
874
+ "auto",
875
+ "day",
876
+ "night",
877
+ "schedule"
878
+ ]
879
+ },
880
+ {
881
+ "path": "sensitivity",
882
+ "valueType": "number"
883
+ },
884
+ {
885
+ "path": "switchDelaySec",
886
+ "valueType": "number"
887
+ }
888
+ ],
889
+ "device-adoption": [
890
+ {
891
+ "path": "lastDiscoveryAt",
892
+ "valueType": "number"
893
+ },
894
+ {
895
+ "path": "candidateCount",
896
+ "valueType": "number"
897
+ },
898
+ {
899
+ "path": "adoptedCount",
900
+ "valueType": "number"
901
+ },
902
+ {
903
+ "path": "lastError",
904
+ "valueType": "string"
905
+ }
906
+ ],
907
+ "device-discovery": [{
908
+ "path": "lastDiscoveryAt",
909
+ "valueType": "number"
910
+ }, {
911
+ "path": "lastError",
912
+ "valueType": "string"
913
+ }],
914
+ "device-export": [
915
+ {
916
+ "path": "linkState",
917
+ "valueType": "enum",
918
+ "enumValues": [
919
+ "unlinked",
920
+ "linked",
921
+ "error"
922
+ ]
923
+ },
924
+ {
925
+ "path": "exposedDeviceCount",
926
+ "valueType": "number"
927
+ },
928
+ {
929
+ "path": "error",
930
+ "valueType": "string"
931
+ },
932
+ {
933
+ "path": "setup.qr",
934
+ "valueType": "string"
935
+ },
936
+ {
937
+ "path": "setup.note",
938
+ "valueType": "string"
939
+ }
940
+ ],
941
+ "device-status": [{
942
+ "path": "online",
943
+ "valueType": "boolean"
944
+ }],
945
+ "doorbell": [{
946
+ "path": "lastPressedAt",
947
+ "valueType": "number"
948
+ }, {
949
+ "path": "pressCountSinceStart",
950
+ "valueType": "number"
951
+ }],
952
+ "enum-sensor": [{
953
+ "path": "value",
954
+ "valueType": "string"
955
+ }, {
956
+ "path": "format",
957
+ "valueType": "enum",
958
+ "enumValues": [
959
+ "date",
960
+ "time",
961
+ "datetime"
962
+ ]
963
+ }],
964
+ "event-emitter": [
965
+ {
966
+ "path": "lastEvent.deviceId",
967
+ "valueType": "number"
968
+ },
969
+ {
970
+ "path": "lastEvent.eventType",
971
+ "valueType": "string"
972
+ },
973
+ {
974
+ "path": "lastEvent.timestamp",
975
+ "valueType": "number"
976
+ },
977
+ {
978
+ "path": "lastEvent.seq",
979
+ "valueType": "number"
980
+ },
981
+ {
982
+ "path": "eventCountSinceStart",
983
+ "valueType": "number"
984
+ }
985
+ ],
986
+ "fan-control": [
987
+ {
988
+ "path": "percentage",
989
+ "valueType": "number"
990
+ },
991
+ {
992
+ "path": "percentageStep",
993
+ "valueType": "number"
994
+ },
995
+ {
996
+ "path": "preset",
997
+ "valueType": "string"
998
+ },
999
+ {
1000
+ "path": "direction",
1001
+ "valueType": "enum",
1002
+ "enumValues": ["forward", "reverse"]
1003
+ },
1004
+ {
1005
+ "path": "oscillating",
1006
+ "valueType": "boolean"
1007
+ }
1008
+ ],
1009
+ "feature-probe": [
1010
+ {
1011
+ "path": "deviceType",
1012
+ "valueType": "string"
1013
+ },
1014
+ {
1015
+ "path": "model",
1016
+ "valueType": "string"
1017
+ },
1018
+ {
1019
+ "path": "channelCount",
1020
+ "valueType": "number"
1021
+ },
1022
+ {
1023
+ "path": "lastProbedAt",
1024
+ "valueType": "number"
1025
+ }
1026
+ ],
1027
+ "flood": [{
1028
+ "path": "flooded",
1029
+ "valueType": "boolean"
1030
+ }],
1031
+ "gas": [{
1032
+ "path": "detected",
1033
+ "valueType": "boolean"
1034
+ }],
1035
+ "humidifier": [
1036
+ {
1037
+ "path": "on",
1038
+ "valueType": "boolean"
1039
+ },
1040
+ {
1041
+ "path": "currentHumidity",
1042
+ "valueType": "number"
1043
+ },
1044
+ {
1045
+ "path": "targetHumidity",
1046
+ "valueType": "number"
1047
+ },
1048
+ {
1049
+ "path": "mode",
1050
+ "valueType": "string"
1051
+ },
1052
+ {
1053
+ "path": "action",
1054
+ "valueType": "string"
1055
+ },
1056
+ {
1057
+ "path": "minHumidity",
1058
+ "valueType": "number"
1059
+ },
1060
+ {
1061
+ "path": "maxHumidity",
1062
+ "valueType": "number"
1063
+ }
1064
+ ],
1065
+ "humidity-sensor": [
1066
+ {
1067
+ "path": "percent",
1068
+ "valueType": "number"
1069
+ },
1070
+ {
1071
+ "path": "unit",
1072
+ "valueType": "string"
1073
+ },
1074
+ {
1075
+ "path": "precision",
1076
+ "valueType": "number"
1077
+ }
1078
+ ],
1079
+ "image": [{
1080
+ "path": "url",
1081
+ "valueType": "string"
1082
+ }, {
1083
+ "path": "lastUpdated",
1084
+ "valueType": "number"
1085
+ }],
1086
+ "image-settings": [
1087
+ {
1088
+ "path": "brightness",
1089
+ "valueType": "number"
1090
+ },
1091
+ {
1092
+ "path": "contrast",
1093
+ "valueType": "number"
1094
+ },
1095
+ {
1096
+ "path": "saturation",
1097
+ "valueType": "number"
1098
+ },
1099
+ {
1100
+ "path": "sharpness",
1101
+ "valueType": "number"
1102
+ },
1103
+ {
1104
+ "path": "mirror",
1105
+ "valueType": "boolean"
1106
+ },
1107
+ {
1108
+ "path": "flip",
1109
+ "valueType": "boolean"
1110
+ },
1111
+ {
1112
+ "path": "rotate",
1113
+ "valueType": "enum",
1114
+ "enumValues": [
1115
+ "0",
1116
+ "90",
1117
+ "180",
1118
+ "270"
1119
+ ]
1120
+ },
1121
+ {
1122
+ "path": "whiteBalance",
1123
+ "valueType": "enum",
1124
+ "enumValues": ["auto", "manual"]
1125
+ },
1126
+ {
1127
+ "path": "warmth",
1128
+ "valueType": "number"
1129
+ },
1130
+ {
1131
+ "path": "exposureMode",
1132
+ "valueType": "enum",
1133
+ "enumValues": ["auto", "manual"]
1134
+ },
1135
+ {
1136
+ "path": "backlightMode",
1137
+ "valueType": "enum",
1138
+ "enumValues": [
1139
+ "off",
1140
+ "blc",
1141
+ "wdr",
1142
+ "hlc"
1143
+ ]
1144
+ }
1145
+ ],
1146
+ "intercom": [
1147
+ {
1148
+ "path": "talking",
1149
+ "valueType": "boolean"
1150
+ },
1151
+ {
1152
+ "path": "lastSessionAt",
1153
+ "valueType": "number"
1154
+ },
1155
+ {
1156
+ "path": "ability.sampleRate",
1157
+ "valueType": "number"
1158
+ },
1159
+ {
1160
+ "path": "ability.duplex",
1161
+ "valueType": "enum",
1162
+ "enumValues": ["half", "full"]
1163
+ },
1164
+ {
1165
+ "path": "ability.maxBacklogMs",
1166
+ "valueType": "number"
1167
+ }
1168
+ ],
1169
+ "lawn-mower-control": [
1170
+ {
1171
+ "path": "activity",
1172
+ "valueType": "enum",
1173
+ "enumValues": [
1174
+ "idle",
1175
+ "mowing",
1176
+ "paused",
1177
+ "docked",
1178
+ "error"
1179
+ ]
1180
+ },
1181
+ {
1182
+ "path": "batteryLevel",
1183
+ "valueType": "number"
1184
+ },
1185
+ {
1186
+ "path": "progressPercent",
1187
+ "valueType": "number"
1188
+ },
1189
+ {
1190
+ "path": "currentCode",
1191
+ "valueType": "number"
1192
+ },
1193
+ {
1194
+ "path": "currentCodeLabel",
1195
+ "valueType": "string"
1196
+ },
1197
+ {
1198
+ "path": "severity",
1199
+ "valueType": "enum",
1200
+ "enumValues": [
1201
+ "info",
1202
+ "warning",
1203
+ "error"
1204
+ ]
1205
+ }
1206
+ ],
1207
+ "lock-control": [{
1208
+ "path": "state",
1209
+ "valueType": "enum",
1210
+ "enumValues": [
1211
+ "locked",
1212
+ "unlocked",
1213
+ "locking",
1214
+ "unlocking",
1215
+ "jammed"
1216
+ ]
1217
+ }],
1218
+ "media-player": [
1219
+ {
1220
+ "path": "state",
1221
+ "valueType": "enum",
1222
+ "enumValues": [
1223
+ "off",
1224
+ "on",
1225
+ "idle",
1226
+ "playing",
1227
+ "paused",
1228
+ "buffering",
1229
+ "standby"
1230
+ ]
1231
+ },
1232
+ {
1233
+ "path": "volumeLevel",
1234
+ "valueType": "number"
1235
+ },
1236
+ {
1237
+ "path": "isMuted",
1238
+ "valueType": "boolean"
1239
+ },
1240
+ {
1241
+ "path": "source",
1242
+ "valueType": "string"
1243
+ },
1244
+ {
1245
+ "path": "currentMedia.type",
1246
+ "valueType": "string"
1247
+ },
1248
+ {
1249
+ "path": "currentMedia.title",
1250
+ "valueType": "string"
1251
+ },
1252
+ {
1253
+ "path": "currentMedia.artist",
1254
+ "valueType": "string"
1255
+ },
1256
+ {
1257
+ "path": "currentMedia.album",
1258
+ "valueType": "string"
1259
+ },
1260
+ {
1261
+ "path": "currentMedia.imageUrl",
1262
+ "valueType": "string"
1263
+ },
1264
+ {
1265
+ "path": "positionMs",
1266
+ "valueType": "number"
1267
+ },
1268
+ {
1269
+ "path": "durationMs",
1270
+ "valueType": "number"
1271
+ },
1272
+ {
1273
+ "path": "shuffle",
1274
+ "valueType": "boolean"
1275
+ },
1276
+ {
1277
+ "path": "repeat",
1278
+ "valueType": "enum",
1279
+ "enumValues": [
1280
+ "off",
1281
+ "all",
1282
+ "one"
1283
+ ]
1284
+ }
1285
+ ],
1286
+ "motion": [
1287
+ {
1288
+ "path": "detected",
1289
+ "valueType": "boolean"
1290
+ },
1291
+ {
1292
+ "path": "lastDetectedAt",
1293
+ "valueType": "number"
1294
+ },
1295
+ {
1296
+ "path": "autoClearAfterMs",
1297
+ "valueType": "number"
1298
+ }
1299
+ ],
1300
+ "motion-trigger": [{
1301
+ "path": "enabled",
1302
+ "valueType": "boolean"
1303
+ }],
1304
+ "motion-zones": [{
1305
+ "path": "enabled",
1306
+ "valueType": "boolean"
1307
+ }, {
1308
+ "path": "sensitivity",
1309
+ "valueType": "number"
1310
+ }],
1311
+ "mqtt-broker": [{
1312
+ "path": "brokerCount",
1313
+ "valueType": "number"
1314
+ }, {
1315
+ "path": "embeddedRunning",
1316
+ "valueType": "boolean"
1317
+ }],
1318
+ "native-object-detection": [{
1319
+ "path": "enabled",
1320
+ "valueType": "boolean"
1321
+ }],
1322
+ "navigation": [
1323
+ {
1324
+ "path": "mode",
1325
+ "valueType": "enum",
1326
+ "enumValues": [
1327
+ "idle",
1328
+ "cleaning",
1329
+ "spot",
1330
+ "following",
1331
+ "goto",
1332
+ "returning",
1333
+ "paused",
1334
+ "unknown"
1335
+ ]
1336
+ },
1337
+ {
1338
+ "path": "following",
1339
+ "valueType": "boolean"
1340
+ },
1341
+ {
1342
+ "path": "flash",
1343
+ "valueType": "boolean"
1344
+ },
1345
+ {
1346
+ "path": "lightMode",
1347
+ "valueType": "enum",
1348
+ "enumValues": ["auto", "manual"]
1349
+ },
1350
+ {
1351
+ "path": "lightLevel",
1352
+ "valueType": "number"
1353
+ }
1354
+ ],
1355
+ "network-link": [
1356
+ {
1357
+ "path": "type",
1358
+ "valueType": "enum",
1359
+ "enumValues": [
1360
+ "wifi",
1361
+ "ethernet",
1362
+ "cellular",
1363
+ "unknown"
1364
+ ]
1365
+ },
1366
+ {
1367
+ "path": "signalPercent",
1368
+ "valueType": "number"
1369
+ },
1370
+ {
1371
+ "path": "rssiDbm",
1372
+ "valueType": "number"
1373
+ },
1374
+ {
1375
+ "path": "ssid",
1376
+ "valueType": "string"
1377
+ },
1378
+ {
1379
+ "path": "lastUpdated",
1380
+ "valueType": "number"
1381
+ }
1382
+ ],
1383
+ "notifier": [
1384
+ {
1385
+ "path": "lastSentAt",
1386
+ "valueType": "number"
1387
+ },
1388
+ {
1389
+ "path": "lastError",
1390
+ "valueType": "string"
1391
+ },
1392
+ {
1393
+ "path": "queueDepth",
1394
+ "valueType": "number"
1395
+ },
1396
+ {
1397
+ "path": "supports.image",
1398
+ "valueType": "boolean"
1399
+ },
1400
+ {
1401
+ "path": "supports.priority",
1402
+ "valueType": "boolean"
1403
+ },
1404
+ {
1405
+ "path": "supports.data",
1406
+ "valueType": "boolean"
1407
+ },
1408
+ {
1409
+ "path": "supports.actions",
1410
+ "valueType": "boolean"
1411
+ },
1412
+ {
1413
+ "path": "supports.recipients",
1414
+ "valueType": "boolean"
1415
+ }
1416
+ ],
1417
+ "numeric-sensor": [
1418
+ {
1419
+ "path": "value",
1420
+ "valueType": "number"
1421
+ },
1422
+ {
1423
+ "path": "unit",
1424
+ "valueType": "string"
1425
+ },
1426
+ {
1427
+ "path": "precision",
1428
+ "valueType": "number"
1429
+ }
1430
+ ],
1431
+ "pet-feeder": [
1432
+ {
1433
+ "path": "foodLevel",
1434
+ "valueType": "number"
1435
+ },
1436
+ {
1437
+ "path": "food1",
1438
+ "valueType": "number"
1439
+ },
1440
+ {
1441
+ "path": "food2",
1442
+ "valueType": "number"
1443
+ },
1444
+ {
1445
+ "path": "lowFood",
1446
+ "valueType": "boolean"
1447
+ },
1448
+ {
1449
+ "path": "batteryPower",
1450
+ "valueType": "number"
1451
+ },
1452
+ {
1453
+ "path": "desiccantLeftDays",
1454
+ "valueType": "number"
1455
+ },
1456
+ {
1457
+ "path": "feeding",
1458
+ "valueType": "boolean"
1459
+ },
1460
+ {
1461
+ "path": "status",
1462
+ "valueType": "enum",
1463
+ "enumValues": [
1464
+ "normal",
1465
+ "offline",
1466
+ "on_batteries"
1467
+ ]
1468
+ },
1469
+ {
1470
+ "path": "error",
1471
+ "valueType": "string"
1472
+ },
1473
+ {
1474
+ "path": "errorCode",
1475
+ "valueType": "number"
1476
+ },
1477
+ {
1478
+ "path": "isDualHopper",
1479
+ "valueType": "boolean"
1480
+ },
1481
+ {
1482
+ "path": "childLock",
1483
+ "valueType": "boolean"
1484
+ },
1485
+ {
1486
+ "path": "indicatorLight",
1487
+ "valueType": "boolean"
1488
+ },
1489
+ {
1490
+ "path": "feedSound",
1491
+ "valueType": "boolean"
1492
+ },
1493
+ {
1494
+ "path": "volume",
1495
+ "valueType": "number"
1496
+ }
1497
+ ],
1498
+ "power-meter": [
1499
+ {
1500
+ "path": "watts",
1501
+ "valueType": "number"
1502
+ },
1503
+ {
1504
+ "path": "kwhTotal",
1505
+ "valueType": "number"
1506
+ },
1507
+ {
1508
+ "path": "volts",
1509
+ "valueType": "number"
1510
+ },
1511
+ {
1512
+ "path": "amps",
1513
+ "valueType": "number"
1514
+ },
1515
+ {
1516
+ "path": "va",
1517
+ "valueType": "number"
1518
+ },
1519
+ {
1520
+ "path": "powerFactor",
1521
+ "valueType": "number"
1522
+ },
1523
+ {
1524
+ "path": "unit",
1525
+ "valueType": "string"
1526
+ },
1527
+ {
1528
+ "path": "precision",
1529
+ "valueType": "number"
1530
+ }
1531
+ ],
1532
+ "presence": [
1533
+ {
1534
+ "path": "state",
1535
+ "valueType": "string"
1536
+ },
1537
+ {
1538
+ "path": "location",
1539
+ "valueType": "string"
1540
+ },
1541
+ {
1542
+ "path": "gps.latitude",
1543
+ "valueType": "number"
1544
+ },
1545
+ {
1546
+ "path": "gps.longitude",
1547
+ "valueType": "number"
1548
+ },
1549
+ {
1550
+ "path": "gps.accuracyMeters",
1551
+ "valueType": "number"
1552
+ },
1553
+ {
1554
+ "path": "batteryPercent",
1555
+ "valueType": "number"
1556
+ }
1557
+ ],
1558
+ "pressure-sensor": [
1559
+ {
1560
+ "path": "hpa",
1561
+ "valueType": "number"
1562
+ },
1563
+ {
1564
+ "path": "unit",
1565
+ "valueType": "string"
1566
+ },
1567
+ {
1568
+ "path": "precision",
1569
+ "valueType": "number"
1570
+ }
1571
+ ],
1572
+ "privacy-mask": [{
1573
+ "path": "enabled",
1574
+ "valueType": "boolean"
1575
+ }, {
1576
+ "path": "audioEnabled",
1577
+ "valueType": "boolean"
1578
+ }],
1579
+ "ptz": [
1580
+ {
1581
+ "path": "pan",
1582
+ "valueType": "number"
1583
+ },
1584
+ {
1585
+ "path": "tilt",
1586
+ "valueType": "number"
1587
+ },
1588
+ {
1589
+ "path": "zoom",
1590
+ "valueType": "number"
1591
+ },
1592
+ {
1593
+ "path": "autofocus",
1594
+ "valueType": "boolean"
1595
+ }
1596
+ ],
1597
+ "ptz-autotrack": [
1598
+ {
1599
+ "path": "enabled",
1600
+ "valueType": "boolean"
1601
+ },
1602
+ {
1603
+ "path": "currentSettings.targetType",
1604
+ "valueType": "string"
1605
+ },
1606
+ {
1607
+ "path": "currentSettings.stopDelaySeconds",
1608
+ "valueType": "number"
1609
+ },
1610
+ {
1611
+ "path": "currentSettings.disappearDelaySeconds",
1612
+ "valueType": "number"
1613
+ }
1614
+ ],
1615
+ "recording-archive": [
1616
+ {
1617
+ "path": "deviceId",
1618
+ "valueType": "number"
1619
+ },
1620
+ {
1621
+ "path": "enabled",
1622
+ "valueType": "boolean"
1623
+ },
1624
+ {
1625
+ "path": "activeMode",
1626
+ "valueType": "enum",
1627
+ "enumValues": [
1628
+ "off",
1629
+ "events",
1630
+ "continuous",
1631
+ "on-device-decision"
1632
+ ]
1633
+ },
1634
+ {
1635
+ "path": "nodeId",
1636
+ "valueType": "string"
1637
+ },
1638
+ {
1639
+ "path": "storageBytes",
1640
+ "valueType": "number"
1641
+ }
1642
+ ],
1643
+ "recording-onboard": [
1644
+ {
1645
+ "path": "primaryTrackId",
1646
+ "valueType": "string"
1647
+ },
1648
+ {
1649
+ "path": "enabled",
1650
+ "valueType": "boolean"
1651
+ },
1652
+ {
1653
+ "path": "overwriteWhenFull",
1654
+ "valueType": "boolean"
1655
+ },
1656
+ {
1657
+ "path": "preRecordSec",
1658
+ "valueType": "number"
1659
+ },
1660
+ {
1661
+ "path": "postRecordSec",
1662
+ "valueType": "number"
1663
+ },
1664
+ {
1665
+ "path": "segmentMinutes",
1666
+ "valueType": "number"
1667
+ },
1668
+ {
1669
+ "path": "unreadableWindows",
1670
+ "valueType": "number"
1671
+ },
1672
+ {
1673
+ "path": "recordingToNowhere",
1674
+ "valueType": "boolean"
1675
+ }
1676
+ ],
1677
+ "recording-signal": [{
1678
+ "path": "active",
1679
+ "valueType": "boolean"
1680
+ }, {
1681
+ "path": "reason",
1682
+ "valueType": "string"
1683
+ }],
1684
+ "script-runner": [
1685
+ {
1686
+ "path": "isRunning",
1687
+ "valueType": "boolean"
1688
+ },
1689
+ {
1690
+ "path": "lastRunAt",
1691
+ "valueType": "number"
1692
+ },
1693
+ {
1694
+ "path": "lastRunSuccess",
1695
+ "valueType": "boolean"
1696
+ },
1697
+ {
1698
+ "path": "lastError",
1699
+ "valueType": "string"
1700
+ }
1701
+ ],
1702
+ "smoke": [{
1703
+ "path": "detected",
1704
+ "valueType": "boolean"
1705
+ }],
1706
+ "snapshot": [
1707
+ {
1708
+ "path": "lastCapturedAt",
1709
+ "valueType": "number"
1710
+ },
1711
+ {
1712
+ "path": "cacheAgeMs",
1713
+ "valueType": "number"
1714
+ },
1715
+ {
1716
+ "path": "lastBytes",
1717
+ "valueType": "number"
1718
+ },
1719
+ {
1720
+ "path": "lastStreamId",
1721
+ "valueType": "string"
1722
+ }
1723
+ ],
1724
+ "stream-params": [
1725
+ {
1726
+ "path": "main.width",
1727
+ "valueType": "number"
1728
+ },
1729
+ {
1730
+ "path": "main.height",
1731
+ "valueType": "number"
1732
+ },
1733
+ {
1734
+ "path": "main.codec",
1735
+ "valueType": "enum",
1736
+ "enumValues": ["h264", "h265"]
1737
+ },
1738
+ {
1739
+ "path": "main.framerate",
1740
+ "valueType": "number"
1741
+ },
1742
+ {
1743
+ "path": "main.bitrate",
1744
+ "valueType": "number"
1745
+ },
1746
+ {
1747
+ "path": "main.bitrateMode",
1748
+ "valueType": "enum",
1749
+ "enumValues": ["vbr", "cbr"]
1750
+ },
1751
+ {
1752
+ "path": "main.encoderProfile",
1753
+ "valueType": "enum",
1754
+ "enumValues": [
1755
+ "high",
1756
+ "main",
1757
+ "baseline"
1758
+ ]
1759
+ },
1760
+ {
1761
+ "path": "main.gop",
1762
+ "valueType": "number"
1763
+ },
1764
+ {
1765
+ "path": "main.audio",
1766
+ "valueType": "boolean"
1767
+ },
1768
+ {
1769
+ "path": "sub.width",
1770
+ "valueType": "number"
1771
+ },
1772
+ {
1773
+ "path": "sub.height",
1774
+ "valueType": "number"
1775
+ },
1776
+ {
1777
+ "path": "sub.codec",
1778
+ "valueType": "enum",
1779
+ "enumValues": ["h264", "h265"]
1780
+ },
1781
+ {
1782
+ "path": "sub.framerate",
1783
+ "valueType": "number"
1784
+ },
1785
+ {
1786
+ "path": "sub.bitrate",
1787
+ "valueType": "number"
1788
+ },
1789
+ {
1790
+ "path": "sub.bitrateMode",
1791
+ "valueType": "enum",
1792
+ "enumValues": ["vbr", "cbr"]
1793
+ },
1794
+ {
1795
+ "path": "sub.encoderProfile",
1796
+ "valueType": "enum",
1797
+ "enumValues": [
1798
+ "high",
1799
+ "main",
1800
+ "baseline"
1801
+ ]
1802
+ },
1803
+ {
1804
+ "path": "sub.gop",
1805
+ "valueType": "number"
1806
+ },
1807
+ {
1808
+ "path": "sub.audio",
1809
+ "valueType": "boolean"
1810
+ },
1811
+ {
1812
+ "path": "ext.width",
1813
+ "valueType": "number"
1814
+ },
1815
+ {
1816
+ "path": "ext.height",
1817
+ "valueType": "number"
1818
+ },
1819
+ {
1820
+ "path": "ext.codec",
1821
+ "valueType": "enum",
1822
+ "enumValues": ["h264", "h265"]
1823
+ },
1824
+ {
1825
+ "path": "ext.framerate",
1826
+ "valueType": "number"
1827
+ },
1828
+ {
1829
+ "path": "ext.bitrate",
1830
+ "valueType": "number"
1831
+ },
1832
+ {
1833
+ "path": "ext.bitrateMode",
1834
+ "valueType": "enum",
1835
+ "enumValues": ["vbr", "cbr"]
1836
+ },
1837
+ {
1838
+ "path": "ext.encoderProfile",
1839
+ "valueType": "enum",
1840
+ "enumValues": [
1841
+ "high",
1842
+ "main",
1843
+ "baseline"
1844
+ ]
1845
+ },
1846
+ {
1847
+ "path": "ext.gop",
1848
+ "valueType": "number"
1849
+ },
1850
+ {
1851
+ "path": "ext.audio",
1852
+ "valueType": "boolean"
1853
+ }
1854
+ ],
1855
+ "switch": [{
1856
+ "path": "on",
1857
+ "valueType": "boolean"
1858
+ }],
1859
+ "tamper": [{
1860
+ "path": "tampered",
1861
+ "valueType": "boolean"
1862
+ }],
1863
+ "temperature-sensor": [
1864
+ {
1865
+ "path": "celsius",
1866
+ "valueType": "number"
1867
+ },
1868
+ {
1869
+ "path": "unit",
1870
+ "valueType": "string"
1871
+ },
1872
+ {
1873
+ "path": "precision",
1874
+ "valueType": "number"
1875
+ }
1876
+ ],
1877
+ "update": [
1878
+ {
1879
+ "path": "currentVersion",
1880
+ "valueType": "string"
1881
+ },
1882
+ {
1883
+ "path": "availableVersion",
1884
+ "valueType": "string"
1885
+ },
1886
+ {
1887
+ "path": "updatable",
1888
+ "valueType": "boolean"
1889
+ },
1890
+ {
1891
+ "path": "state",
1892
+ "valueType": "string"
1893
+ },
1894
+ {
1895
+ "path": "inProgress",
1896
+ "valueType": "boolean"
1897
+ }
1898
+ ],
1899
+ "vacuum-control": [
1900
+ {
1901
+ "path": "state",
1902
+ "valueType": "enum",
1903
+ "enumValues": [
1904
+ "idle",
1905
+ "cleaning",
1906
+ "paused",
1907
+ "returning",
1908
+ "docked",
1909
+ "drying",
1910
+ "error"
1911
+ ]
1912
+ },
1913
+ {
1914
+ "path": "batteryLevel",
1915
+ "valueType": "number"
1916
+ },
1917
+ {
1918
+ "path": "fanSpeed",
1919
+ "valueType": "string"
1920
+ },
1921
+ {
1922
+ "path": "cleanWater.level",
1923
+ "valueType": "number"
1924
+ },
1925
+ {
1926
+ "path": "cleanWater.status",
1927
+ "valueType": "enum",
1928
+ "enumValues": [
1929
+ "ok",
1930
+ "low",
1931
+ "full"
1932
+ ]
1933
+ },
1934
+ {
1935
+ "path": "dirtyWater.level",
1936
+ "valueType": "number"
1937
+ },
1938
+ {
1939
+ "path": "dirtyWater.status",
1940
+ "valueType": "enum",
1941
+ "enumValues": [
1942
+ "ok",
1943
+ "low",
1944
+ "full"
1945
+ ]
1946
+ },
1947
+ {
1948
+ "path": "detergent.level",
1949
+ "valueType": "number"
1950
+ },
1951
+ {
1952
+ "path": "detergent.status",
1953
+ "valueType": "enum",
1954
+ "enumValues": [
1955
+ "ok",
1956
+ "low",
1957
+ "full"
1958
+ ]
1959
+ },
1960
+ {
1961
+ "path": "dustBin.level",
1962
+ "valueType": "number"
1963
+ },
1964
+ {
1965
+ "path": "dustBin.status",
1966
+ "valueType": "enum",
1967
+ "enumValues": [
1968
+ "ok",
1969
+ "low",
1970
+ "full"
1971
+ ]
1972
+ },
1973
+ {
1974
+ "path": "progressPercent",
1975
+ "valueType": "number"
1976
+ },
1977
+ {
1978
+ "path": "errorCode",
1979
+ "valueType": "number"
1980
+ },
1981
+ {
1982
+ "path": "errorLabel",
1983
+ "valueType": "string"
1984
+ }
1985
+ ],
1986
+ "valve": [{
1987
+ "path": "state",
1988
+ "valueType": "enum",
1989
+ "enumValues": [
1990
+ "open",
1991
+ "opening",
1992
+ "closing",
1993
+ "closed",
1994
+ "stopped"
1995
+ ]
1996
+ }, {
1997
+ "path": "position",
1998
+ "valueType": "number"
1999
+ }],
2000
+ "vibration": [{
2001
+ "path": "detected",
2002
+ "valueType": "boolean"
2003
+ }],
2004
+ "water-heater": [
2005
+ {
2006
+ "path": "currentTemp",
2007
+ "valueType": "number"
2008
+ },
2009
+ {
2010
+ "path": "targetTemp",
2011
+ "valueType": "number"
2012
+ },
2013
+ {
2014
+ "path": "operationMode",
2015
+ "valueType": "string"
2016
+ },
2017
+ {
2018
+ "path": "away",
2019
+ "valueType": "boolean"
2020
+ },
2021
+ {
2022
+ "path": "minTemp",
2023
+ "valueType": "number"
2024
+ },
2025
+ {
2026
+ "path": "maxTemp",
2027
+ "valueType": "number"
2028
+ }
2029
+ ],
2030
+ "weather": [
2031
+ {
2032
+ "path": "condition",
2033
+ "valueType": "string"
2034
+ },
2035
+ {
2036
+ "path": "temperature",
2037
+ "valueType": "number"
2038
+ },
2039
+ {
2040
+ "path": "temperatureUnit",
2041
+ "valueType": "string"
2042
+ },
2043
+ {
2044
+ "path": "humidity",
2045
+ "valueType": "number"
2046
+ },
2047
+ {
2048
+ "path": "pressure",
2049
+ "valueType": "number"
2050
+ },
2051
+ {
2052
+ "path": "pressureUnit",
2053
+ "valueType": "string"
2054
+ },
2055
+ {
2056
+ "path": "windSpeed",
2057
+ "valueType": "number"
2058
+ },
2059
+ {
2060
+ "path": "windSpeedUnit",
2061
+ "valueType": "string"
2062
+ },
2063
+ {
2064
+ "path": "windBearing",
2065
+ "valueType": "number"
2066
+ }
2067
+ ],
2068
+ "zone-analytics": [
2069
+ {
2070
+ "path": "ts",
2071
+ "valueType": "number"
2072
+ },
2073
+ {
2074
+ "path": "frameWidth",
2075
+ "valueType": "number"
2076
+ },
2077
+ {
2078
+ "path": "frameHeight",
2079
+ "valueType": "number"
2080
+ },
2081
+ {
2082
+ "path": "frame.totalObjects",
2083
+ "valueType": "number"
2084
+ },
2085
+ {
2086
+ "path": "frame.standingObjects",
2087
+ "valueType": "number"
2088
+ },
2089
+ {
2090
+ "path": "frame.transientObjects",
2091
+ "valueType": "number"
2092
+ },
2093
+ {
2094
+ "path": "unzoned.totalObjects",
2095
+ "valueType": "number"
2096
+ },
2097
+ {
2098
+ "path": "unzoned.standingObjects",
2099
+ "valueType": "number"
2100
+ },
2101
+ {
2102
+ "path": "unzoned.transientObjects",
2103
+ "valueType": "number"
2104
+ }
2105
+ ]
2106
+ });
2107
+ //#endregion
431
2108
  exports.BOOT_RECOVERY_BACKOFF_MS = require_sleep.BOOT_RECOVERY_BACKOFF_MS;
432
2109
  exports.BaseAddon = require_sleep.BaseAddon;
2110
+ exports.CAP_ADVANCE_FIELDS = CAP_ADVANCE_FIELDS;
433
2111
  exports.CAP_INPUT_DEFAULTS = CAP_INPUT_DEFAULTS;
2112
+ exports.CAP_STATE_LEAVES = CAP_STATE_LEAVES;
434
2113
  exports.COLLECTION_ARRAY_METHODS = COLLECTION_ARRAY_METHODS;
435
2114
  exports.DATAPLANE_SECRET_HEADER = require_sleep.DATAPLANE_SECRET_HEADER;
436
2115
  exports.DEVICE_CHILDREN_BATCH_MAX = require_sleep.DEVICE_CHILDREN_BATCH_MAX;
@@ -438,7 +2117,9 @@ exports.DEVICE_SCOPED_CAPS = require_sleep.DEVICE_SCOPED_CAPS;
438
2117
  exports.DeviceType = require_err_msg.DeviceType;
439
2118
  exports.DisposerChain = require_sleep.DisposerChain;
440
2119
  exports.EventCategory = require_event_category.EventCategory;
2120
+ exports.HF_REPO = require_sleep.HF_REPO;
441
2121
  exports.MIN_SCRUBBED_LENGTH = require_sleep.MIN_SCRUBBED_LENGTH;
2122
+ exports.MODEL_FORMATS = require_sleep.MODEL_FORMATS;
442
2123
  exports.PEER_BYTES_CHUNK_BYTES = require_sleep.PEER_BYTES_CHUNK_BYTES;
443
2124
  exports.PEER_BYTES_MAX_OUTSTANDING = require_sleep.PEER_BYTES_MAX_OUTSTANDING;
444
2125
  exports.PEER_BYTES_STALL_MS = require_sleep.PEER_BYTES_STALL_MS;
@@ -469,6 +2150,7 @@ exports.expandCapMethods = require_sleep.expandCapMethods;
469
2150
  exports.forgetKnownSecret = require_sleep.forgetKnownSecret;
470
2151
  exports.formatSecretScope = require_sleep.formatSecretScope;
471
2152
  exports.globalSecretScope = require_sleep.globalSecretScope;
2153
+ exports.hfModelUrl = require_sleep.hfModelUrl;
472
2154
  exports.isCollectionArrayMethodName = isCollectionArrayMethodName;
473
2155
  exports.isDeviceScopedCap = require_sleep.isDeviceScopedCap;
474
2156
  exports.isProviderOptionalMethodName = isProviderOptionalMethodName;