diff --git a/index.js b/index.js
index 3bce2a2b15b05f0bb15efc69b8a60b8d34325473..c0e3d73f3303c79deb3c648717024d5b11b3195f 100644
--- a/index.js
+++ b/index.js
@@ -34,8 +34,8 @@ function buttonActivated( mac ) {
     var req = {
         url: homeAssistantUrl + 'states/' + config.home_assistant_alarm_entity_id,
         headers: {
-            "Content-Type": "application/json",
-            "x-ha-access": config.home_assistant_pass
+            'Content-Type': 'application/json',
+            'x-ha-access': config.home_assistant_pass
         }
     };
 
@@ -69,8 +69,11 @@ function buttonActivated( mac ) {
 
         // Build new request to update state
         req.method = 'POST';
-        req.body   = JSON.stringify( { "entity_id": config.home_assistant_alarm_entity_id } );
+        req.body   = JSON.stringify( {
+            'entity_id': config.home_assistant_alarm_entity_id
+        } );
 
+        // Make request to change alarm status
         request( req, function( err, res, body ) {
             // Handle error states
             if ( err ) {