Skip to content

Commit

Permalink
remove lowercase from serial
Browse files Browse the repository at this point in the history
  • Loading branch information
nitaybz committed Nov 8, 2020
1 parent 083ef6d commit 327d299
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/accessory.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class OccupancySensor {
this.ip = config.ip
this.name = config.name
this.model = 'ARP-network-scanner'
this.serial = this.mac.toLowerCase() || this.ip
this.serial = this.mac || this.ip
this.manufacturer = '@nitaybz'
this.displayName = this.name

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "homebridge-network-presence",
"version": "0.0.5",
"version": "0.0.6",
"description": "Homebridge plugin that provides occupancy sensor for devices presence in your network",
"main": "index.js",
"keywords": [
Expand Down

0 comments on commit 327d299

Please sign in to comment.