homebridge-yoto 0.0.34 → 0.0.35

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.
Files changed (2) hide show
  1. package/lib/platform.js +3 -1
  2. package/package.json +1 -1
package/lib/platform.js CHANGED
@@ -204,7 +204,9 @@ export class YotoPlatform {
204
204
  })
205
205
 
206
206
  this.yotoAccount.on('mqttConnect', ({ deviceId }) => {
207
- this.log.info(`Device connected: ${deviceId}`)
207
+ const deviceName = this.yotoAccount?.getDevice(deviceId)?.device?.name
208
+ const label = deviceName ? `${deviceName} (${deviceId})` : deviceId
209
+ this.log.debug(`MQTT connected: ${label}`)
208
210
  })
209
211
 
210
212
  this.yotoAccount.on('mqttDisconnect', ({ deviceId, metadata }) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "homebridge-yoto",
3
3
  "description": "Control your Yoto players through Apple HomeKit with real-time MQTT updates",
4
- "version": "0.0.34",
4
+ "version": "0.0.35",
5
5
  "author": "Bret Comnes <bcomnes@gmail.com> (https://bret.io)",
6
6
  "bugs": {
7
7
  "url": "https://github.com/bcomnes/homebridge-yoto/issues"