This repository has been archived by the owner on Feb 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enhancement: handle more mac address input formats
- Loading branch information
Showing
5 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ Here is a sample config (you can view [config.sample.json](./config.sample.json) | |
"name": "Bathroom scale", | ||
"email": "[email protected]", | ||
"password": "myWithingsPassword", | ||
"mac": "0ab2c3d4e5f6", // Do not add separators | ||
"mac": "0a:b2:c3:d4:e5:f6", | ||
"levels": [ | ||
350, // Excellent | ||
1000, // Good | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
"name": "Bathroom scale", | ||
"email": "[email protected]", | ||
"password": "myWithingsPassword", | ||
"mac": "0ab2c3d4e5f6", | ||
"mac": "0a:b2:c3:d4:e5:f6", | ||
"levels": [350, 1000, 2500, 5000] | ||
} | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters