Closed leeliu closed 2 years ago
What if we did this instead:
so something like this:
const settings = brightness === 0
? { BinaryState: 0 }
: { brightnes }
await this.soapAction('urn:Belkin:service:basicevent:1', 'SetBinaryState', settings)
Yup I think that works...updated PR
Similar to wemo app functionality. This allows for resetting of daytime brightness levels programmatically w/o turning on lights.