Skip to content
Snippets Groups Projects
Verified Commit 22b34ba6 authored by Erick Hitter's avatar Erick Hitter
Browse files

Remove or disable Dash-specific bits

parent 193e0259
Branches
Tags
No related merge requests found
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* LIBRARIES * LIBRARIES
*/ */
var dashButton = require( 'node-dash-button' );
var request = require( 'request' ); var request = require( 'request' );
/** /**
...@@ -16,9 +16,9 @@ var config = require( './config.json' ); ...@@ -16,9 +16,9 @@ var config = require( './config.json' );
Object.keys( config.buttons ).forEach( function( index ) { Object.keys( config.buttons ).forEach( function( index ) {
var buttonConfig = config.buttons[index]; var buttonConfig = config.buttons[index];
var button = dashButton( buttonConfig.mac, config.arp_interface ); // var button = dashButton( buttonConfig.mac, config.arp_interface );
button.on( 'detected', buttonActivated ); // button.on( 'detected', buttonActivated );
} ); } );
var homeAssistantApiBase = config.home_assistant_proto + '://' + config.home_assistant_host + ':' + config.home_assistant_port + '/api/'; var homeAssistantApiBase = config.home_assistant_proto + '://' + config.home_assistant_host + ':' + config.home_assistant_port + '/api/';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment