Skip to content

Commit

Permalink
Fix for "host" support
Browse files Browse the repository at this point in the history
  • Loading branch information
lprhodes committed Mar 14, 2018
1 parent c703f52 commit 4e9c82e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions helpers/getDevice.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ const getDevice = ({ host, log, learnOnly }) => {
device = discoveredDevices[host];

// Create manual device
if (!device && !manualDevices[address]) {
const device = { host: { address } };
manualDevices[address] = device;
if (!device && !manualDevices[host]) {
const device = { host: { address: host } };
manualDevices[host] = device;

startPing(device)
}
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-broadlink-rm",
"version": "3.0.1",
"version": "3.0.2",
"description": "Broadlink RM plugin (including the mini and pro) for homebridge: https://github.com/nfarina/homebridge",
"license": "ISC",
"keywords": [
Expand Down

0 comments on commit 4e9c82e

Please sign in to comment.