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.
- package/README.md +5 -1
- 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({
|
|
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()
|