def store_state
      response = get
      success = !!(response.body =~ %r(state))
      data = JSON.parse(response.body) if success
      @state = data.fetch('state')
      delete_forbidden_stats
      success
    end
def store_state
      response = get
      success = !!(response.body =~ %r(state))
      data = JSON.parse(response.body) if success
      @state = data.fetch('state')
      delete_forbidden_stats
      success
    end
Stores the current state of the lightbulp.
 @return [Boolean] success of the operation