Skip to content

Commit

Permalink
homekit: fixup exports, publish
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Jan 24, 2025
1 parent 0873a72 commit 8e31b5f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions plugins/homekit/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/homekit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scrypted/homekit",
"version": "1.2.62",
"version": "1.2.63",
"description": "HomeKit Plugin for Scrypted",
"scripts": {
"scrypted-setup-project": "scrypted-setup-project",
Expand Down
4 changes: 2 additions & 2 deletions plugins/homekit/src/types/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ function commonHumidifierDehumidifier(mode: HumidityMode, subtype: string, name:
return service;
}

export function addHumidifier(device: ScryptedDevice & HumiditySetting & HumiditySensor, accessory: Accessory): Service {
function addHumidifier(device: ScryptedDevice & HumiditySetting & HumiditySensor, accessory: Accessory): Service {
var service = commonHumidifierDehumidifier(HumidityMode.Humidify, "humidifier", device.name + " Humidifier", device, accessory);

bindCharacteristic(device, ScryptedInterface.HumiditySetting, service, Characteristic.RelativeHumidityHumidifierThreshold,
Expand All @@ -204,7 +204,7 @@ export function addHumidifier(device: ScryptedDevice & HumiditySetting & Humidit
return service;
}

export function addDehumidifer(device: ScryptedDevice & HumiditySetting & HumiditySensor, accessory: Accessory): Service {
function addDehumidifer(device: ScryptedDevice & HumiditySetting & HumiditySensor, accessory: Accessory): Service {
var service = commonHumidifierDehumidifier(HumidityMode.Dehumidify, "dehumidifier", device.name + " Dehumidifier", device, accessory);

bindCharacteristic(device, ScryptedInterface.HumiditySetting, service, Characteristic.RelativeHumidityDehumidifierThreshold,
Expand Down

0 comments on commit 8e31b5f

Please sign in to comment.