Skip to content

Commit

Permalink
Handle unknown LIFX devices
Browse files Browse the repository at this point in the history
  • Loading branch information
LordTocs committed Dec 4, 2023
1 parent 74b07d6 commit 065e7f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/castmate/src/main/plugins/lifx.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class LIFXBulb extends Light {
name: initialState.label,
plugin: "lifx",
type: "bulb",
rgb: { available: hardwareInfo.productFeatures.color },
rgb: { available: hardwareInfo.productFeatures?.color ?? true },
kelvin: { available: true, min: 2500, max: 9000 },
dimming: { available: true },
}
Expand Down

0 comments on commit 065e7f2

Please sign in to comment.