node-switchbot
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -5,2 +5,10 @@ # Changelog | ||
## [3.2.1](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v3.2.1) (2024-10-21) | ||
### What's Changed | ||
- Add more Meter Pro types | ||
- Housekeeping and update dependencies | ||
**Full Changelog**: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.2.0...v3.2.1 | ||
## [3.2.0](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v3.2.0) (2024-10-21) | ||
@@ -11,2 +19,3 @@ | ||
- Fix Noble import issue | ||
- Housekeeping and update dependencies | ||
@@ -13,0 +22,0 @@ **Full Changelog**: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.1.1...v3.2.0 |
@@ -30,2 +30,3 @@ export interface deviceList { | ||
export type meterPlus = device & {}; | ||
export type meterPro = device & {}; | ||
export type outdoorMeter = device & {}; | ||
@@ -32,0 +33,0 @@ export type lock = device & { |
@@ -36,2 +36,7 @@ import type { device } from './devicelist.js'; | ||
}; | ||
export type meterProStatus = deviceStatus & { | ||
temperature: number; | ||
battery: number; | ||
humidity: number; | ||
}; | ||
export type outdoorMeterStatus = deviceStatus & { | ||
@@ -38,0 +43,0 @@ battery: number; |
@@ -84,2 +84,7 @@ export interface webhookRequest { | ||
}; | ||
export type meterProWebhookContext = deviceWebhookContext & { | ||
temperature: number; | ||
scale: 'CELSIUS' | 'FAHRENHEIT'; | ||
humidity: number; | ||
}; | ||
export type outdoorMeterWebhookContext = deviceWebhookContext & { | ||
@@ -86,0 +91,0 @@ temperature: number; |
@@ -17,2 +17,3 @@ import type { Buffer } from 'node:buffer'; | ||
MeterPlus: DeviceInfo; | ||
MeterPro: DeviceInfo; | ||
Hub2: DeviceInfo; | ||
@@ -19,0 +20,0 @@ OutdoorMeter: DeviceInfo; |
{ | ||
"name": "node-switchbot", | ||
"type": "module", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "The node-switchbot is a Node.js module which allows you to control your Switchbot Devices through Bluetooth (BLE).", | ||
@@ -6,0 +6,0 @@ "author": "OpenWonderLabs (https://github.com/OpenWonderLabs)", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3112510
9023