@digital-alchemy/hass 0.3.24 → 0.3.26

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.
@@ -0,0 +1,551 @@
1
+ "use strict";
2
+ /* eslint-disable @typescript-eslint/no-magic-numbers */
3
+ // * This file contains enums to match ones in python in home assistant core python code
4
+ // Most things are 1-1, with some minor corrections made in transcribing
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.UpdateEntityFeature = exports.UpdateDeviceClass = exports.WeatherEntityFeature = exports.WaterHeaterEntityFeature = exports.ValveEntityFeature = exports.ValveDeviceClass = exports.VacuumEntityFeature = exports.SwitchDeviceClass = exports.SirenEntityFeature = exports.RemoteEntityFeature = exports.NotifyEntityFeature = exports.MediaPlayerEntityFeature = exports.RepeatMode = exports.MediaType = exports.MediaClass = exports.MediaPlayerState = exports.MediaPlayerEnqueue = exports.LockEntityFeature = exports.LawnMowerEntityFeature = exports.LawnMowerActivity = exports.HumidifierEntityFeature = exports.HumidifierAction = exports.HumidifierDeviceClass = exports.CoverEntityFeature = exports.CoverDeviceClass = exports.ClimateEntityFeature = exports.HVACAction = exports.HVACMode = exports.StreamType = exports.CameraEntityFeature = exports.CalendarEntityFeature = exports.BinarySensorDeviceClass = exports.AlarmControlPanelEntityFeature = exports.CodeFormat = exports.ButtonDeviceClass = exports.FanEntityFeature = exports.VALID_COLOR_MODES = exports.COLOR_MODES_BRIGHTNESS = exports.COLOR_MODES_COLOR = exports.ColorMode = exports.LightEntityFeature = void 0;
7
+ /**
8
+ * Supported features of the light entity.
9
+ */
10
+ var LightEntityFeature;
11
+ (function (LightEntityFeature) {
12
+ LightEntityFeature[LightEntityFeature["flash"] = 8] = "flash";
13
+ LightEntityFeature[LightEntityFeature["transition"] = 32] = "transition";
14
+ LightEntityFeature[LightEntityFeature["effect"] = 4] = "effect";
15
+ })(LightEntityFeature || (exports.LightEntityFeature = LightEntityFeature = {}));
16
+ /**
17
+ * Possible light color modes.
18
+ */
19
+ var ColorMode;
20
+ (function (ColorMode) {
21
+ /** Ambiguous color mode */
22
+ ColorMode["UNKNOWN"] = "unknown";
23
+ /** Must be the only supported mode */
24
+ ColorMode["ONOFF"] = "onoff";
25
+ /** Must be the only supported mode */
26
+ ColorMode["BRIGHTNESS"] = "brightness";
27
+ ColorMode["COLOR_TEMP"] = "color_temp";
28
+ ColorMode["HS"] = "hs";
29
+ ColorMode["XY"] = "xy";
30
+ ColorMode["RGB"] = "rgb";
31
+ ColorMode["RGBW"] = "rgbw";
32
+ ColorMode["RGBWW"] = "rgbww";
33
+ /** Must *NOT* be the only supported mode */
34
+ ColorMode["WHITE"] = "white";
35
+ })(ColorMode || (exports.ColorMode = ColorMode = {}));
36
+ exports.COLOR_MODES_COLOR = new Set([
37
+ ColorMode.HS,
38
+ ColorMode.RGB,
39
+ ColorMode.RGBW,
40
+ ColorMode.RGBWW,
41
+ ColorMode.XY,
42
+ ]);
43
+ exports.COLOR_MODES_BRIGHTNESS = new Set([
44
+ ColorMode.BRIGHTNESS,
45
+ ColorMode.COLOR_TEMP,
46
+ ColorMode.HS,
47
+ ColorMode.XY,
48
+ ColorMode.RGB,
49
+ ColorMode.RGBW,
50
+ ColorMode.RGBWW,
51
+ ColorMode.WHITE,
52
+ ]);
53
+ exports.VALID_COLOR_MODES = new Set([
54
+ ...exports.COLOR_MODES_BRIGHTNESS.values(),
55
+ ColorMode.ONOFF,
56
+ ]);
57
+ /**
58
+ * Supported features of the fan entity.
59
+ */
60
+ var FanEntityFeature;
61
+ (function (FanEntityFeature) {
62
+ FanEntityFeature[FanEntityFeature["SET_SPEED"] = 1] = "SET_SPEED";
63
+ FanEntityFeature[FanEntityFeature["OSCILLATE"] = 2] = "OSCILLATE";
64
+ FanEntityFeature[FanEntityFeature["DIRECTION"] = 4] = "DIRECTION";
65
+ FanEntityFeature[FanEntityFeature["PRESET_MODE"] = 8] = "PRESET_MODE";
66
+ })(FanEntityFeature || (exports.FanEntityFeature = FanEntityFeature = {}));
67
+ /**
68
+ * Device class for buttons.
69
+ */
70
+ var ButtonDeviceClass;
71
+ (function (ButtonDeviceClass) {
72
+ ButtonDeviceClass["IDENTIFY"] = "identify";
73
+ ButtonDeviceClass["RESTART"] = "restart";
74
+ ButtonDeviceClass["UPDATE"] = "update";
75
+ })(ButtonDeviceClass || (exports.ButtonDeviceClass = ButtonDeviceClass = {}));
76
+ /**
77
+ * Code formats for the Alarm Control Panel.
78
+ */
79
+ var CodeFormat;
80
+ (function (CodeFormat) {
81
+ CodeFormat["TEXT"] = "text";
82
+ CodeFormat["NUMBER"] = "number";
83
+ })(CodeFormat || (exports.CodeFormat = CodeFormat = {}));
84
+ /**
85
+ * Supported features of the alarm control panel entity.
86
+ */
87
+ var AlarmControlPanelEntityFeature;
88
+ (function (AlarmControlPanelEntityFeature) {
89
+ AlarmControlPanelEntityFeature[AlarmControlPanelEntityFeature["ARM_HOME"] = 1] = "ARM_HOME";
90
+ AlarmControlPanelEntityFeature[AlarmControlPanelEntityFeature["ARM_AWAY"] = 2] = "ARM_AWAY";
91
+ AlarmControlPanelEntityFeature[AlarmControlPanelEntityFeature["ARM_NIGHT"] = 4] = "ARM_NIGHT";
92
+ AlarmControlPanelEntityFeature[AlarmControlPanelEntityFeature["TRIGGER"] = 8] = "TRIGGER";
93
+ AlarmControlPanelEntityFeature[AlarmControlPanelEntityFeature["ARM_CUSTOM_BYPASS"] = 16] = "ARM_CUSTOM_BYPASS";
94
+ AlarmControlPanelEntityFeature[AlarmControlPanelEntityFeature["ARM_VACATION"] = 32] = "ARM_VACATION";
95
+ })(AlarmControlPanelEntityFeature || (exports.AlarmControlPanelEntityFeature = AlarmControlPanelEntityFeature = {}));
96
+ /**
97
+ * Device class for binary sensors.
98
+ */
99
+ var BinarySensorDeviceClass;
100
+ (function (BinarySensorDeviceClass) {
101
+ /** On means low, Off means normal */
102
+ BinarySensorDeviceClass["BATTERY"] = "battery";
103
+ /** On means charging, Off means not charging */
104
+ BinarySensorDeviceClass["BATTERY_CHARGING"] = "battery_charging";
105
+ /** On means carbon monoxide detected, Off means no carbon monoxide (clear) */
106
+ BinarySensorDeviceClass["CO"] = "carbon_monoxide";
107
+ /** On means cold, Off means normal */
108
+ BinarySensorDeviceClass["COLD"] = "cold";
109
+ /** On means connected, Off means disconnected */
110
+ BinarySensorDeviceClass["CONNECTIVITY"] = "connectivity";
111
+ /** On means open, Off means closed */
112
+ BinarySensorDeviceClass["DOOR"] = "door";
113
+ /** On means open, Off means closed */
114
+ BinarySensorDeviceClass["GARAGE_DOOR"] = "garage_door";
115
+ /** On means gas detected, Off means no gas (clear) */
116
+ BinarySensorDeviceClass["GAS"] = "gas";
117
+ /** On means hot, Off means normal */
118
+ BinarySensorDeviceClass["HEAT"] = "heat";
119
+ /** On means light detected, Off means no light */
120
+ BinarySensorDeviceClass["LIGHT"] = "light";
121
+ /** On means open (unlocked), Off means closed (locked) */
122
+ BinarySensorDeviceClass["LOCK"] = "lock";
123
+ /** On means wet, Off means dry */
124
+ BinarySensorDeviceClass["MOISTURE"] = "moisture";
125
+ /** On means motion detected, Off means no motion (clear) */
126
+ BinarySensorDeviceClass["MOTION"] = "motion";
127
+ /** On means moving, Off means not moving (stopped) */
128
+ BinarySensorDeviceClass["MOVING"] = "moving";
129
+ /** On means occupied, Off means not occupied (clear) */
130
+ BinarySensorDeviceClass["OCCUPANCY"] = "occupancy";
131
+ /** On means open, Off means closed */
132
+ BinarySensorDeviceClass["OPENING"] = "opening";
133
+ /** On means plugged in, Off means unplugged */
134
+ BinarySensorDeviceClass["PLUG"] = "plug";
135
+ /** On means power detected, Off means no power */
136
+ BinarySensorDeviceClass["POWER"] = "power";
137
+ /** On means home, Off means away */
138
+ BinarySensorDeviceClass["PRESENCE"] = "presence";
139
+ /** On means problem detected, Off means no problem (OK) */
140
+ BinarySensorDeviceClass["PROBLEM"] = "problem";
141
+ /** On means running, Off means not running */
142
+ BinarySensorDeviceClass["RUNNING"] = "running";
143
+ /** On means unsafe, Off means safe */
144
+ BinarySensorDeviceClass["SAFETY"] = "safety";
145
+ /** On means smoke detected, Off means no smoke (clear) */
146
+ BinarySensorDeviceClass["SMOKE"] = "smoke";
147
+ /** On means sound detected, Off means no sound (clear) */
148
+ BinarySensorDeviceClass["SOUND"] = "sound";
149
+ /** On means tampering detected, Off means no tampering (clear) */
150
+ BinarySensorDeviceClass["TAMPER"] = "tamper";
151
+ /** On means update available, Off means up-to-date */
152
+ BinarySensorDeviceClass["UPDATE"] = "update";
153
+ /** On means vibration detected, Off means no vibration */
154
+ BinarySensorDeviceClass["VIBRATION"] = "vibration";
155
+ /** On means open, Off means closed */
156
+ BinarySensorDeviceClass["WINDOW"] = "window";
157
+ })(BinarySensorDeviceClass || (exports.BinarySensorDeviceClass = BinarySensorDeviceClass = {}));
158
+ /**
159
+ * Supported features of the calendar entity.
160
+ */
161
+ var CalendarEntityFeature;
162
+ (function (CalendarEntityFeature) {
163
+ CalendarEntityFeature[CalendarEntityFeature["CREATE_EVENT"] = 1] = "CREATE_EVENT";
164
+ CalendarEntityFeature[CalendarEntityFeature["DELETE_EVENT"] = 2] = "DELETE_EVENT";
165
+ CalendarEntityFeature[CalendarEntityFeature["UPDATE_EVENT"] = 4] = "UPDATE_EVENT";
166
+ })(CalendarEntityFeature || (exports.CalendarEntityFeature = CalendarEntityFeature = {}));
167
+ /**
168
+ * Supported features of the camera entity.
169
+ */
170
+ var CameraEntityFeature;
171
+ (function (CameraEntityFeature) {
172
+ CameraEntityFeature[CameraEntityFeature["ON_OFF"] = 1] = "ON_OFF";
173
+ CameraEntityFeature[CameraEntityFeature["STREAM"] = 2] = "STREAM";
174
+ })(CameraEntityFeature || (exports.CameraEntityFeature = CameraEntityFeature = {}));
175
+ /**
176
+ * Camera stream type.
177
+ *
178
+ * A camera that supports CAMERA_SUPPORT_STREAM may have a single stream
179
+ * type which is used to inform the frontend which player to use.
180
+ * Streams with RTSP sources typically use the stream component which uses
181
+ * HLS for display. WebRTC streams use the home assistant core for a signal
182
+ * path to initiate a stream, but the stream itself is between the client and
183
+ * device.
184
+ */
185
+ var StreamType;
186
+ (function (StreamType) {
187
+ StreamType["HLS"] = "hls";
188
+ StreamType["WEB_RTC"] = "web_rtc";
189
+ })(StreamType || (exports.StreamType = StreamType = {}));
190
+ /**
191
+ * HVAC mode for climate devices.
192
+ */
193
+ var HVACMode;
194
+ (function (HVACMode) {
195
+ /** All activity disabled / Device is off/standby */
196
+ HVACMode["OFF"] = "off";
197
+ /** Heating */
198
+ HVACMode["HEAT"] = "heat";
199
+ /** Cooling */
200
+ HVACMode["COOL"] = "cool";
201
+ /** The device supports heating/cooling to a range */
202
+ HVACMode["HEAT_COOL"] = "heat_cool";
203
+ /** The temperature is set based on a schedule, learned behavior, AI or some
204
+ * other related mechanism. User is not able to adjust the temperature */
205
+ HVACMode["AUTO"] = "auto";
206
+ /** Device is in Dry/Humidity mode */
207
+ HVACMode["DRY"] = "dry";
208
+ /** Only the fan is on, not fan and another mode like cool */
209
+ HVACMode["FAN_ONLY"] = "fan_only";
210
+ })(HVACMode || (exports.HVACMode = HVACMode = {}));
211
+ /**
212
+ * HVAC action for climate devices.
213
+ */
214
+ var HVACAction;
215
+ (function (HVACAction) {
216
+ HVACAction["COOLING"] = "cooling";
217
+ HVACAction["DRYING"] = "drying";
218
+ HVACAction["FAN"] = "fan";
219
+ HVACAction["HEATING"] = "heating";
220
+ HVACAction["IDLE"] = "idle";
221
+ HVACAction["OFF"] = "off";
222
+ HVACAction["PREHEATING"] = "preheating";
223
+ })(HVACAction || (exports.HVACAction = HVACAction = {}));
224
+ /**
225
+ * Supported features of the climate entity.
226
+ */
227
+ var ClimateEntityFeature;
228
+ (function (ClimateEntityFeature) {
229
+ ClimateEntityFeature[ClimateEntityFeature["TARGET_TEMPERATURE"] = 1] = "TARGET_TEMPERATURE";
230
+ ClimateEntityFeature[ClimateEntityFeature["TARGET_TEMPERATURE_RANGE"] = 2] = "TARGET_TEMPERATURE_RANGE";
231
+ ClimateEntityFeature[ClimateEntityFeature["TARGET_HUMIDITY"] = 4] = "TARGET_HUMIDITY";
232
+ ClimateEntityFeature[ClimateEntityFeature["FAN_MODE"] = 8] = "FAN_MODE";
233
+ ClimateEntityFeature[ClimateEntityFeature["PRESET_MODE"] = 16] = "PRESET_MODE";
234
+ ClimateEntityFeature[ClimateEntityFeature["SWING_MODE"] = 32] = "SWING_MODE";
235
+ ClimateEntityFeature[ClimateEntityFeature["AUX_HEAT"] = 64] = "AUX_HEAT";
236
+ ClimateEntityFeature[ClimateEntityFeature["TURN_OFF"] = 128] = "TURN_OFF";
237
+ ClimateEntityFeature[ClimateEntityFeature["TURN_ON"] = 256] = "TURN_ON";
238
+ })(ClimateEntityFeature || (exports.ClimateEntityFeature = ClimateEntityFeature = {}));
239
+ /**
240
+ * Device class for cover.
241
+ */
242
+ var CoverDeviceClass;
243
+ (function (CoverDeviceClass) {
244
+ /** Refer to the cover dev docs for device class descriptions */
245
+ CoverDeviceClass["AWNING"] = "awning";
246
+ CoverDeviceClass["BLIND"] = "blind";
247
+ CoverDeviceClass["CURTAIN"] = "curtain";
248
+ CoverDeviceClass["DAMPER"] = "damper";
249
+ CoverDeviceClass["DOOR"] = "door";
250
+ CoverDeviceClass["GARAGE"] = "garage";
251
+ CoverDeviceClass["GATE"] = "gate";
252
+ CoverDeviceClass["SHADE"] = "shade";
253
+ CoverDeviceClass["SHUTTER"] = "shutter";
254
+ CoverDeviceClass["WINDOW"] = "window";
255
+ })(CoverDeviceClass || (exports.CoverDeviceClass = CoverDeviceClass = {}));
256
+ /**
257
+ * Supported features of the cover entity.
258
+ */
259
+ var CoverEntityFeature;
260
+ (function (CoverEntityFeature) {
261
+ CoverEntityFeature[CoverEntityFeature["OPEN"] = 1] = "OPEN";
262
+ CoverEntityFeature[CoverEntityFeature["CLOSE"] = 2] = "CLOSE";
263
+ CoverEntityFeature[CoverEntityFeature["SET_POSITION"] = 4] = "SET_POSITION";
264
+ CoverEntityFeature[CoverEntityFeature["STOP"] = 8] = "STOP";
265
+ CoverEntityFeature[CoverEntityFeature["OPEN_TILT"] = 16] = "OPEN_TILT";
266
+ CoverEntityFeature[CoverEntityFeature["CLOSE_TILT"] = 32] = "CLOSE_TILT";
267
+ CoverEntityFeature[CoverEntityFeature["STOP_TILT"] = 64] = "STOP_TILT";
268
+ CoverEntityFeature[CoverEntityFeature["SET_TILT_POSITION"] = 128] = "SET_TILT_POSITION";
269
+ })(CoverEntityFeature || (exports.CoverEntityFeature = CoverEntityFeature = {}));
270
+ /**
271
+ * Device class for humidifiers.
272
+ */
273
+ var HumidifierDeviceClass;
274
+ (function (HumidifierDeviceClass) {
275
+ HumidifierDeviceClass["HUMIDIFIER"] = "humidifier";
276
+ HumidifierDeviceClass["DEHUMIDIFIER"] = "dehumidifier";
277
+ })(HumidifierDeviceClass || (exports.HumidifierDeviceClass = HumidifierDeviceClass = {}));
278
+ /**
279
+ * Actions for humidifier devices.
280
+ */
281
+ var HumidifierAction;
282
+ (function (HumidifierAction) {
283
+ HumidifierAction["HUMIDIFYING"] = "humidifying";
284
+ HumidifierAction["DRYING"] = "drying";
285
+ HumidifierAction["IDLE"] = "idle";
286
+ HumidifierAction["OFF"] = "off";
287
+ })(HumidifierAction || (exports.HumidifierAction = HumidifierAction = {}));
288
+ /**
289
+ * Supported features of the alarm control panel entity.
290
+ */
291
+ var HumidifierEntityFeature;
292
+ (function (HumidifierEntityFeature) {
293
+ HumidifierEntityFeature[HumidifierEntityFeature["MODES"] = 1] = "MODES";
294
+ })(HumidifierEntityFeature || (exports.HumidifierEntityFeature = HumidifierEntityFeature = {}));
295
+ /**
296
+ * Activity state of lawn mower devices.
297
+ */
298
+ var LawnMowerActivity;
299
+ (function (LawnMowerActivity) {
300
+ /** Device is in error state, needs assistance. */
301
+ LawnMowerActivity["ERROR"] = "error";
302
+ /** Paused during activity. */
303
+ LawnMowerActivity["PAUSED"] = "paused";
304
+ /** Device is mowing. */
305
+ LawnMowerActivity["MOWING"] = "mowing";
306
+ /** Device is docked. */
307
+ LawnMowerActivity["DOCKED"] = "docked";
308
+ })(LawnMowerActivity || (exports.LawnMowerActivity = LawnMowerActivity = {}));
309
+ /**
310
+ * Supported features of the lawn mower entity.
311
+ */
312
+ var LawnMowerEntityFeature;
313
+ (function (LawnMowerEntityFeature) {
314
+ LawnMowerEntityFeature[LawnMowerEntityFeature["START_MOWING"] = 1] = "START_MOWING";
315
+ LawnMowerEntityFeature[LawnMowerEntityFeature["PAUSE"] = 2] = "PAUSE";
316
+ LawnMowerEntityFeature[LawnMowerEntityFeature["DOCK"] = 4] = "DOCK";
317
+ })(LawnMowerEntityFeature || (exports.LawnMowerEntityFeature = LawnMowerEntityFeature = {}));
318
+ /**
319
+ * Supported features of the lock entity.
320
+ */
321
+ var LockEntityFeature;
322
+ (function (LockEntityFeature) {
323
+ LockEntityFeature[LockEntityFeature["OPEN"] = 1] = "OPEN";
324
+ })(LockEntityFeature || (exports.LockEntityFeature = LockEntityFeature = {}));
325
+ /**
326
+ * Enqueue types for playing media.
327
+ */
328
+ var MediaPlayerEnqueue;
329
+ (function (MediaPlayerEnqueue) {
330
+ /** Add given media item to end of the queue */
331
+ MediaPlayerEnqueue["ADD"] = "add";
332
+ /** Play the given media item next, keep queue */
333
+ MediaPlayerEnqueue["NEXT"] = "next";
334
+ /** Play the given media item now, keep queue */
335
+ MediaPlayerEnqueue["PLAY"] = "play";
336
+ /** Play the given media item now, clear queue */
337
+ MediaPlayerEnqueue["REPLACE"] = "replace";
338
+ })(MediaPlayerEnqueue || (exports.MediaPlayerEnqueue = MediaPlayerEnqueue = {}));
339
+ /**
340
+ * State of media player entities.
341
+ */
342
+ var MediaPlayerState;
343
+ (function (MediaPlayerState) {
344
+ MediaPlayerState["OFF"] = "off";
345
+ MediaPlayerState["ON"] = "on";
346
+ MediaPlayerState["IDLE"] = "idle";
347
+ MediaPlayerState["PLAYING"] = "playing";
348
+ MediaPlayerState["PAUSED"] = "paused";
349
+ MediaPlayerState["STANDBY"] = "standby";
350
+ MediaPlayerState["BUFFERING"] = "buffering";
351
+ })(MediaPlayerState || (exports.MediaPlayerState = MediaPlayerState = {}));
352
+ /**
353
+ * Media class for media player entities.
354
+ */
355
+ var MediaClass;
356
+ (function (MediaClass) {
357
+ MediaClass["ALBUM"] = "album";
358
+ MediaClass["APP"] = "app";
359
+ MediaClass["ARTIST"] = "artist";
360
+ MediaClass["CHANNEL"] = "channel";
361
+ MediaClass["COMPOSER"] = "composer";
362
+ MediaClass["CONTRIBUTING_ARTIST"] = "contributing_artist";
363
+ MediaClass["DIRECTORY"] = "directory";
364
+ MediaClass["EPISODE"] = "episode";
365
+ MediaClass["GAME"] = "game";
366
+ MediaClass["GENRE"] = "genre";
367
+ MediaClass["IMAGE"] = "image";
368
+ MediaClass["MOVIE"] = "movie";
369
+ MediaClass["MUSIC"] = "music";
370
+ MediaClass["PLAYLIST"] = "playlist";
371
+ MediaClass["PODCAST"] = "podcast";
372
+ MediaClass["SEASON"] = "season";
373
+ MediaClass["TRACK"] = "track";
374
+ MediaClass["TV_SHOW"] = "tv_show";
375
+ MediaClass["URL"] = "url";
376
+ MediaClass["VIDEO"] = "video";
377
+ })(MediaClass || (exports.MediaClass = MediaClass = {}));
378
+ /**
379
+ * Media type for media player entities.
380
+ */
381
+ var MediaType;
382
+ (function (MediaType) {
383
+ MediaType["ALBUM"] = "album";
384
+ MediaType["APP"] = "app";
385
+ MediaType["APPS"] = "apps";
386
+ MediaType["ARTIST"] = "artist";
387
+ MediaType["CHANNEL"] = "channel";
388
+ MediaType["CHANNELS"] = "channels";
389
+ MediaType["COMPOSER"] = "composer";
390
+ MediaType["CONTRIBUTING_ARTIST"] = "contributing_artist";
391
+ MediaType["EPISODE"] = "episode";
392
+ MediaType["GAME"] = "game";
393
+ MediaType["GENRE"] = "genre";
394
+ MediaType["IMAGE"] = "image";
395
+ MediaType["MOVIE"] = "movie";
396
+ MediaType["MUSIC"] = "music";
397
+ MediaType["PLAYLIST"] = "playlist";
398
+ MediaType["PODCAST"] = "podcast";
399
+ MediaType["SEASON"] = "season";
400
+ MediaType["TRACK"] = "track";
401
+ MediaType["TVSHOW"] = "tvshow";
402
+ MediaType["URL"] = "url";
403
+ MediaType["VIDEO"] = "video";
404
+ })(MediaType || (exports.MediaType = MediaType = {}));
405
+ /**
406
+ * Repeat mode for media player entities.
407
+ */
408
+ var RepeatMode;
409
+ (function (RepeatMode) {
410
+ RepeatMode["ALL"] = "all";
411
+ RepeatMode["OFF"] = "off";
412
+ RepeatMode["ONE"] = "one";
413
+ })(RepeatMode || (exports.RepeatMode = RepeatMode = {}));
414
+ /**
415
+ * Supported features of the media player entity.
416
+ */
417
+ var MediaPlayerEntityFeature;
418
+ (function (MediaPlayerEntityFeature) {
419
+ MediaPlayerEntityFeature[MediaPlayerEntityFeature["PAUSE"] = 1] = "PAUSE";
420
+ MediaPlayerEntityFeature[MediaPlayerEntityFeature["SEEK"] = 2] = "SEEK";
421
+ MediaPlayerEntityFeature[MediaPlayerEntityFeature["VOLUME_SET"] = 4] = "VOLUME_SET";
422
+ MediaPlayerEntityFeature[MediaPlayerEntityFeature["VOLUME_MUTE"] = 8] = "VOLUME_MUTE";
423
+ MediaPlayerEntityFeature[MediaPlayerEntityFeature["PREVIOUS_TRACK"] = 16] = "PREVIOUS_TRACK";
424
+ MediaPlayerEntityFeature[MediaPlayerEntityFeature["NEXT_TRACK"] = 32] = "NEXT_TRACK";
425
+ MediaPlayerEntityFeature[MediaPlayerEntityFeature["TURN_ON"] = 128] = "TURN_ON";
426
+ MediaPlayerEntityFeature[MediaPlayerEntityFeature["TURN_OFF"] = 256] = "TURN_OFF";
427
+ MediaPlayerEntityFeature[MediaPlayerEntityFeature["PLAY_MEDIA"] = 512] = "PLAY_MEDIA";
428
+ MediaPlayerEntityFeature[MediaPlayerEntityFeature["VOLUME_STEP"] = 1024] = "VOLUME_STEP";
429
+ MediaPlayerEntityFeature[MediaPlayerEntityFeature["SELECT_SOURCE"] = 2048] = "SELECT_SOURCE";
430
+ MediaPlayerEntityFeature[MediaPlayerEntityFeature["STOP"] = 4096] = "STOP";
431
+ MediaPlayerEntityFeature[MediaPlayerEntityFeature["CLEAR_PLAYLIST"] = 8192] = "CLEAR_PLAYLIST";
432
+ MediaPlayerEntityFeature[MediaPlayerEntityFeature["PLAY"] = 16384] = "PLAY";
433
+ MediaPlayerEntityFeature[MediaPlayerEntityFeature["SHUFFLE_SET"] = 32768] = "SHUFFLE_SET";
434
+ MediaPlayerEntityFeature[MediaPlayerEntityFeature["SELECT_SOUND_MODE"] = 65536] = "SELECT_SOUND_MODE";
435
+ MediaPlayerEntityFeature[MediaPlayerEntityFeature["BROWSE_MEDIA"] = 131072] = "BROWSE_MEDIA";
436
+ MediaPlayerEntityFeature[MediaPlayerEntityFeature["REPEAT_SET"] = 262144] = "REPEAT_SET";
437
+ MediaPlayerEntityFeature[MediaPlayerEntityFeature["GROUPING"] = 524288] = "GROUPING";
438
+ MediaPlayerEntityFeature[MediaPlayerEntityFeature["MEDIA_ANNOUNCE"] = 1048576] = "MEDIA_ANNOUNCE";
439
+ MediaPlayerEntityFeature[MediaPlayerEntityFeature["MEDIA_ENQUEUE"] = 2097152] = "MEDIA_ENQUEUE";
440
+ })(MediaPlayerEntityFeature || (exports.MediaPlayerEntityFeature = MediaPlayerEntityFeature = {}));
441
+ /**
442
+ * Supported features of a notify entity.
443
+ */
444
+ var NotifyEntityFeature;
445
+ (function (NotifyEntityFeature) {
446
+ NotifyEntityFeature[NotifyEntityFeature["TITLE"] = 1] = "TITLE";
447
+ })(NotifyEntityFeature || (exports.NotifyEntityFeature = NotifyEntityFeature = {}));
448
+ /**
449
+ * Supported features of the remote entity.
450
+ */
451
+ var RemoteEntityFeature;
452
+ (function (RemoteEntityFeature) {
453
+ RemoteEntityFeature[RemoteEntityFeature["LEARN_COMMAND"] = 1] = "LEARN_COMMAND";
454
+ RemoteEntityFeature[RemoteEntityFeature["DELETE_COMMAND"] = 2] = "DELETE_COMMAND";
455
+ RemoteEntityFeature[RemoteEntityFeature["ACTIVITY"] = 4] = "ACTIVITY";
456
+ })(RemoteEntityFeature || (exports.RemoteEntityFeature = RemoteEntityFeature = {}));
457
+ /**
458
+ * Supported features of the siren entity.
459
+ */
460
+ var SirenEntityFeature;
461
+ (function (SirenEntityFeature) {
462
+ SirenEntityFeature[SirenEntityFeature["TURN_ON"] = 1] = "TURN_ON";
463
+ SirenEntityFeature[SirenEntityFeature["TURN_OFF"] = 2] = "TURN_OFF";
464
+ SirenEntityFeature[SirenEntityFeature["TONES"] = 4] = "TONES";
465
+ SirenEntityFeature[SirenEntityFeature["VOLUME_SET"] = 8] = "VOLUME_SET";
466
+ SirenEntityFeature[SirenEntityFeature["DURATION"] = 16] = "DURATION";
467
+ })(SirenEntityFeature || (exports.SirenEntityFeature = SirenEntityFeature = {}));
468
+ /**
469
+ * Device class for switches.
470
+ */
471
+ var SwitchDeviceClass;
472
+ (function (SwitchDeviceClass) {
473
+ SwitchDeviceClass["OUTLET"] = "outlet";
474
+ SwitchDeviceClass["SWITCH"] = "switch";
475
+ })(SwitchDeviceClass || (exports.SwitchDeviceClass = SwitchDeviceClass = {}));
476
+ /**
477
+ * Supported features of the vacuum entity.
478
+ */
479
+ var VacuumEntityFeature;
480
+ (function (VacuumEntityFeature) {
481
+ VacuumEntityFeature[VacuumEntityFeature["TURN_ON"] = 1] = "TURN_ON";
482
+ VacuumEntityFeature[VacuumEntityFeature["TURN_OFF"] = 2] = "TURN_OFF";
483
+ VacuumEntityFeature[VacuumEntityFeature["PAUSE"] = 4] = "PAUSE";
484
+ VacuumEntityFeature[VacuumEntityFeature["STOP"] = 8] = "STOP";
485
+ VacuumEntityFeature[VacuumEntityFeature["RETURN_HOME"] = 16] = "RETURN_HOME";
486
+ VacuumEntityFeature[VacuumEntityFeature["FAN_SPEED"] = 32] = "FAN_SPEED";
487
+ VacuumEntityFeature[VacuumEntityFeature["BATTERY"] = 64] = "BATTERY";
488
+ VacuumEntityFeature[VacuumEntityFeature["STATUS"] = 128] = "STATUS";
489
+ VacuumEntityFeature[VacuumEntityFeature["SEND_COMMAND"] = 256] = "SEND_COMMAND";
490
+ VacuumEntityFeature[VacuumEntityFeature["LOCATE"] = 512] = "LOCATE";
491
+ VacuumEntityFeature[VacuumEntityFeature["CLEAN_SPOT"] = 1024] = "CLEAN_SPOT";
492
+ VacuumEntityFeature[VacuumEntityFeature["MAP"] = 2048] = "MAP";
493
+ VacuumEntityFeature[VacuumEntityFeature["STATE"] = 4096] = "STATE";
494
+ VacuumEntityFeature[VacuumEntityFeature["START"] = 8192] = "START";
495
+ })(VacuumEntityFeature || (exports.VacuumEntityFeature = VacuumEntityFeature = {}));
496
+ /**
497
+ * Device class for valve.
498
+ */
499
+ var ValveDeviceClass;
500
+ (function (ValveDeviceClass) {
501
+ ValveDeviceClass["WATER"] = "water";
502
+ ValveDeviceClass["GAS"] = "gas";
503
+ })(ValveDeviceClass || (exports.ValveDeviceClass = ValveDeviceClass = {}));
504
+ /**
505
+ * Supported features of the valve entity.
506
+ */
507
+ var ValveEntityFeature;
508
+ (function (ValveEntityFeature) {
509
+ ValveEntityFeature[ValveEntityFeature["OPEN"] = 1] = "OPEN";
510
+ ValveEntityFeature[ValveEntityFeature["CLOSE"] = 2] = "CLOSE";
511
+ ValveEntityFeature[ValveEntityFeature["SET_POSITION"] = 4] = "SET_POSITION";
512
+ ValveEntityFeature[ValveEntityFeature["STOP"] = 8] = "STOP";
513
+ })(ValveEntityFeature || (exports.ValveEntityFeature = ValveEntityFeature = {}));
514
+ /**
515
+ * Supported features of the water heater entity.
516
+ */
517
+ var WaterHeaterEntityFeature;
518
+ (function (WaterHeaterEntityFeature) {
519
+ WaterHeaterEntityFeature[WaterHeaterEntityFeature["TARGET_TEMPERATURE"] = 1] = "TARGET_TEMPERATURE";
520
+ WaterHeaterEntityFeature[WaterHeaterEntityFeature["OPERATION_MODE"] = 2] = "OPERATION_MODE";
521
+ WaterHeaterEntityFeature[WaterHeaterEntityFeature["AWAY_MODE"] = 4] = "AWAY_MODE";
522
+ WaterHeaterEntityFeature[WaterHeaterEntityFeature["ON_OFF"] = 8] = "ON_OFF";
523
+ })(WaterHeaterEntityFeature || (exports.WaterHeaterEntityFeature = WaterHeaterEntityFeature = {}));
524
+ /**
525
+ * Supported features of the weather entity.
526
+ */
527
+ var WeatherEntityFeature;
528
+ (function (WeatherEntityFeature) {
529
+ WeatherEntityFeature[WeatherEntityFeature["FORECAST_DAILY"] = 1] = "FORECAST_DAILY";
530
+ WeatherEntityFeature[WeatherEntityFeature["FORECAST_HOURLY"] = 2] = "FORECAST_HOURLY";
531
+ WeatherEntityFeature[WeatherEntityFeature["FORECAST_TWICE_DAILY"] = 4] = "FORECAST_TWICE_DAILY";
532
+ })(WeatherEntityFeature || (exports.WeatherEntityFeature = WeatherEntityFeature = {}));
533
+ /**
534
+ * Device class for update.
535
+ */
536
+ var UpdateDeviceClass;
537
+ (function (UpdateDeviceClass) {
538
+ UpdateDeviceClass["FIRMWARE"] = "firmware";
539
+ })(UpdateDeviceClass || (exports.UpdateDeviceClass = UpdateDeviceClass = {}));
540
+ /**
541
+ * Supported features of the update entity.
542
+ */
543
+ var UpdateEntityFeature;
544
+ (function (UpdateEntityFeature) {
545
+ UpdateEntityFeature[UpdateEntityFeature["INSTALL"] = 1] = "INSTALL";
546
+ UpdateEntityFeature[UpdateEntityFeature["SPECIFIC_VERSION"] = 2] = "SPECIFIC_VERSION";
547
+ UpdateEntityFeature[UpdateEntityFeature["PROGRESS"] = 4] = "PROGRESS";
548
+ UpdateEntityFeature[UpdateEntityFeature["BACKUP"] = 8] = "BACKUP";
549
+ UpdateEntityFeature[UpdateEntityFeature["RELEASE_NOTES"] = 16] = "RELEASE_NOTES";
550
+ })(UpdateEntityFeature || (exports.UpdateEntityFeature = UpdateEntityFeature = {}));
551
+ //# sourceMappingURL=features.helper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"features.helper.js","sourceRoot":"","sources":["../../src/helpers/features.helper.ts"],"names":[],"mappings":";AAAA,wDAAwD;A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,mEAAY,CAAA;IACZ,4EAAiB,CAAA;IACjB,8DAAU,CAAA;IACV,kEAAY,CAAA;IACZ,kEAAY,CAAA;AACd,CAAC,EAfW,mBAAmB,mCAAnB,mBAAmB,QAe9B;AAED;;GAEG;AACH,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,mCAAe,CAAA;IACf,+BAAW,CAAA;AACb,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B;AAED;;GAEG;AACH,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,2DAAQ,CAAA;IACR,6DAAS,CAAA;IACT,2EAAgB,CAAA;IAChB,2DAAQ,CAAA;AACV,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B;AAED;;GAEG;AACH,IAAY,wBAKX;AALD,WAAY,wBAAwB;IAClC,mGAAsB,CAAA;IACtB,2FAAkB,CAAA;IAClB,iFAAa,CAAA;IACb,2EAAU,CAAA;AACZ,CAAC,EALW,wBAAwB,wCAAxB,wBAAwB,QAKnC;AAED;;GAEG;AACH,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,mFAAkB,CAAA;IAClB,qFAAmB,CAAA;IACnB,+FAAwB,CAAA;AAC1B,CAAC,EAJW,oBAAoB,oCAApB,oBAAoB,QAI/B;AAED;;GAEG;AACH,IAAY,iBAEX;AAFD,WAAY,iBAAiB;IAC3B,0CAAqB,CAAA;AACvB,CAAC,EAFW,iBAAiB,iCAAjB,iBAAiB,QAE5B;AAED;;GAEG;AACH,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,mEAAW,CAAA;IACX,qFAAoB,CAAA;IACpB,qEAAY,CAAA;IACZ,iEAAU,CAAA;IACV,gFAAkB,CAAA;AACpB,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
@@ -2,6 +2,7 @@ export * from "./backup.helper";
2
2
  export * from "./constants.helper";
