@switchbot/homebridge-switchbot 2.2.2-beta.5 → 2.2.2-beta.6

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.
@@ -947,7 +947,7 @@ class StripLight {
947
947
  else {
948
948
  this.Brightness = this.accessory.context.Brightness;
949
949
  }
950
- if (this.Brightness === undefined) {
950
+ if (this.Saturation === undefined) {
951
951
  this.Saturation = 0;
952
952
  }
953
953
  else {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "Homebridge SwitchBot",
3
3
  "name": "@switchbot/homebridge-switchbot",
4
- "version": "2.2.2-beta.5",
4
+ "version": "2.2.2-beta.6",
5
5
  "description": "The [Homebridge](https://homebridge.io) SwitchBot plugin allows you to access your [SwitchBot](https://www.switch-bot.com) device(s) from HomeKit.",
6
6
  "author": "SwitchBot <support@wondertechlabs.com> (https://github.com/SwitchBot)",
7
7
  "license": "ISC",
@@ -1025,7 +1025,7 @@ export class StripLight {
1025
1025
  } else {
1026
1026
  this.Brightness = this.accessory.context.Brightness;
1027
1027
  }
1028
- if (this.Brightness === undefined) {
1028
+ if (this.Saturation === undefined) {
1029
1029
  this.Saturation = 0;
1030
1030
  } else {
1031
1031
  this.Saturation = this.accessory.context.Saturation;