@ray-js/lamp-schedule-core 1.0.1-beta-7 → 1.0.1-beta-9

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.
@@ -20,7 +20,7 @@ export const updateDeviceDp = (devId, groupId, dps) => {
20
20
  if (groupId) {
21
21
  publishGroupDps(_objectSpread(_objectSpread({}, DEFAULT_OPTIONS), {}, {
22
22
  groupId,
23
- dpCodes: dps,
23
+ dps,
24
24
  success: () => {
25
25
  ScheduleLogger.debug('publishGroupDps dp success', dps);
26
26
  },
@@ -32,6 +32,7 @@ export const updateDeviceDp = (devId, groupId, dps) => {
32
32
  }
33
33
  ScheduleLogger.debug('updateDeviceDp publishDps dps:', dps);
34
34
  publishDps(_objectSpread(_objectSpread({}, DEFAULT_OPTIONS), {}, {
35
+ dps,
35
36
  deviceId: devId,
36
37
  success: () => {
37
38
  ScheduleLogger.debug('publishDps dp success', dps);
@@ -68,4 +68,4 @@ export class ScheduleLogger {
68
68
  }
69
69
  }
70
70
  export const scheduleLogger = new ScheduleLogger();
71
- scheduleLogger.setLogLevel(LogLevel.DEBUG);
71
+ scheduleLogger.setLogLevel(LogLevel.WARN);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/lamp-schedule-core",
3
- "version": "1.0.1-beta-7",
3
+ "version": "1.0.1-beta-9",
4
4
  "description": "照明计划模块核心能力",
5
5
  "main": "./lib/index.js",
6
6
  "files": [