3
3
  export * from "./device.helper";
4
4
  export * from "./entity-state.helper";
5
+ export * from "./features.helper";
5
6
  export * from "./fetch";
6
7
  export * from "./metrics.helper";
7
8
  export * from "./registry";
@@ -5,6 +5,7 @@ tslib_1.__exportStar(require("./backup.helper"), exports);
5
5
  tslib_1.__exportStar(require("./constants.helper"), exports);
6
6
  tslib_1.__exportStar(require("./device.helper"), exports);
7
7
  tslib_1.__exportStar(require("./entity-state.helper"), exports);
8
+ tslib_1.__exportStar(require("./features.helper"), exports);
8
9
  tslib_1.__exportStar(require("./fetch"), exports);
9
10
  tslib_1.__exportStar(require("./metrics.helper"), exports);
10
11
  tslib_1.__exportStar(require("./registry"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":";;;AAAA,0DAAgC;AAChC,6DAAmC;AACnC,0DAAgC;AAChC,gEAAsC;AACtC,kDAAwB;AACxB,2DAAiC;AACjC,qDAA2B;AAC3B,2DAAiC;AACjC,6DAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":";;;AAAA,0DAAgC;AAChC,6DAAmC;AACnC,0DAAgC;AAChC,gEAAsC;AACtC,4DAAkC;AAClC,kDAAwB;AACxB,2DAAiC;AACjC,qDAA2B;AAC3B,2DAAiC;AACjC,6DAAmC"}
@@ -0,0 +1 @@
1
+ export {};