@riddix/hamh 2.1.0-alpha.703 → 2.1.0-alpha.705
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/backend/cli.js
CHANGED
|
@@ -126210,6 +126210,7 @@ function entityMappingApi(mappingStorage) {
|
|
|
126210
126210
|
disableClimateOnOff: body.disableClimateOnOff,
|
|
126211
126211
|
disableClimateFanControl: body.disableClimateFanControl,
|
|
126212
126212
|
climateKeepModeOnIdle: body.climateKeepModeOnIdle,
|
|
126213
|
+
climateExposeFan: body.climateExposeFan,
|
|
126213
126214
|
composedEntities: body.composedEntities
|
|
126214
126215
|
};
|
|
126215
126216
|
const config11 = await mappingStorage.setMapping(request);
|
|
@@ -126676,7 +126677,8 @@ function configToProfileEntry(config11) {
|
|
|
126676
126677
|
coverSliderDebounceMs: config11.coverSliderDebounceMs,
|
|
126677
126678
|
disableClimateOnOff: config11.disableClimateOnOff,
|
|
126678
126679
|
disableClimateFanControl: config11.disableClimateFanControl,
|
|
126679
|
-
climateKeepModeOnIdle: config11.climateKeepModeOnIdle
|
|
126680
|
+
climateKeepModeOnIdle: config11.climateKeepModeOnIdle,
|
|
126681
|
+
climateExposeFan: config11.climateExposeFan
|
|
126680
126682
|
};
|
|
126681
126683
|
}
|
|
126682
126684
|
function mappingProfileApi(mappingStorage) {
|
|
@@ -126801,7 +126803,8 @@ function mappingProfileApi(mappingStorage) {
|
|
|
126801
126803
|
coverSliderDebounceMs: entry.coverSliderDebounceMs,
|
|
126802
126804
|
disableClimateOnOff: entry.disableClimateOnOff,
|
|
126803
126805
|
disableClimateFanControl: entry.disableClimateFanControl,
|
|
126804
|
-
climateKeepModeOnIdle: entry.climateKeepModeOnIdle
|
|
126806
|
+
climateKeepModeOnIdle: entry.climateKeepModeOnIdle,
|
|
126807
|
+
climateExposeFan: entry.climateExposeFan
|
|
126805
126808
|
});
|
|
126806
126809
|
applied++;
|
|
126807
126810
|
} catch (e) {
|
|
@@ -130737,9 +130740,10 @@ var EntityMappingStorage = class extends Service {
|
|
|
130737
130740
|
disableClimateOnOff: request.disableClimateOnOff || void 0,
|
|
130738
130741
|
disableClimateFanControl: request.disableClimateFanControl || void 0,
|
|
130739
130742
|
climateKeepModeOnIdle: request.climateKeepModeOnIdle || void 0,
|
|
130743
|
+
climateExposeFan: request.climateExposeFan || void 0,
|
|
130740
130744
|
composedEntities: request.composedEntities?.filter((e) => e.entityId?.trim()) ?? void 0
|
|
130741
130745
|
};
|
|
130742
|
-
if (!config11.matterDeviceType && !config11.customName && !config11.customProductName && !config11.customVendorName && !config11.customSerialNumber && config11.customVendorId === void 0 && config11.disabled !== true && !config11.filterLifeEntity && !config11.cleaningModeEntity && !config11.temperatureEntity && !config11.humidityEntity && !config11.batteryEntity && !config11.roomEntities && !config11.disableLockPin && !config11.powerEntity && !config11.energyEntity && !config11.pressureEntity && !config11.suctionLevelEntity && !config11.mopIntensityEntity && (!config11.customServiceAreas || config11.customServiceAreas.length === 0) && (!config11.customFanSpeedTags || Object.keys(config11.customFanSpeedTags).length === 0) && !config11.currentRoomEntity && !config11.valetudoIdentifier && !config11.coverSwapOpenClose && !config11.coverSliderDebounceMs && !config11.disableClimateOnOff && !config11.disableClimateFanControl && !config11.climateKeepModeOnIdle && (!config11.composedEntities || config11.composedEntities.length === 0)) {
|
|
130746
|
+
if (!config11.matterDeviceType && !config11.customName && !config11.customProductName && !config11.customVendorName && !config11.customSerialNumber && config11.customVendorId === void 0 && config11.disabled !== true && !config11.filterLifeEntity && !config11.cleaningModeEntity && !config11.temperatureEntity && !config11.humidityEntity && !config11.batteryEntity && !config11.roomEntities && !config11.disableLockPin && !config11.powerEntity && !config11.energyEntity && !config11.pressureEntity && !config11.suctionLevelEntity && !config11.mopIntensityEntity && (!config11.customServiceAreas || config11.customServiceAreas.length === 0) && (!config11.customFanSpeedTags || Object.keys(config11.customFanSpeedTags).length === 0) && !config11.currentRoomEntity && !config11.valetudoIdentifier && !config11.coverSwapOpenClose && !config11.coverSliderDebounceMs && !config11.disableClimateOnOff && !config11.disableClimateFanControl && !config11.climateKeepModeOnIdle && !config11.climateExposeFan && (!config11.composedEntities || config11.composedEntities.length === 0)) {
|
|
130743
130747
|
bridgeMap.delete(request.entityId);
|
|
130744
130748
|
} else {
|
|
130745
130749
|
bridgeMap.set(request.entityId, config11);
|