awtrix-ts 1.2.0 → 1.2.1

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.
Files changed (2) hide show
  1. package/README.md +5 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -154,7 +154,11 @@ await awtrix.clearIndicator(awtrix.Indicators.UpperRight);
154
154
  Set moodlight color or temperature.
155
155
 
156
156
  ```typescript
157
- await awtrix.moodlight({ r: 255, g: 255, b: 255 });
157
+ await awtrix.moodlight({ brightness: 170, kelvin: 2300 });
158
+ ```
159
+
160
+ ```typescript
161
+ await awtrix.moodlight({ brightness: 170, color: '#FF00FF' });
158
162
  ```
159
163
 
160
164
  #### clearMoodlight()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "awtrix-ts",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "TypeScript API for Awtrix LED Matrix Display",
5
5
  "repository": {
6
6
  "type": "git",