import Em from 'ember';

export default Em.Component.extend({
  classNames: ['container-fluid'],
  bridgeIp: null,

  bridgeUsername: null,

  trial: false,

  init: function(){
    this._super();

    if(localStorage.getItem('huegasm.bridgeIp')){
      this.set('bridgeIp', localStorage.getItem('huegasm.bridgeIp'));
    }

    if(localStorage.getItem('huegasm.bridgeUsername')){
      this.set('bridgeUsername', localStorage.getItem('huegasm.bridgeUsername'));
    }
  }
});
