Skip to content

Commit 22686da

Browse files
Update device.ts
1 parent a86f886 commit 22686da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/device.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,10 @@ export class Device {
269269
* @note it is possible that the updated value doesn't match
270270
* the value passed in.
271271
*/
272-
setProperty(propertyName: string, value: Any): Promise<Any> {
272+
setProperty(propertyName: string, value: Any, meta: Any): Promise<Any> {
273273
const property = this.findProperty(propertyName);
274274
if (property) {
275-
return property.setValue(value);
275+
return property.setValue(value, meta);
276276
}
277277

278278
return Promise.reject(`Property "${propertyName}" not found`);

0 commit comments

Comments
 (0)