@camstack/types 1.2.568 → 1.2.569
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/CHANGELOG.md +6 -1
- package/dist/addon.js +2 -2
- package/dist/addon.mjs +2 -2
- package/dist/capabilities/index.d.ts +3 -1
- package/dist/capabilities/weather-station.cap.d.ts +255 -0
- package/dist/client.js +7 -0
- package/dist/client.mjs +7 -0
- package/dist/{composed-stable-id-BzXh1Swk.js → composed-stable-id-C3NfRTj8.js} +3 -0
- package/dist/{composed-stable-id-COP6zOXx.mjs → composed-stable-id-RvQIEpqg.mjs} +3 -0
- package/dist/device/device-icon.d.ts +1 -0
- package/dist/device/device-type.d.ts +3 -0
- package/dist/device/hero/hero-layout.d.ts +1 -0
- package/dist/device/hero/hero-look.d.ts +6 -0
- package/dist/device/hero/hero-scene.d.ts +1 -0
- package/dist/generated/addon-api.d.ts +14 -0
- package/dist/generated/addon-cap-facts.d.ts +1 -1
- package/dist/generated/cap-status-types.d.ts +3 -1
- package/dist/generated/cap-vocabulary.d.ts +1 -1
- package/dist/generated/capability-router-map.d.ts +5 -2
- package/dist/generated/customize-catalog.d.ts +1 -1
- package/dist/generated/device-local-state.d.ts +3 -0
- package/dist/generated/device-proxy.d.ts +3 -0
- package/dist/generated/device-scoped-caps.d.ts +1 -1
- package/dist/generated/history-catalog.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/generated/runtime-state-durability.d.ts +1 -1
- package/dist/{implemented-methods-0xxMOekw.mjs → implemented-methods-C5FMXLGP.mjs} +1 -1
- package/dist/{implemented-methods-D4F6RWkO.js → implemented-methods-C7ScGvEz.js} +1 -1
- package/dist/index.js +127 -15
- package/dist/index.mjs +126 -16
- package/dist/node.js +2 -2
- package/dist/node.mjs +2 -2
- package/dist/{sleep-BTb3-IPb.js → sleep-DR76P1OE.js} +235 -3
- package/dist/{sleep-DEd_klYQ.mjs → sleep-DbhT0DWV.mjs} +235 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.2.569] - 2026-11-14
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- A physical weather station is its own device type, with one nullable reading for temperature, wind, rain, pressure, UV and dew point.
|
|
15
|
+
|
|
10
16
|
## [1.2.568] - 2026-11-14
|
|
11
17
|
|
|
12
18
|
### Added
|
|
@@ -25,7 +31,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
25
31
|
- Remote: the source last sent by an infrared remote is no longer kept as state
|
|
26
32
|
### Changed
|
|
27
33
|
|
|
28
|
-
|
|
29
34
|
## [1.2.566] - 2026-11-14
|
|
30
35
|
|
|
31
36
|
### Changed
|
package/dist/addon.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_sleep = require("./sleep-
|
|
2
|
+
const require_sleep = require("./sleep-DR76P1OE.js");
|
|
3
3
|
const require_event_category = require("./event-category-d9kiqCqC.js");
|
|
4
|
-
const require_composed_stable_id = require("./composed-stable-id-
|
|
4
|
+
const require_composed_stable_id = require("./composed-stable-id-C3NfRTj8.js");
|
|
5
5
|
//#region src/generated/cap-input-defaults.ts
|
|
6
6
|
/**
|
|
7
7
|
* AUTO-GENERATED by scripts/generate-cap-input-defaults.ts — DO NOT EDIT.
|
package/dist/addon.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as DEVICE_CHILDREN_BATCH_MAX, $n as isZodSecret, $r as recordSecretRef, A as CAP_ADVANCE_FIELDS, Ai as InvalidRecordError, An as PEER_BYTES_CHUNK_BYTES, Bi as TransactRefusedError, Bn as entryBody, Cn as MIN_SCRUBBED_LENGTH, Da as findMigrationsBlocked, Di as DeclarationRefusedError, Dn as registerKnownSecret, Ea as AddonMigrationsBlockedError, Ei as BatchTooLargeError, En as knownSecretCount, Et as createDebugEmitter, F as withoutCallerStamp, Fi as RecordSecretUnavailableError, Fn as CALLER_USERNAME_HEADER, Fr as nodeIdOfScopedKey, G as readNodePin, Gn as RecordKindNameSchema, H as commandOrigin, Hi as UnknownRecordKindError, Hn as RecordFieldPathSchema, I as customAction, Ii as RecordTooLargeError, In as DATAPLANE_SECRET_HEADER, Ir as resolveDeviceSettings, J as PipelineRunResultBridge, Jn as assertValidDeclaration, Jr as collectSecretLeaves, Kn as RecordRetentionSchema, Kr as secretViewsOf, L as defineCustomActions, Li as RecordUniqueViolationError, Lr as resolvedValues, Mi as PlaintextSecretError, Mn as PEER_BYTES_STALL_MS, N as CAP_STATE_LEAVES, Ni as RECORDS_ERROR_CODES, Nn as PEER_BYTES_TICKET_TTL_MS, O as HF_REPO, Oi as FilterRequiredError, On as scrubKnownSecrets, P as CALLER_STAMPED_CAPABILITIES, Pi as RecordNotFoundError, Pr as SCOPED_SETTINGS_SCOPES, Q as deviceOpsCapability, Qn as collectZodSecretPaths, Qr as recordSecretCollection, R as describeCustomActions, Ri as RecordsError, Rn as DisposerChain, Si as parseSecretRef, Sn as createSecretsAccess, T as isCommand, Tn as forgetKnownSecret, U as nodePin, Ui as asRecordsError, Un as RecordIndexSchema, Vi as UnindexedFilterError, Vn as EntryDescriptorSchema, W as readCommandOrigin, Wi as recordsErrorFromMessage, Wn as RecordKindDeclarationSchema, X as MIGRATION_API_VERSION, Xn as defineRecordKinds, Xr as parseSecretPath, Y as PipelineStepInputSchema, Yn as declarationsOf, Yr as mapSecretLeaves, Zr as recordArrayItemPath, _a as makeSecretMarker, _i as buildSecretRef, _n as makeInMemoryRecords, ai as RECORD_DEFAULT_MAX_DATA_BYTES, bi as isSecretRef, bn as resolveSecretViewsIn, c as asString, ci as RECORD_MAX_DATA_BYTES, d as parseJsonUnknown, da as SECRET_CLEAR, di as RECORD_QUERY_MAX, ea as createEvent, ei as secretArrayPrefixes, et as adminUiCapability, f as hfModelUrl, fa as classifySecretWrite, fi as RECORD_SECRET_COLLECTION_PREFIX, g as createDeviceProxy, ga as isSecretMarkerLike, gi as arrayItemFieldPath, gn as ruleFireOfClaim, gr as ErrorI18nPayloadSchema, h as isDeviceScopedCap, ha as isSecretMarker, hi as SECRET_REF_SCHEME, hn as RuleFireOriginSchema, ht as ReadinessTimeoutError, ii as RECORD_DATABASES, j as CAP_METHOD_TIMEOUTS_MS, ji as NoCallerError, jn as PEER_BYTES_MAX_OUTSTANDING, ki as ForeignSecretMarkerError, kn as shortSecretRefHash, li as RECORD_MAX_INDEXES, m as DEVICE_SCOPED_CAPS, ma as isSecretFieldView, mi as RECORD_SWEEP_INTERVAL_MS, mn as CommandOriginClaimSchema, mt as ReadinessRegistry, ni as RECORD_BATCH_MAX_BYTES, nt as addonPagesSourceCapability, o as asJsonObject, oi as RECORD_DELETE_BATCH, p as BOOT_RECOVERY_BACKOFF_MS, pa as isSecretClear, pi as RECORD_SETTINGS_MAX_ROWS, pt as MODEL_FORMATS, q as viewerUiCapability, qn as StoredRecordKindDeclarationSchema, qr as REMOVE_LEAF, r as maskUrlCredentials, ri as RECORD_CLASSES, si as RECORD_ID_MAX_LENGTH, sr as expandCapMethods, t as sleep, ta as emitReadiness, ti as RECORD_BATCH_MAX, ui as RECORD_MAX_INDEX_FIELDS, v as addonSliceHandleApi, va as toSecretFieldView, vi as formatSecretScope, vn as createRecordsAccess, vt as scopeKey, wn as clearKnownSecrets, wr as normalizeAddonInitResult, xi as normalizeSecretOwner, xn as REVALIDATE_AFTER_MS, xr as BaseAddon, y as createEventBusSliceSource, yi as globalSecretScope, yn as assertTransactScope, yr as readErrorI18n, zi as RevConflictError, zn as defineEntryKind } from "./sleep-
|
|
1
|
+
import { $ as DEVICE_CHILDREN_BATCH_MAX, $n as isZodSecret, $r as recordSecretRef, A as CAP_ADVANCE_FIELDS, Ai as InvalidRecordError, An as PEER_BYTES_CHUNK_BYTES, Bi as TransactRefusedError, Bn as entryBody, Cn as MIN_SCRUBBED_LENGTH, Da as findMigrationsBlocked, Di as DeclarationRefusedError, Dn as registerKnownSecret, Ea as AddonMigrationsBlockedError, Ei as BatchTooLargeError, En as knownSecretCount, Et as createDebugEmitter, F as withoutCallerStamp, Fi as RecordSecretUnavailableError, Fn as CALLER_USERNAME_HEADER, Fr as nodeIdOfScopedKey, G as readNodePin, Gn as RecordKindNameSchema, H as commandOrigin, Hi as UnknownRecordKindError, Hn as RecordFieldPathSchema, I as customAction, Ii as RecordTooLargeError, In as DATAPLANE_SECRET_HEADER, Ir as resolveDeviceSettings, J as PipelineRunResultBridge, Jn as assertValidDeclaration, Jr as collectSecretLeaves, Kn as RecordRetentionSchema, Kr as secretViewsOf, L as defineCustomActions, Li as RecordUniqueViolationError, Lr as resolvedValues, Mi as PlaintextSecretError, Mn as PEER_BYTES_STALL_MS, N as CAP_STATE_LEAVES, Ni as RECORDS_ERROR_CODES, Nn as PEER_BYTES_TICKET_TTL_MS, O as HF_REPO, Oi as FilterRequiredError, On as scrubKnownSecrets, P as CALLER_STAMPED_CAPABILITIES, Pi as RecordNotFoundError, Pr as SCOPED_SETTINGS_SCOPES, Q as deviceOpsCapability, Qn as collectZodSecretPaths, Qr as recordSecretCollection, R as describeCustomActions, Ri as RecordsError, Rn as DisposerChain, Si as parseSecretRef, Sn as createSecretsAccess, T as isCommand, Tn as forgetKnownSecret, U as nodePin, Ui as asRecordsError, Un as RecordIndexSchema, Vi as UnindexedFilterError, Vn as EntryDescriptorSchema, W as readCommandOrigin, Wi as recordsErrorFromMessage, Wn as RecordKindDeclarationSchema, X as MIGRATION_API_VERSION, Xn as defineRecordKinds, Xr as parseSecretPath, Y as PipelineStepInputSchema, Yn as declarationsOf, Yr as mapSecretLeaves, Zr as recordArrayItemPath, _a as makeSecretMarker, _i as buildSecretRef, _n as makeInMemoryRecords, ai as RECORD_DEFAULT_MAX_DATA_BYTES, bi as isSecretRef, bn as resolveSecretViewsIn, c as asString, ci as RECORD_MAX_DATA_BYTES, d as parseJsonUnknown, da as SECRET_CLEAR, di as RECORD_QUERY_MAX, ea as createEvent, ei as secretArrayPrefixes, et as adminUiCapability, f as hfModelUrl, fa as classifySecretWrite, fi as RECORD_SECRET_COLLECTION_PREFIX, g as createDeviceProxy, ga as isSecretMarkerLike, gi as arrayItemFieldPath, gn as ruleFireOfClaim, gr as ErrorI18nPayloadSchema, h as isDeviceScopedCap, ha as isSecretMarker, hi as SECRET_REF_SCHEME, hn as RuleFireOriginSchema, ht as ReadinessTimeoutError, ii as RECORD_DATABASES, j as CAP_METHOD_TIMEOUTS_MS, ji as NoCallerError, jn as PEER_BYTES_MAX_OUTSTANDING, ki as ForeignSecretMarkerError, kn as shortSecretRefHash, li as RECORD_MAX_INDEXES, m as DEVICE_SCOPED_CAPS, ma as isSecretFieldView, mi as RECORD_SWEEP_INTERVAL_MS, mn as CommandOriginClaimSchema, mt as ReadinessRegistry, ni as RECORD_BATCH_MAX_BYTES, nt as addonPagesSourceCapability, o as asJsonObject, oi as RECORD_DELETE_BATCH, p as BOOT_RECOVERY_BACKOFF_MS, pa as isSecretClear, pi as RECORD_SETTINGS_MAX_ROWS, pt as MODEL_FORMATS, q as viewerUiCapability, qn as StoredRecordKindDeclarationSchema, qr as REMOVE_LEAF, r as maskUrlCredentials, ri as RECORD_CLASSES, si as RECORD_ID_MAX_LENGTH, sr as expandCapMethods, t as sleep, ta as emitReadiness, ti as RECORD_BATCH_MAX, ui as RECORD_MAX_INDEX_FIELDS, v as addonSliceHandleApi, va as toSecretFieldView, vi as formatSecretScope, vn as createRecordsAccess, vt as scopeKey, wn as clearKnownSecrets, wr as normalizeAddonInitResult, xi as normalizeSecretOwner, xn as REVALIDATE_AFTER_MS, xr as BaseAddon, y as createEventBusSliceSource, yi as globalSecretScope, yn as assertTransactScope, yr as readErrorI18n, zi as RevConflictError, zn as defineEntryKind } from "./sleep-DbhT0DWV.mjs";
|
|
2
2
|
import { t as EventCategory } from "./event-category-Dhcd0TRH.mjs";
|
|
3
|
-
import { a as DeviceType, s as errMsg, t as COMPOSED_DEVICE_STABLE_ID_PREFIX } from "./composed-stable-id-
|
|
3
|
+
import { a as DeviceType, s as errMsg, t as COMPOSED_DEVICE_STABLE_ID_PREFIX } from "./composed-stable-id-RvQIEpqg.mjs";
|
|
4
4
|
//#region src/generated/cap-input-defaults.ts
|
|
5
5
|
/**
|
|
6
6
|
* AUTO-GENERATED by scripts/generate-cap-input-defaults.ts — DO NOT EDIT.
|
|
@@ -280,6 +280,7 @@ export { type IValveProvider, type ValveState, ValveStateSchema, type ValveStatu
|
|
|
280
280
|
export { type IVibrationProvider, type VibrationStatus, VibrationStatusSchema, vibrationCapability, } from './vibration.cap.js';
|
|
281
281
|
export { type IWaterHeaterProvider, type WaterHeaterStatus, WaterHeaterStatusSchema, waterHeaterCapability, } from './water-heater.cap.js';
|
|
282
282
|
export { type IWeatherProvider, type WeatherStatus, WeatherStatusSchema, weatherCapability, } from './weather.cap.js';
|
|
283
|
+
export { type IWeatherStationProvider, type WeatherStationStatus, WeatherStationStatusSchema, weatherStationCapability, } from './weather-station.cap.js';
|
|
283
284
|
export { type CameraOccupancySnapshot, type CameraOccupancySnapshotForDevice, CameraOccupancySnapshotForDeviceSchema, type HistoryPoint, HistoryPointSchema, type HistoryResolution, HistoryResolutionEnum, type IZoneAnalyticsProvider, type PerScopeBreakdown, PerScopeBreakdownSchema, type StationaryObject, StationaryObjectSchema, type ZoneScopeBreakdown, ZoneScopeBreakdownSchema, zoneAnalyticsCapability, } from './zone-analytics.cap.js';
|
|
284
285
|
export { type IZoneRulesProvider, type ZoneRuleStage, ZoneRuleStageEnum, zoneRulesCapability, } from './zone-rules.cap.js';
|
|
285
286
|
export { type IZonesProvider, type PolygonPoint, PolygonPointSchema, type Zone, type ZoneKind, ZoneKindEnum, ZoneSchema, zonesCapability, } from './zones.cap.js';
|
|
@@ -488,12 +489,13 @@ import type { videoclipsCapability } from './videoclips.cap.js';
|
|
|
488
489
|
import type { viewerUiCapability } from './viewer-ui.cap.js';
|
|
489
490
|
import type { waterHeaterCapability } from './water-heater.cap.js';
|
|
490
491
|
import type { weatherCapability } from './weather.cap.js';
|
|
492
|
+
import type { weatherStationCapability } from './weather-station.cap.js';
|
|
491
493
|
import type { webrtcSessionCapability } from './webrtc-session.cap.js';
|
|
492
494
|
import type { trainingCapability } from './training.cap.js';
|
|
493
495
|
import type { trainingProviderCapability } from './training-provider.cap.js';
|
|
494
496
|
import type { zoneAnalyticsCapability } from './zone-analytics.cap.js';
|
|
495
497
|
import type { zoneRulesCapability } from './zone-rules.cap.js';
|
|
496
498
|
import type { zonesCapability } from './zones.cap.js';
|
|
497
|
-
type AnyCapability = typeof streamSignalsCapability | typeof addonSettingsCapability | typeof alertsCapability | typeof storageCapability | typeof storageMigrationCapability | typeof storageProviderCapability | typeof storageEvictableCapability | typeof storageOccupancyCapability | typeof filesystemBrowseCapability | typeof backupCapability | typeof terminalSessionCapability | typeof settingsStoreCapability | typeof dataStoreProviderCapability | typeof databaseSnapshotCapability | typeof migrationsCapability | typeof storageAdminCapability | typeof recordsCapability | typeof recordEntriesCapability | typeof deviceHistoryCapability | typeof deviceRunsCapability | typeof deviceTransitionsCapability | typeof timedRunCapability | typeof doNotDisturbCapability | typeof keychainCapability | typeof keychainAdminCapability | typeof deviceCredentialsCapability | typeof nodeCertificatesCapability | typeof logChannelsCapability | typeof logDestinationCapability | typeof loadContributionCapability | typeof failureContributionCapability | typeof deviceRemovalHookCapability | typeof nodeRemovalHookCapability | typeof adminUiCapability | typeof viewerUiCapability | typeof ssoBridgeCapability | typeof userPasskeysCapability | typeof smtpProviderCapability | typeof mqttBrokerCapability | typeof brokerCapability | typeof deviceAdoptionCapability | typeof deviceAdminLinkCapability | typeof deviceExportCapability | typeof addonPagesCapability | typeof addonPagesSourceCapability | typeof addonWidgetsCapability | typeof addonWidgetsSourceCapability | typeof customModelRegistryCapability | typeof modelDistributorCapability | typeof modelConvertCapability | typeof addonRoutesCapability | typeof streamBrokerCapability | typeof decoderCapability | typeof webrtcSessionCapability | typeof cameraStreamsCapability | typeof calendarSourceCapability | typeof calendarsCapability | typeof motionDetectionCapability | typeof pipelineExecutorCapability | typeof detectionPipelineCapability | typeof cameraPipelineConfigCapability | typeof pipelineRunnerCapability | typeof pipelineOrchestratorCapability | typeof audioAnalyzerCapability | typeof audioAnalysisCapability | typeof audioCodecCapability | typeof embeddingEncoderCapability | typeof vectorStoreCapability | typeof deviceProviderCapability | typeof deviceManagerCapability | typeof deviceStateCapability | typeof authProviderCapability | typeof loginMethodCapability | typeof networkAccessCapability | typeof boardKeySourceCapability | typeof turnProviderCapability | typeof snapshotCapability | typeof llmCapability | typeof llmRuntimeCapability | typeof notificationOutputCapability | typeof composerCapability | typeof coreBlocksCapability | typeof notificationRulesCapability | typeof pipelineAnalyticsCapability | typeof metricsProviderCapability | typeof ptzCapability | typeof ptzAutotrackCapability | typeof navigationCapability | typeof consumablesCapability | typeof runningStateCapability | typeof rebootCapability | typeof brightnessCapability | typeof colorCapability | typeof climateControlCapability | typeof coverCapability | typeof valveCapability | typeof humidifierCapability | typeof waterHeaterCapability | typeof weatherCapability | typeof imageCapability | typeof lockControlCapability | typeof powerSourceCapability | typeof vacuumControlCapability | typeof petFeederCapability | typeof petFountainCapability | typeof pumpCycleCapability | typeof lawnMowerControlCapability | typeof fanControlCapability | typeof controlCapability | typeof notifierCapability | typeof mediaPlayerCapability | typeof meterCapability | typeof alarmPanelCapability | typeof presenceCapability | typeof scriptRunnerCapability | typeof actionSourceCapability | typeof actionsCapability | typeof schedulersCapability | typeof automationControlCapability | typeof motionTriggerCapability | typeof zonesCapability | typeof zoneRulesCapability | typeof trainingCapability | typeof trainingProviderCapability | typeof zoneAnalyticsCapability | typeof audioMetricsCapability | typeof motionCapability | typeof contactCapability | typeof floodCapability | typeof smokeCapability | typeof carbonMonoxideCapability | typeof gasCapability | typeof groupActiveCapability | typeof groupCommandsCapability | typeof groupStatusCapability | typeof tamperCapability | typeof vibrationCapability | typeof connectivityCapability | typeof binaryCapability | typeof temperatureSensorCapability | typeof heatingValveCapability | typeof heatPumpStatusCapability | typeof energySystemCapability | typeof heatPumpControlCapability | typeof humiditySensorCapability | typeof ambientLightSensorCapability | typeof pressureSensorCapability | typeof powerMeterCapability | typeof airQualitySensorCapability | typeof numericSensorCapability | typeof enumSensorCapability | typeof recordingCapability | typeof recordingArchiveCapability | typeof recordingExportCapability | typeof recordingSignalCapability | typeof deviceOpsCapability | typeof displayPaletteCapability | typeof platformProbeCapability | typeof localNetworkCapability | typeof meshNetworkCapability | typeof userManagementCapability | typeof systemCapability | typeof networkQualityCapability | typeof toastCapability | typeof nodesCapability | typeof serverManagementCapability | typeof clusterUpdateCapability | typeof integrationsCapability | typeof integrationInstancesCapability | typeof addonsCapability | typeof oauthIntegrationCapability | typeof streamParamsCapability | typeof streamCatalogCapability | typeof motionZonesCapability | typeof cameraGridLayoutCapability | typeof sceneMonitorCapability | typeof privacyMaskCapability | typeof dayNightCapability | typeof recordingOnboardCapability | typeof imageSettingsCapability | typeof osdCapability | typeof osdManagerCapability | typeof accessoriesCapability | typeof batteryCapability | typeof networkLinkCapability | typeof buttonCapability | typeof irTransmitterCapability | typeof remoteCapability | typeof heroLayoutCapability | typeof fanPresetsCapability | typeof templateCapability | typeof remoteLayoutComponentsCapability | typeof cameraCredentialsCapability | typeof deviceStatusCapability | typeof doorbellCapability | typeof eventEmitterCapability | typeof faceGalleryCapability | typeof featureProbeCapability | typeof intercomCapability | typeof nativeObjectDetectionCapability | typeof plateGalleryCapability | typeof switchCapability | typeof updateCapability | typeof videoclipsCapability | typeof deviceExtensionCapability | typeof dishwasherCapability;
|
|
499
|
+
type AnyCapability = typeof streamSignalsCapability | typeof addonSettingsCapability | typeof alertsCapability | typeof storageCapability | typeof storageMigrationCapability | typeof storageProviderCapability | typeof storageEvictableCapability | typeof storageOccupancyCapability | typeof filesystemBrowseCapability | typeof backupCapability | typeof terminalSessionCapability | typeof settingsStoreCapability | typeof dataStoreProviderCapability | typeof databaseSnapshotCapability | typeof migrationsCapability | typeof storageAdminCapability | typeof recordsCapability | typeof recordEntriesCapability | typeof deviceHistoryCapability | typeof deviceRunsCapability | typeof deviceTransitionsCapability | typeof timedRunCapability | typeof doNotDisturbCapability | typeof keychainCapability | typeof keychainAdminCapability | typeof deviceCredentialsCapability | typeof nodeCertificatesCapability | typeof logChannelsCapability | typeof logDestinationCapability | typeof loadContributionCapability | typeof failureContributionCapability | typeof deviceRemovalHookCapability | typeof nodeRemovalHookCapability | typeof adminUiCapability | typeof viewerUiCapability | typeof ssoBridgeCapability | typeof userPasskeysCapability | typeof smtpProviderCapability | typeof mqttBrokerCapability | typeof brokerCapability | typeof deviceAdoptionCapability | typeof deviceAdminLinkCapability | typeof deviceExportCapability | typeof addonPagesCapability | typeof addonPagesSourceCapability | typeof addonWidgetsCapability | typeof addonWidgetsSourceCapability | typeof customModelRegistryCapability | typeof modelDistributorCapability | typeof modelConvertCapability | typeof addonRoutesCapability | typeof streamBrokerCapability | typeof decoderCapability | typeof webrtcSessionCapability | typeof cameraStreamsCapability | typeof calendarSourceCapability | typeof calendarsCapability | typeof motionDetectionCapability | typeof pipelineExecutorCapability | typeof detectionPipelineCapability | typeof cameraPipelineConfigCapability | typeof pipelineRunnerCapability | typeof pipelineOrchestratorCapability | typeof audioAnalyzerCapability | typeof audioAnalysisCapability | typeof audioCodecCapability | typeof embeddingEncoderCapability | typeof vectorStoreCapability | typeof deviceProviderCapability | typeof deviceManagerCapability | typeof deviceStateCapability | typeof authProviderCapability | typeof loginMethodCapability | typeof networkAccessCapability | typeof boardKeySourceCapability | typeof turnProviderCapability | typeof snapshotCapability | typeof llmCapability | typeof llmRuntimeCapability | typeof notificationOutputCapability | typeof composerCapability | typeof coreBlocksCapability | typeof notificationRulesCapability | typeof pipelineAnalyticsCapability | typeof metricsProviderCapability | typeof ptzCapability | typeof ptzAutotrackCapability | typeof navigationCapability | typeof consumablesCapability | typeof runningStateCapability | typeof rebootCapability | typeof brightnessCapability | typeof colorCapability | typeof climateControlCapability | typeof coverCapability | typeof valveCapability | typeof humidifierCapability | typeof waterHeaterCapability | typeof weatherCapability | typeof weatherStationCapability | typeof imageCapability | typeof lockControlCapability | typeof powerSourceCapability | typeof vacuumControlCapability | typeof petFeederCapability | typeof petFountainCapability | typeof pumpCycleCapability | typeof lawnMowerControlCapability | typeof fanControlCapability | typeof controlCapability | typeof notifierCapability | typeof mediaPlayerCapability | typeof meterCapability | typeof alarmPanelCapability | typeof presenceCapability | typeof scriptRunnerCapability | typeof actionSourceCapability | typeof actionsCapability | typeof schedulersCapability | typeof automationControlCapability | typeof motionTriggerCapability | typeof zonesCapability | typeof zoneRulesCapability | typeof trainingCapability | typeof trainingProviderCapability | typeof zoneAnalyticsCapability | typeof audioMetricsCapability | typeof motionCapability | typeof contactCapability | typeof floodCapability | typeof smokeCapability | typeof carbonMonoxideCapability | typeof gasCapability | typeof groupActiveCapability | typeof groupCommandsCapability | typeof groupStatusCapability | typeof tamperCapability | typeof vibrationCapability | typeof connectivityCapability | typeof binaryCapability | typeof temperatureSensorCapability | typeof heatingValveCapability | typeof heatPumpStatusCapability | typeof energySystemCapability | typeof heatPumpControlCapability | typeof humiditySensorCapability | typeof ambientLightSensorCapability | typeof pressureSensorCapability | typeof powerMeterCapability | typeof airQualitySensorCapability | typeof numericSensorCapability | typeof enumSensorCapability | typeof recordingCapability | typeof recordingArchiveCapability | typeof recordingExportCapability | typeof recordingSignalCapability | typeof deviceOpsCapability | typeof displayPaletteCapability | typeof platformProbeCapability | typeof localNetworkCapability | typeof meshNetworkCapability | typeof userManagementCapability | typeof systemCapability | typeof networkQualityCapability | typeof toastCapability | typeof nodesCapability | typeof serverManagementCapability | typeof clusterUpdateCapability | typeof integrationsCapability | typeof integrationInstancesCapability | typeof addonsCapability | typeof oauthIntegrationCapability | typeof streamParamsCapability | typeof streamCatalogCapability | typeof motionZonesCapability | typeof cameraGridLayoutCapability | typeof sceneMonitorCapability | typeof privacyMaskCapability | typeof dayNightCapability | typeof recordingOnboardCapability | typeof imageSettingsCapability | typeof osdCapability | typeof osdManagerCapability | typeof accessoriesCapability | typeof batteryCapability | typeof networkLinkCapability | typeof buttonCapability | typeof irTransmitterCapability | typeof remoteCapability | typeof heroLayoutCapability | typeof fanPresetsCapability | typeof templateCapability | typeof remoteLayoutComponentsCapability | typeof cameraCredentialsCapability | typeof deviceStatusCapability | typeof doorbellCapability | typeof eventEmitterCapability | typeof faceGalleryCapability | typeof featureProbeCapability | typeof intercomCapability | typeof nativeObjectDetectionCapability | typeof plateGalleryCapability | typeof switchCapability | typeof updateCapability | typeof videoclipsCapability | typeof deviceExtensionCapability | typeof dishwasherCapability;
|
|
498
500
|
export type CapabilityName = AnyCapability['name'];
|
|
499
501
|
export type ITypedReadinessRegistry = IReadinessRegistry<CapabilityName>;
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { DeviceType } from '../device/device-type.js';
|
|
3
|
+
import { type InferProvider } from './capability-definition.js';
|
|
4
|
+
/**
|
|
5
|
+
* A physical weather station (an Ecowitt outdoor array, and the same shape for
|
|
6
|
+
* any later station). Read-only: one slice per station, filled from the
|
|
7
|
+
* station's own poll. `weather` stays the forecast provider.
|
|
8
|
+
*
|
|
9
|
+
* Every reading is nullable. Null means the station does not report it;
|
|
10
|
+
* a missing sensor is never stored as 0 (D393). Units are the quantity base
|
|
11
|
+
* (D944), declared the same way sibling sensor caps declare them.
|
|
12
|
+
*/
|
|
13
|
+
export declare const WeatherStationReadingsSchema: z.ZodObject<{
|
|
14
|
+
temperature: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
humidity: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
pressure: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
windSpeed: z.ZodNullable<z.ZodNumber>;
|
|
18
|
+
windGust: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
windBearing: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
rainRate: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
rainDaily: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
rainEvent: z.ZodNullable<z.ZodNumber>;
|
|
23
|
+
uv: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
solarRadiation: z.ZodNullable<z.ZodNumber>;
|
|
25
|
+
dewPoint: z.ZodNullable<z.ZodNumber>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
export declare const WeatherStationStatusSchema: z.ZodObject<{
|
|
28
|
+
temperature: z.ZodNullable<z.ZodNumber>;
|
|
29
|
+
humidity: z.ZodNullable<z.ZodNumber>;
|
|
30
|
+
pressure: z.ZodNullable<z.ZodNumber>;
|
|
31
|
+
windSpeed: z.ZodNullable<z.ZodNumber>;
|
|
32
|
+
windGust: z.ZodNullable<z.ZodNumber>;
|
|
33
|
+
windBearing: z.ZodNullable<z.ZodNumber>;
|
|
34
|
+
rainRate: z.ZodNullable<z.ZodNumber>;
|
|
35
|
+
rainDaily: z.ZodNullable<z.ZodNumber>;
|
|
36
|
+
rainEvent: z.ZodNullable<z.ZodNumber>;
|
|
37
|
+
uv: z.ZodNullable<z.ZodNumber>;
|
|
38
|
+
solarRadiation: z.ZodNullable<z.ZodNumber>;
|
|
39
|
+
dewPoint: z.ZodNullable<z.ZodNumber>;
|
|
40
|
+
lastFetchedAt: z.ZodNumber;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
export type WeatherStationStatus = z.infer<typeof WeatherStationStatusSchema>;
|
|
43
|
+
export declare const weatherStationCapability: {
|
|
44
|
+
readonly name: 'weather-station';
|
|
45
|
+
readonly scope: 'device';
|
|
46
|
+
readonly deviceNative: true;
|
|
47
|
+
readonly mode: 'singleton';
|
|
48
|
+
readonly deviceTypes: readonly [DeviceType.WeatherStation];
|
|
49
|
+
readonly methods: {};
|
|
50
|
+
readonly status: {
|
|
51
|
+
readonly schema: z.ZodObject<{
|
|
52
|
+
temperature: z.ZodNullable<z.ZodNumber>;
|
|
53
|
+
humidity: z.ZodNullable<z.ZodNumber>;
|
|
54
|
+
pressure: z.ZodNullable<z.ZodNumber>;
|
|
55
|
+
windSpeed: z.ZodNullable<z.ZodNumber>;
|
|
56
|
+
windGust: z.ZodNullable<z.ZodNumber>;
|
|
57
|
+
windBearing: z.ZodNullable<z.ZodNumber>;
|
|
58
|
+
rainRate: z.ZodNullable<z.ZodNumber>;
|
|
59
|
+
rainDaily: z.ZodNullable<z.ZodNumber>;
|
|
60
|
+
rainEvent: z.ZodNullable<z.ZodNumber>;
|
|
61
|
+
uv: z.ZodNullable<z.ZodNumber>;
|
|
62
|
+
solarRadiation: z.ZodNullable<z.ZodNumber>;
|
|
63
|
+
dewPoint: z.ZodNullable<z.ZodNumber>;
|
|
64
|
+
lastFetchedAt: z.ZodNumber;
|
|
65
|
+
}, z.core.$strip>;
|
|
66
|
+
readonly kind: 'push';
|
|
67
|
+
};
|
|
68
|
+
readonly runtimeState: z.ZodObject<{
|
|
69
|
+
temperature: z.ZodNullable<z.ZodNumber>;
|
|
70
|
+
humidity: z.ZodNullable<z.ZodNumber>;
|
|
71
|
+
pressure: z.ZodNullable<z.ZodNumber>;
|
|
72
|
+
windSpeed: z.ZodNullable<z.ZodNumber>;
|
|
73
|
+
windGust: z.ZodNullable<z.ZodNumber>;
|
|
74
|
+
windBearing: z.ZodNullable<z.ZodNumber>;
|
|
75
|
+
rainRate: z.ZodNullable<z.ZodNumber>;
|
|
76
|
+
rainDaily: z.ZodNullable<z.ZodNumber>;
|
|
77
|
+
rainEvent: z.ZodNullable<z.ZodNumber>;
|
|
78
|
+
uv: z.ZodNullable<z.ZodNumber>;
|
|
79
|
+
solarRadiation: z.ZodNullable<z.ZodNumber>;
|
|
80
|
+
dewPoint: z.ZodNullable<z.ZodNumber>;
|
|
81
|
+
lastFetchedAt: z.ZodNumber;
|
|
82
|
+
}, z.core.$strip>;
|
|
83
|
+
/**
|
|
84
|
+
* The sensor children already record each reading. The station slice is the
|
|
85
|
+
* live aggregate a template reads; it does not keep a second series.
|
|
86
|
+
*/
|
|
87
|
+
readonly history: 'none';
|
|
88
|
+
/**
|
|
89
|
+
* Runtime-state durability: **session** — a station reading is stale the
|
|
90
|
+
* moment the hub is down; the provider re-reads on the next poll.
|
|
91
|
+
*/
|
|
92
|
+
readonly durability: 'session';
|
|
93
|
+
readonly vocabulary: {
|
|
94
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
95
|
+
readonly order: 5235;
|
|
96
|
+
readonly state: readonly [{
|
|
97
|
+
kind: 'numeric';
|
|
98
|
+
field: string;
|
|
99
|
+
quantity: {
|
|
100
|
+
en: string;
|
|
101
|
+
it: string;
|
|
102
|
+
};
|
|
103
|
+
label: {
|
|
104
|
+
en: string;
|
|
105
|
+
it: string;
|
|
106
|
+
};
|
|
107
|
+
unit: string;
|
|
108
|
+
icon: "cloud-sun" | "droplets" | "gauge" | "thermometer" | "wind";
|
|
109
|
+
}, {
|
|
110
|
+
kind: 'numeric';
|
|
111
|
+
field: string;
|
|
112
|
+
quantity: {
|
|
113
|
+
en: string;
|
|
114
|
+
it: string;
|
|
115
|
+
};
|
|
116
|
+
label: {
|
|
117
|
+
en: string;
|
|
118
|
+
it: string;
|
|
119
|
+
};
|
|
120
|
+
unit: string;
|
|
121
|
+
icon: "cloud-sun" | "droplets" | "gauge" | "thermometer" | "wind";
|
|
122
|
+
}, {
|
|
123
|
+
kind: 'numeric';
|
|
124
|
+
field: string;
|
|
125
|
+
quantity: {
|
|
126
|
+
en: string;
|
|
127
|
+
it: string;
|
|
128
|
+
};
|
|
129
|
+
label: {
|
|
130
|
+
en: string;
|
|
131
|
+
it: string;
|
|
132
|
+
};
|
|
133
|
+
unit: string;
|
|
134
|
+
icon: "cloud-sun" | "droplets" | "gauge" | "thermometer" | "wind";
|
|
135
|
+
}, {
|
|
136
|
+
kind: 'numeric';
|
|
137
|
+
field: string;
|
|
138
|
+
quantity: {
|
|
139
|
+
en: string;
|
|
140
|
+
it: string;
|
|
141
|
+
};
|
|
142
|
+
label: {
|
|
143
|
+
en: string;
|
|
144
|
+
it: string;
|
|
145
|
+
};
|
|
146
|
+
unit: string;
|
|
147
|
+
icon: "cloud-sun" | "droplets" | "gauge" | "thermometer" | "wind";
|
|
148
|
+
}, {
|
|
149
|
+
kind: 'numeric';
|
|
150
|
+
field: string;
|
|
151
|
+
quantity: {
|
|
152
|
+
en: string;
|
|
153
|
+
it: string;
|
|
154
|
+
};
|
|
155
|
+
label: {
|
|
156
|
+
en: string;
|
|
157
|
+
it: string;
|
|
158
|
+
};
|
|
159
|
+
unit: string;
|
|
160
|
+
icon: "cloud-sun" | "droplets" | "gauge" | "thermometer" | "wind";
|
|
161
|
+
}, {
|
|
162
|
+
kind: 'numeric';
|
|
163
|
+
field: string;
|
|
164
|
+
quantity: {
|
|
165
|
+
en: string;
|
|
166
|
+
it: string;
|
|
167
|
+
};
|
|
168
|
+
label: {
|
|
169
|
+
en: string;
|
|
170
|
+
it: string;
|
|
171
|
+
};
|
|
172
|
+
unit: string;
|
|
173
|
+
icon: "cloud-sun" | "droplets" | "gauge" | "thermometer" | "wind";
|
|
174
|
+
}, {
|
|
175
|
+
kind: 'numeric';
|
|
176
|
+
field: string;
|
|
177
|
+
quantity: {
|
|
178
|
+
en: string;
|
|
179
|
+
it: string;
|
|
180
|
+
};
|
|
181
|
+
label: {
|
|
182
|
+
en: string;
|
|
183
|
+
it: string;
|
|
184
|
+
};
|
|
185
|
+
unit: string;
|
|
186
|
+
icon: "cloud-sun" | "droplets" | "gauge" | "thermometer" | "wind";
|
|
187
|
+
}, {
|
|
188
|
+
kind: 'numeric';
|
|
189
|
+
field: string;
|
|
190
|
+
quantity: {
|
|
191
|
+
en: string;
|
|
192
|
+
it: string;
|
|
193
|
+
};
|
|
194
|
+
label: {
|
|
195
|
+
en: string;
|
|
196
|
+
it: string;
|
|
197
|
+
};
|
|
198
|
+
unit: string;
|
|
199
|
+
icon: "cloud-sun" | "droplets" | "gauge" | "thermometer" | "wind";
|
|
200
|
+
}, {
|
|
201
|
+
kind: 'numeric';
|
|
202
|
+
field: string;
|
|
203
|
+
quantity: {
|
|
204
|
+
en: string;
|
|
205
|
+
it: string;
|
|
206
|
+
};
|
|
207
|
+
label: {
|
|
208
|
+
en: string;
|
|
209
|
+
it: string;
|
|
210
|
+
};
|
|
211
|
+
unit: string;
|
|
212
|
+
icon: "cloud-sun" | "droplets" | "gauge" | "thermometer" | "wind";
|
|
213
|
+
}, {
|
|
214
|
+
kind: 'numeric';
|
|
215
|
+
field: string;
|
|
216
|
+
quantity: {
|
|
217
|
+
en: string;
|
|
218
|
+
it: string;
|
|
219
|
+
};
|
|
220
|
+
label: {
|
|
221
|
+
en: string;
|
|
222
|
+
it: string;
|
|
223
|
+
};
|
|
224
|
+
unit: string;
|
|
225
|
+
icon: "cloud-sun" | "droplets" | "gauge" | "thermometer" | "wind";
|
|
226
|
+
}, {
|
|
227
|
+
kind: 'numeric';
|
|
228
|
+
field: string;
|
|
229
|
+
quantity: {
|
|
230
|
+
en: string;
|
|
231
|
+
it: string;
|
|
232
|
+
};
|
|
233
|
+
label: {
|
|
234
|
+
en: string;
|
|
235
|
+
it: string;
|
|
236
|
+
};
|
|
237
|
+
unit: string;
|
|
238
|
+
icon: "cloud-sun" | "droplets" | "gauge" | "thermometer" | "wind";
|
|
239
|
+
}, {
|
|
240
|
+
kind: 'numeric';
|
|
241
|
+
field: string;
|
|
242
|
+
quantity: {
|
|
243
|
+
en: string;
|
|
244
|
+
it: string;
|
|
245
|
+
};
|
|
246
|
+
label: {
|
|
247
|
+
en: string;
|
|
248
|
+
it: string;
|
|
249
|
+
};
|
|
250
|
+
unit: string;
|
|
251
|
+
icon: "cloud-sun" | "droplets" | "gauge" | "thermometer" | "wind";
|
|
252
|
+
}];
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
export type IWeatherStationProvider = InferProvider<typeof weatherStationCapability>;
|
package/dist/client.js
CHANGED
|
@@ -1194,6 +1194,9 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
|
1194
1194
|
/** Weather provider (HA `weather.*`). Tier-3, low MVP priority.
|
|
1195
1195
|
* `weather` cap. */
|
|
1196
1196
|
DeviceType["Weather"] = "weather";
|
|
1197
|
+
/** A physical weather station (Ecowitt outdoor array). `weather-station`
|
|
1198
|
+
* cap. Distinct from {@link Weather}, which is a forecast provider. */
|
|
1199
|
+
DeviceType["WeatherStation"] = "weather-station";
|
|
1197
1200
|
/** Robot vacuum (HA `vacuum.*`). Tier-3. `vacuum-control` cap. */
|
|
1198
1201
|
DeviceType["Vacuum"] = "vacuum";
|
|
1199
1202
|
/** Robotic lawn mower (HA `lawn_mower.*`). Tier-3.
|
|
@@ -27313,6 +27316,7 @@ var DEVICE_TYPE_ICON = {
|
|
|
27313
27316
|
[DeviceType.Control]: "sliders-horizontal",
|
|
27314
27317
|
[DeviceType.Presence]: "map-pin",
|
|
27315
27318
|
[DeviceType.Weather]: "cloud-sun",
|
|
27319
|
+
[DeviceType.WeatherStation]: "cloud-sun",
|
|
27316
27320
|
[DeviceType.Vacuum]: "bot",
|
|
27317
27321
|
[DeviceType.LawnMower]: "tractor",
|
|
27318
27322
|
[DeviceType.Container]: "box",
|
|
@@ -28088,6 +28092,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
28088
28092
|
getStatus: (input) => dispatch("water-heater", "waterHeater", "getStatus", "query", input)
|
|
28089
28093
|
};
|
|
28090
28094
|
const weatherInterface = { getStatus: (input) => dispatch("weather", "weather", "getStatus", "query", input) };
|
|
28095
|
+
const weatherStationInterface = { getStatus: (input) => dispatch("weather-station", "weatherStation", "getStatus", "query", input) };
|
|
28091
28096
|
const webrtcSessionInterface = {
|
|
28092
28097
|
listStreams: (input) => dispatch("webrtc-session", "webrtcSession", "listStreams", "query", input),
|
|
28093
28098
|
createSession: (input) => dispatch("webrtc-session", "webrtcSession", "createSession", "mutation", input),
|
|
@@ -28370,6 +28375,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
28370
28375
|
vibration: createSliceHandle(stateSource, binding.deviceId, "vibration"),
|
|
28371
28376
|
waterHeater: createSliceHandle(stateSource, binding.deviceId, "water-heater"),
|
|
28372
28377
|
weather: createSliceHandle(stateSource, binding.deviceId, "weather"),
|
|
28378
|
+
weatherStation: createSliceHandle(stateSource, binding.deviceId, "weather-station"),
|
|
28373
28379
|
zoneAnalytics: createSliceHandle(stateSource, binding.deviceId, "zone-analytics"),
|
|
28374
28380
|
zoneRules: createSliceHandle(stateSource, binding.deviceId, "zone-rules"),
|
|
28375
28381
|
zones: createSliceHandle(stateSource, binding.deviceId, "zones")
|
|
@@ -28475,6 +28481,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
28475
28481
|
...bound("videoclips") ? { videoclips: videoclipsInterface } : {},
|
|
28476
28482
|
...bound("water-heater") ? { waterHeater: waterHeaterInterface } : {},
|
|
28477
28483
|
...bound("weather") ? { weather: weatherInterface } : {},
|
|
28484
|
+
...bound("weather-station") ? { weatherStation: weatherStationInterface } : {},
|
|
28478
28485
|
...bound("webrtc-session") ? { webrtcSession: webrtcSessionInterface } : {},
|
|
28479
28486
|
...bound("zone-analytics") ? { zoneAnalytics: zoneAnalyticsInterface } : {},
|
|
28480
28487
|
...bound("zone-rules") ? { zoneRules: zoneRulesInterface } : {},
|
package/dist/client.mjs
CHANGED
|
@@ -1193,6 +1193,9 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
|
1193
1193
|
/** Weather provider (HA `weather.*`). Tier-3, low MVP priority.
|
|
1194
1194
|
* `weather` cap. */
|
|
1195
1195
|
DeviceType["Weather"] = "weather";
|
|
1196
|
+
/** A physical weather station (Ecowitt outdoor array). `weather-station`
|
|
1197
|
+
* cap. Distinct from {@link Weather}, which is a forecast provider. */
|
|
1198
|
+
DeviceType["WeatherStation"] = "weather-station";
|
|
1196
1199
|
/** Robot vacuum (HA `vacuum.*`). Tier-3. `vacuum-control` cap. */
|
|
1197
1200
|
DeviceType["Vacuum"] = "vacuum";
|
|
1198
1201
|
/** Robotic lawn mower (HA `lawn_mower.*`). Tier-3.
|
|
@@ -27312,6 +27315,7 @@ var DEVICE_TYPE_ICON = {
|
|
|
27312
27315
|
[DeviceType.Control]: "sliders-horizontal",
|
|
27313
27316
|
[DeviceType.Presence]: "map-pin",
|
|
27314
27317
|
[DeviceType.Weather]: "cloud-sun",
|
|
27318
|
+
[DeviceType.WeatherStation]: "cloud-sun",
|
|
27315
27319
|
[DeviceType.Vacuum]: "bot",
|
|
27316
27320
|
[DeviceType.LawnMower]: "tractor",
|
|
27317
27321
|
[DeviceType.Container]: "box",
|
|
@@ -28087,6 +28091,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
28087
28091
|
getStatus: (input) => dispatch("water-heater", "waterHeater", "getStatus", "query", input)
|
|
28088
28092
|
};
|
|
28089
28093
|
const weatherInterface = { getStatus: (input) => dispatch("weather", "weather", "getStatus", "query", input) };
|
|
28094
|
+
const weatherStationInterface = { getStatus: (input) => dispatch("weather-station", "weatherStation", "getStatus", "query", input) };
|
|
28090
28095
|
const webrtcSessionInterface = {
|
|
28091
28096
|
listStreams: (input) => dispatch("webrtc-session", "webrtcSession", "listStreams", "query", input),
|
|
28092
28097
|
createSession: (input) => dispatch("webrtc-session", "webrtcSession", "createSession", "mutation", input),
|
|
@@ -28369,6 +28374,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
28369
28374
|
vibration: createSliceHandle(stateSource, binding.deviceId, "vibration"),
|
|
28370
28375
|
waterHeater: createSliceHandle(stateSource, binding.deviceId, "water-heater"),
|
|
28371
28376
|
weather: createSliceHandle(stateSource, binding.deviceId, "weather"),
|
|
28377
|
+
weatherStation: createSliceHandle(stateSource, binding.deviceId, "weather-station"),
|
|
28372
28378
|
zoneAnalytics: createSliceHandle(stateSource, binding.deviceId, "zone-analytics"),
|
|
28373
28379
|
zoneRules: createSliceHandle(stateSource, binding.deviceId, "zone-rules"),
|
|
28374
28380
|
zones: createSliceHandle(stateSource, binding.deviceId, "zones")
|
|
@@ -28474,6 +28480,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
28474
28480
|
...bound("videoclips") ? { videoclips: videoclipsInterface } : {},
|
|
28475
28481
|
...bound("water-heater") ? { waterHeater: waterHeaterInterface } : {},
|
|
28476
28482
|
...bound("weather") ? { weather: weatherInterface } : {},
|
|
28483
|
+
...bound("weather-station") ? { weatherStation: weatherStationInterface } : {},
|
|
28477
28484
|
...bound("webrtc-session") ? { webrtcSession: webrtcSessionInterface } : {},
|
|
28478
28485
|
...bound("zone-analytics") ? { zoneAnalytics: zoneAnalyticsInterface } : {},
|
|
28479
28486
|
...bound("zone-rules") ? { zoneRules: zoneRulesInterface } : {},
|
|
@@ -82,6 +82,9 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
|
82
82
|
/** Weather provider (HA `weather.*`). Tier-3, low MVP priority.
|
|
83
83
|
* `weather` cap. */
|
|
84
84
|
DeviceType["Weather"] = "weather";
|
|
85
|
+
/** A physical weather station (Ecowitt outdoor array). `weather-station`
|
|
86
|
+
* cap. Distinct from {@link Weather}, which is a forecast provider. */
|
|
87
|
+
DeviceType["WeatherStation"] = "weather-station";
|
|
85
88
|
/** Robot vacuum (HA `vacuum.*`). Tier-3. `vacuum-control` cap. */
|
|
86
89
|
DeviceType["Vacuum"] = "vacuum";
|
|
87
90
|
/** Robotic lawn mower (HA `lawn_mower.*`). Tier-3.
|
|
@@ -82,6 +82,9 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
|
82
82
|
/** Weather provider (HA `weather.*`). Tier-3, low MVP priority.
|
|
83
83
|
* `weather` cap. */
|
|
84
84
|
DeviceType["Weather"] = "weather";
|
|
85
|
+
/** A physical weather station (Ecowitt outdoor array). `weather-station`
|
|
86
|
+
* cap. Distinct from {@link Weather}, which is a forecast provider. */
|
|
87
|
+
DeviceType["WeatherStation"] = "weather-station";
|
|
85
88
|
/** Robot vacuum (HA `vacuum.*`). Tier-3. `vacuum-control` cap. */
|
|
86
89
|
DeviceType["Vacuum"] = "vacuum";
|
|
87
90
|
/** Robotic lawn mower (HA `lawn_mower.*`). Tier-3.
|
|
@@ -42,6 +42,7 @@ export declare const DEVICE_TYPE_ICON: {
|
|
|
42
42
|
readonly control: 'sliders-horizontal';
|
|
43
43
|
readonly presence: 'map-pin';
|
|
44
44
|
readonly weather: 'cloud-sun';
|
|
45
|
+
readonly "weather-station": 'cloud-sun';
|
|
45
46
|
readonly vacuum: 'bot';
|
|
46
47
|
readonly "lawn-mower": 'tractor';
|
|
47
48
|
readonly container: 'box';
|
|
@@ -69,6 +69,9 @@ export declare enum DeviceType {
|
|
|
69
69
|
/** Weather provider (HA `weather.*`). Tier-3, low MVP priority.
|
|
70
70
|
* `weather` cap. */
|
|
71
71
|
Weather = "weather",
|
|
72
|
+
/** A physical weather station (Ecowitt outdoor array). `weather-station`
|
|
73
|
+
* cap. Distinct from {@link Weather}, which is a forecast provider. */
|
|
74
|
+
WeatherStation = "weather-station",
|
|
72
75
|
/** Robot vacuum (HA `vacuum.*`). Tier-3. `vacuum-control` cap. */
|
|
73
76
|
Vacuum = "vacuum",
|
|
74
77
|
/** Robotic lawn mower (HA `lawn_mower.*`). Tier-3.
|
|
@@ -31,6 +31,7 @@ export declare const HERO_LAYOUT_BY_TYPE: {
|
|
|
31
31
|
readonly control: HeroLayout;
|
|
32
32
|
readonly presence: HeroLayout;
|
|
33
33
|
readonly weather: HeroLayout;
|
|
34
|
+
readonly "weather-station": HeroLayout;
|
|
34
35
|
readonly vacuum: HeroLayout;
|
|
35
36
|
readonly "lawn-mower": HeroLayout;
|
|
36
37
|
readonly container: HeroLayout;
|