Skip to content

Commit

Permalink
style(accessories): simplify heartbeat
Browse files Browse the repository at this point in the history
  • Loading branch information
johannrichard committed Nov 29, 2020
1 parent 1674844 commit 6765fdb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/lib/dingzDaBaseAccessory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,7 @@ export class DingzDaBaseAccessory {
this.reachabilityState === null
? chalk.green('ALIVE')
: chalk.yellow('DEAD');
this.log.info(
`-> REQUEST_STATE_UPDATE (${this.device.address})`,
heartbeat,
);
this.log.info(heartbeat, `(${this.device.address})`);
this.getDeviceStateUpdate()
.then(() => {
// The device update was successful
Expand Down

0 comments on commit 6765fdb

Please sign in to comment.