Skip to content

Commit

Permalink
Merge pull request #243 from ckhmer1/bug_fix
Browse files Browse the repository at this point in the history
ScheduleGetState
  • Loading branch information
Caprico85 authored Jan 25, 2022
2 parents 5ee9ae1 + c2e4009 commit 0e00056
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion devices/baseDevice.js
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ class BaseDevice {
swVersion: '1.0',
hwVersion: '1.0'
},
otherDeviceIds: [{deviceId: client.id}],
otherDeviceIds: [{ deviceId: client.id }],
customData: this.clientConn.app.getCustomData()
}
};
Expand Down Expand Up @@ -2073,6 +2073,9 @@ class BaseDevice {
const modified = me.updateState(params || states, me.states, me.state_types);
if (modified) {
this.cloneObject(states, me.states, me.state_types);
//if (me.persistent_state) {
me.clientConn.app.ScheduleGetState();
//}
}

this.updateStatusIcon(is_local);
Expand Down

0 comments on commit 0e00056

Please sign in to comment.