function togglePower() {
  let message = '{"id":1,"method":"toggle","params":[]}'
  rtm({
    type: 'request',
    message: message
  });
}
// toggles the power of the lightbulb when called
toggles the power of the lightbulb when called
toggles the power of the lightbulb when called
function togglePower() {
  let message = '{"id":1,"method":"toggle","params":[]}'
  rtm({
    type: 'request',
    message: message
  });
}
function togglePower ( ) { let message = '{"id":1,"method":"toggle","params":[]}' rtm ( { type : 'request' , message : message } ) ; }
toggles the power of the lightbulb when called
toggles the power of the lightbulb when called