Skip to content

Commit

Permalink
Add some noisy logging for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Neeraj Baid committed Feb 13, 2023
1 parent 4ed2152 commit 7f98cf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/accessory-light.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ module.exports = async (hap, accessory, el, address, eoj) => {
const service = accessory.getService(hap.Service.Lightbulb) ||
accessory.addService(hap.Service.Lightbulb)
const propertyValue = (await el.getPropertyValue(address, eoj, 0x80))
// console.log("Log1")
// console.log(propertyValue.message)
console.log("Log1")
console.log(propertyValue.message.data)
let {status} = propertyValue.message.data
service.updateCharacteristic(hap.Characteristic.On, status)

Expand Down

0 comments on commit 7f98cf4

Please sign in to comment.